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: add some Unique instances #8500

Closed
wants to merge 35 commits into from

Conversation

alreadydone
Copy link
Contributor

@alreadydone alreadydone commented Nov 18, 2023

The aim is to remove some extraneous Nonempty assumptions in Algebra/DirectLimit.


Open in Gitpod

jjaassoonn and others added 19 commits November 17, 2023 12:50
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
@alreadydone alreadydone added awaiting-CI t-algebra Algebra (groups, rings, fields etc) labels Nov 18, 2023
@alreadydone
Copy link
Contributor Author

!bench

@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit a9807db.
The entire run failed.
Found no significant differences.

Mathlib.lean Outdated Show resolved Hide resolved
@alreadydone alreadydone changed the title experiment: add some Unique instances chore: add some Unique instances Nov 20, 2023
@alreadydone alreadydone added the awaiting-review The author would like community review of the PR label Nov 20, 2023
@alreadydone
Copy link
Contributor Author

Because Logic/Unique's dependency is lighter after #8510, I now import it into Data/Quot in favor of easier constructions of the Unique instances using the Subsingleton and Inhabited instances there.

@alreadydone alreadydone removed the t-algebra Algebra (groups, rings, fields etc) label Nov 20, 2023
Copy link
Member

@eric-wieser eric-wieser 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!

Mathlib/Algebra/DirectLimit.lean Outdated Show resolved Hide resolved
Mathlib/SetTheory/Cardinal/Ordinal.lean Show resolved Hide resolved
@mathlib-bors
Copy link

mathlib-bors bot commented Nov 20, 2023

✌️ alreadydone 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 Nov 20, 2023
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@alreadydone
Copy link
Contributor Author

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Nov 20, 2023
The aim is to remove some extraneous Nonempty assumptions in Algebra/DirectLimit.



Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Jujian Zhang <jujian.zhang1998@outlook.com>
@mathlib-bors
Copy link

mathlib-bors bot commented Nov 20, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: add some Unique instances [Merged by Bors] - chore: add some Unique instances Nov 20, 2023
@mathlib-bors mathlib-bors bot closed this Nov 20, 2023
@mathlib-bors mathlib-bors bot deleted the IsEmptyUnique_instances branch November 20, 2023 20:19
alexkeizer pushed a commit that referenced this pull request Nov 21, 2023
The aim is to remove some extraneous Nonempty assumptions in Algebra/DirectLimit.



Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Jujian Zhang <jujian.zhang1998@outlook.com>
grunweg pushed a commit that referenced this pull request Dec 15, 2023
The aim is to remove some extraneous Nonempty assumptions in Algebra/DirectLimit.



Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Jujian Zhang <jujian.zhang1998@outlook.com>
awueth pushed a commit that referenced this pull request Dec 19, 2023
The aim is to remove some extraneous Nonempty assumptions in Algebra/DirectLimit.



Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Co-authored-by: Jujian Zhang <jujian.zhang1998@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants