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] - refactor(logic/equiv/basic): tweak lemmas on equivalences between unique types #14605

Closed
wants to merge 12 commits into from

Conversation

vihdzp
Copy link
Collaborator

@vihdzp vihdzp commented Jun 7, 2022

This PR does various simple and highly related things:


I believe the lemmas for ring equivalences between unique rings should be renamed too, but I haven't done this in this PR.

Open in Gitpod

@vihdzp vihdzp added the awaiting-review The author would like community review of the PR label Jun 7, 2022
@vihdzp vihdzp changed the title refactor(logic/equiv/basic): rename equiv_of_unique_of_unique to unique_equiv_unique refactor(logic/equiv/basic): tweak lemmas on equivalences between unique types Jun 7, 2022
@vihdzp vihdzp added the awaiting-CI The author would like to see what CI has to say before doing more work. label Jun 8, 2022
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Jun 8, 2022
@eric-wieser eric-wieser added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 8, 2022
@eric-wieser
Copy link
Member

I'm marking this as blocked by #14604, since the consistency arguments seem to assume that one is already merged.

@mathlib-dependent-issues-bot mathlib-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 9, 2022
@mathlib-dependent-issues-bot
Copy link
Collaborator

@eric-wieser
Copy link
Member

bors merge

Thanks!

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Jun 10, 2022
bors bot pushed a commit that referenced this pull request Jun 10, 2022
…ique` types (#14605)

This PR does various simple and highly related things:
- Rename `equiv_of_unique_of_unique` to `equiv_of_unique` and make its arguments explicit, in order to match the lemma `equiv_of_empty` added in #14604.  
- Rename `equiv_punit_of_unique` to `equiv_punit` and make its argument explicit to match `equiv_pempty`.
- Fix their docstrings (which talked about a `subsingleton` type instead of a `unique` one).
- Move them much earlier in the file, together with the lemmas on empty types.
- Golf `prop_equiv_punit`.
@bors
Copy link

bors bot commented Jun 10, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(logic/equiv/basic): tweak lemmas on equivalences between unique types [Merged by Bors] - refactor(logic/equiv/basic): tweak lemmas on equivalences between unique types Jun 10, 2022
@bors bors bot closed this Jun 10, 2022
@bors bors bot deleted the unique_empty_stuff branch June 10, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants