Theorems · Theorem · combinatorics
List.foldl_cons_eq_apply_foldl
∀ {α : Type u_1} {β : Type u_2} {l : List α} {v : β → α → β} {a : α} {b : β} [hv : RightCommutative v],
List.foldl v b (a :: l) = v (List.foldl v b l) a- Defined in
- Mathlib.Data.List.Fold
- Cited by
- 4 results in Mathlib
- Foundations
- Depth 8 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
- RightCommutative.right_commproof · cited by 2
Cited by4
Results whose statement or proof uses this declaration.
- List.foldr_flip_eq_foldlproof · cited by 1
- List.foldl_eq_of_comm'proof · cited by 0
- List.foldl_eq_of_comm_of_assocproof · cited by 0
- List.foldl_assoc_comm_consproof · cited by 0