Theorems · Theorem · combinatorics
Multiset.fold_distrib
∀ {α : Type u_1} {β : Type u_2} (op : α → α → α) [hc : Std.Commutative op] [ha : Std.Associative op] {f g : β → α}
(u₁ u₂ : α) (s : Multiset β),
Multiset.fold op (op u₁ u₂) (Multiset.map (fun x => op (f x) (g x)) s) =
op (Multiset.fold op u₁ (Multiset.map f s)) (Multiset.fold op u₂ (Multiset.map g s))- Defined in
- Mathlib.Data.Multiset.Fold
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 15 from the axioms · uses propext, Quot.sound
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.mapstatement and proof · cited by 876
- Multiset.consproof · cited by 313
- Multiset.induction_onproof · cited by 109
- Multiset.map_consproof · cited by 93
- Multiset.foldstatement and proof · cited by 38
- Multiset.fold_cons_leftproof · cited by 14
- Multiset.fold_cons_rightproof · cited by 2
Cited by1
Results whose statement or proof uses this declaration.
- Finset.fold_op_distribproof · cited by 2