Skip to content

[Merged by Bors] - chore: ensure Ring/Defs doesn't depend on Group/Basic#6956

Closed
kim-em wants to merge 4 commits intomasterfrom
ring_defs
Closed

[Merged by Bors] - chore: ensure Ring/Defs doesn't depend on Group/Basic#6956
kim-em wants to merge 4 commits intomasterfrom
ring_defs

Conversation

@kim-em
Copy link
Copy Markdown
Contributor

@kim-em kim-em commented Sep 5, 2023

In the basic algebraic hierarchy, the Defs files should ideally only depend on earlier Defs files, importing as little theory as possible.

This PR makes some rearrangements so Ring.Defs can depend on Group.Defs rather than requiring Group.Basic.


Open in Gitpod

@kim-em kim-em added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Sep 5, 2023
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Sep 5, 2023
@alexjbest
Copy link
Copy Markdown
Member

Maybe we can add an assert_not_exists call to ensure this doesn't regress?

bors bot pushed a commit that referenced this pull request Sep 5, 2023
This continues reducing the import requirements for the basic algebraic hierarchy.

In combination with #6954 #6955 #6956 #6957, this reduces the imports for `Mathlib.Algebra.Field.Defs` from

* [before.pdf](https://github.com/leanprover-community/mathlib4/files/12518547/before.pdf)
* [after.pdf](https://github.com/leanprover-community/mathlib4/files/12518546/after.pdf)




Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@kim-em
Copy link
Copy Markdown
Contributor Author

kim-em commented Sep 6, 2023

Good idea: done!

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Sep 6, 2023
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Sep 6, 2023
@jcommelin
Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Sep 6, 2023
bors bot pushed a commit that referenced this pull request Sep 6, 2023
In the basic algebraic hierarchy, the `Defs` files should ideally only depend on earlier `Defs` files, importing as little theory as possible.

This PR makes some rearrangements so `Ring.Defs` can depend on `Group.Defs` rather than requiring `Group.Basic`.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link
Copy Markdown

bors bot commented Sep 6, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title chore: ensure Ring/Defs doesn't depend on Group/Basic [Merged by Bors] - chore: ensure Ring/Defs doesn't depend on Group/Basic Sep 6, 2023
@bors bors bot closed this Sep 6, 2023
@bors bors bot deleted the ring_defs branch September 6, 2023 06:13
ebab pushed a commit that referenced this pull request Sep 6, 2023
This continues reducing the import requirements for the basic algebraic hierarchy.

In combination with #6954 #6955 #6956 #6957, this reduces the imports for `Mathlib.Algebra.Field.Defs` from

* [before.pdf](https://github.com/leanprover-community/mathlib4/files/12518547/before.pdf)
* [after.pdf](https://github.com/leanprover-community/mathlib4/files/12518546/after.pdf)




Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
ebab pushed a commit that referenced this pull request Sep 11, 2023
In the basic algebraic hierarchy, the `Defs` files should ideally only depend on earlier `Defs` files, importing as little theory as possible.

This PR makes some rearrangements so `Ring.Defs` can depend on `Group.Defs` rather than requiring `Group.Basic`.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
kodyvajjha pushed a commit that referenced this pull request Sep 22, 2023
This continues reducing the import requirements for the basic algebraic hierarchy.

In combination with #6954 #6955 #6956 #6957, this reduces the imports for `Mathlib.Algebra.Field.Defs` from

* [before.pdf](https://github.com/leanprover-community/mathlib4/files/12518547/before.pdf)
* [after.pdf](https://github.com/leanprover-community/mathlib4/files/12518546/after.pdf)




Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
kodyvajjha pushed a commit that referenced this pull request Sep 22, 2023
In the basic algebraic hierarchy, the `Defs` files should ideally only depend on earlier `Defs` files, importing as little theory as possible.

This PR makes some rearrangements so `Ring.Defs` can depend on `Group.Defs` rather than requiring `Group.Basic`.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants