Commit 2022-08-19 16:44 aaf7dc2c
View on Github →chore(data/multiset/basic): rename theorems, mark as simp
(#15883)
This PR does the following:
- rename
coe_nil_eq_zero
tocoe_nil
. - rename
singleton_eq_cons
tocons_zero
, flip direction, marksimp
(we prefer{a}
overa ::ₘ 0
). - add lemmas
coe_singleton
andsingleton_eq_cons_iff
. - ditch
singleton_coe
in favor ofcons_zero
andcoe_singleton
. - mark
singleton_add
,singleton_inj
,nodup_singleton
assimp
. - unmark
count_singleton_self
assimp
, since it can now be solved automatically viacount_eq_one_of_mem
.