Commit 2021-10-11 07:59 082aa832
View on Github →feat(data/finset): add finset.erase_none
(#9630)
- move
option.to_finset
andfinset.insert_none
to a new filedata.finset.option
; redefine the latter in terms offinset.cons
; - define
finset.erase_none
, prove lemmas about it; - add
finset.prod_cons
,finset.sum_cons
,finset.coe_cons
,finset.cons_subset_cons
,finset.card_cons
; - add
finset.subtype_mono
andfinset.bUnion_congr
; - add
set.insert_subset_insert_iff
; - add
@[simp]
tofinset.map_subset_map
; - upgrade
finset.map_embedding
to anorder_embedding
; - add
@[simps]
toequiv.option_is_some_equiv
andfunction.embedding.some
; - golf some proofs.