Theorems · Theorem · combinatorics
List.foldr_flip_eq_foldl
∀ {α : Type u_1} {β : Type u_2} {l : List α} {v : β → α → β} {b : β} [RightCommutative v],
List.foldr (flip v) b l = List.foldl v b lSecond Bird–Wadler duality theorem.
- Defined in
- Mathlib.Data.List.Fold
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 9 from the axioms · uses propext
- Assumes
- RightCommutative
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites2
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- RightCommutativestatement and proof · cited by 17
- List.foldl_cons_eq_apply_foldlproof · cited by 4
Cited by1
Results whose statement or proof uses this declaration.
- List.foldl_eq_foldr'proof · cited by 0