Theorems · Theorem · combinatorics
Finset.fold_cons
∀ {α : Type u_1} {β : Type u_2} {op : β → β → β} [hc : Std.Commutative op] [ha : Std.Associative op] {f : α → β} {b : β}
{s : Finset α} {a : α} (h : a ∉ s), Finset.fold op b f (Finset.cons a s h) = op (f a) (Finset.fold op b f s)- Defined in
- Mathlib.Data.Finset.Fold
- Cited by
- 6 results in Mathlib
- Foundations
- Depth 57 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites10
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Finsetstatement and proof · cited by 13,712
- Multisetproof · cited by 2,627
- Multiset.mapproof · cited by 876
- Finset.valproof · cited by 438
- Finset.consstatement · cited by 221
- Multiset.map_consproof · cited by 93
- Finset.foldstatement · cited by 46
- Multiset.foldproof · cited by 38
- Multiset.fold_cons_leftproof · cited by 14
- Finset.cons_valproof · cited by 4
Cited by6
Results whose statement or proof uses this declaration.
- Finset.sum_consproof · cited by 84
- Finset.prod_consproof · cited by 60
- Finset.sup_consproof · cited by 30
- Finset.inf_consproof · cited by 16
- Finset.fold_image_idemproof · cited by 2
- Finset.gcd_consproof · cited by 1