Theorems · Theorem · combinatorics
Multiset.cons_eq_cons
∀ {α : Type u_1} {a b : α} {as bs : Multiset α},
a ::ₘ as = b ::ₘ bs ↔ a = b ∧ as = bs ∨ a ≠ b ∧ ∃ cs, as = b ::ₘ cs ∧ bs = a ::ₘ cs- Defined in
- Mathlib.Data.Multiset.ZeroCons
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 21 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites6
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.consstatement and proof · cited by 313
- Classical.decEqproof · cited by 134
- Multiset.mem_cons_selfproof · cited by 44
- Multiset.exists_cons_of_memproof · cited by 15
- Multiset.cons_swapproof · cited by 8
Cited by2
Results whose statement or proof uses this declaration.
- Multiset.rel_cons_leftproof · cited by 3
- Multiset.singleton_eq_cons_iffproof · cited by 0