Commit 2020-06-10 12:49 b427ebf9
View on Github →chore(data/equiv/basic): add many docstrings, review (#3008) Non-docstring changes:
- drop
decidable_eq_of_equiv
(was a copy ofequiv.decidable_eq
); - rename
inhabited_of_equiv
toequiv.inhabited
; - rename
unique_of_equiv
toequiv.unique
, takeunique β
as an instance argument; - better defeq for
equiv.list_equiv_of_equiv
; - use
coe
instead ofsubtype.val
inequiv.set.union'
; - use
s ∩ t ⊆ ∅
instead ofs ∩ t = ∅
inequiv.set.union
; this way it agrees withdisjoint
; - use
[decidable_pred (λ x, x ∈ s)]
instead of[decidable_pred s]
inequiv.set.union
; - use
coe
instead ofsubtype.val
inequiv.set.sep
; - make
f
an explicit argument inequiv.of_bijective f hf
;