Theorems · Theorem · combinatorics
List.foldl_eq_foldr
∀ {α : Type u_1} {l : List α} {a : α} {f : α → α → α} [hf : Std.Commutative f] [Std.Associative f],
List.foldl f a l = List.foldr f a lFirst Bird–Wadler duality theorem for commutative functions.
- Defined in
- Mathlib.Data.List.Fold
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 10 from the axioms · uses propext
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- List.foldl_eq_foldr_of_commuteproof · cited by 1
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.