Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - chore: reduce imports of Data.List.Defs #8635

Closed
wants to merge 7 commits into from

Conversation

semorrison
Copy link
Contributor

@semorrison semorrison commented Nov 27, 2023

Currently Data.List.Defs depends on Algebra.Group.Defs, rather unnecessarily.

(This then prevents importing Data.List.Defs into Tactic.Common, without breaking various assert_not_exists statements.)


Open in Gitpod

@semorrison semorrison added the awaiting-review The author would like community review of the PR label Nov 27, 2023
semorrison and others added 3 commits November 29, 2023 11:46
Co-authored-by: thorimur <68410468+thorimur@users.noreply.github.com>
* was inferring `Nat` as arguments for `R`
* note that `[Monoid M]`/`[Monoid N]` are variables
@thorimur
Copy link
Collaborator

Pushed a couple small fixes (test imports + type signature—a win for the unused variables linter!); if it builds, then LGTM :)

Copy link
Contributor

@sgouezel sgouezel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors d+
Thanks!


-/

set_option autoImplicit true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you just remove this line and add the missing type declaration for alpha below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. It still makes me sad. :-)

@mathlib-bors
Copy link

mathlib-bors bot commented Dec 2, 2023

✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Dec 2, 2023
@semorrison
Copy link
Contributor Author

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Dec 10, 2023
mathlib-bors bot pushed a commit that referenced this pull request Dec 10, 2023
Currently `Data.List.Defs` depends on `Algebra.Group.Defs`, rather unnecessarily.

(This then prevents importing `Data.List.Defs` into `Tactic.Common`, without breaking various `assert_not_exists` statements.)



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: thorimur <68410468+thorimur@users.noreply.github.com>
@mathlib-bors
Copy link

mathlib-bors bot commented Dec 10, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: reduce imports of Data.List.Defs [Merged by Bors] - chore: reduce imports of Data.List.Defs Dec 10, 2023
@mathlib-bors mathlib-bors bot closed this Dec 10, 2023
@mathlib-bors mathlib-bors bot deleted the data_list_defs branch December 10, 2023 23:56
awueth pushed a commit that referenced this pull request Dec 19, 2023
Currently `Data.List.Defs` depends on `Algebra.Group.Defs`, rather unnecessarily.

(This then prevents importing `Data.List.Defs` into `Tactic.Common`, without breaking various `assert_not_exists` statements.)



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: thorimur <68410468+thorimur@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants