Mathlib Map

Theorems · Theorem · combinatorics

List.foldl_assoc_comm_cons

Deprecated since 2026-04-02Use List.foldl_cons_eq_apply_foldl instead.

∀ {α : 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

Alias of List.foldl_cons_eq_apply_foldl.

Defined in
Mathlib.Data.List.Fold
Cited by
0 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.

Cited by0

Results whose statement or proof uses this declaration.

Nothing cites this yet.