Theorems · Theorem · combinatorics
Finset.fold_const
∀ {α : Type u_1} {β : Type u_2} {op : β → β → β} [hc : Std.Commutative op] [ha : Std.Associative op] {b : β}
{s : Finset α} [hd : Decidable (s = ∅)] (c : β),
op c (op b c) = op b c → Finset.fold op b (fun x => c) s = if s = ∅ then b else op b c- Defined in
- Mathlib.Data.Finset.Fold
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 61 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites4
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
- Finset.induction_onproof · cited by 167
- Finset.foldstatement and proof · cited by 46
- Finset.fold_insertproof · cited by 11
Cited by1
Results whose statement or proof uses this declaration.
- Polynomial.natDegree_hasseDeriv_leproof · cited by 1