Theorems · Theorem · combinatorics
Multiset.add_singleton_eq_iff
∀ {α : Type u_1} [inst : DecidableEq α] {s t : Multiset α} {a : α}, s + {a} = t ↔ a ∈ t ∧ s = t.erase a- Defined in
- Mathlib.Data.Multiset.AddSub
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 21 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- DecidableEq
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites8
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Multisetstatement and proof · cited by 2,627
- Multiset.consproof · cited by 313
- Multiset.erasestatement and proof · cited by 93
- Multiset.mem_cons_selfproof · cited by 44
- Multiset.cons_eraseproof · cited by 25
- Multiset.add_commproof · cited by 13
- Multiset.singleton_addproof · cited by 13
- Multiset.erase_cons_headproof · cited by 10
Cited by1
Results whose statement or proof uses this declaration.
- Relation.cutExpand_fibrationproof · cited by 1