Commit 2021-08-14 11:55 ba76bf75
View on Github →chore(data/option,data/set): a few lemmas, golf (#8636)
- add
option.subsingleton_iff_is_empty
and an instanceoption.unique
; - add
set.is_compl_range_some_none
,set.compl_range_some
,set.range_some_inter_none
,set.range_some_union_none
; - split the proof of
set.pairwise_on_eq_iff_exists_eq
intoset.nonempty.pairwise_on_eq_iff_exists_eq
andset.pairwise_on_eq_iff_exists_eq
. Inspired by #8579