Commit 2022-06-10 07:36 5bccb515
View on Github →refactor(logic/equiv/basic): tweak lemmas on equivalences between unique types (#14605)
This PR does various simple and highly related things:
- Rename
equiv_of_unique_of_uniquetoequiv_of_uniqueand make its arguments explicit, in order to match the lemmaequiv_of_emptyadded in #14604. - Rename
equiv_punit_of_uniquetoequiv_punitand make its argument explicit to matchequiv_pempty. - Fix their docstrings (which talked about a
subsingletontype instead of auniqueone). - Move them much earlier in the file, together with the lemmas on empty types.
- Golf
prop_equiv_punit.