Theorems · Theorem · combinatorics
Multiset.coe_foldr_swap
∀ {α : Type u_1} {β : Type v} (f : α → β → β) [inst : LeftCommutative f] (b : β) (l : List α),
Multiset.foldr f b ↑l = List.foldl (fun x y => f y x) b l- Defined in
- Mathlib.Data.Multiset.MapFold
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 16 from the axioms · uses propext, Quot.sound
- Assumes
- LeftCommutative
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.
- Multiset.ofListstatement · cited by 290
- LeftCommutativestatement and proof · cited by 20
- Multiset.foldrstatement and proof · cited by 18
- Multiset.coe_reverseproof · cited by 4
Cited by2
Results whose statement or proof uses this declaration.
- Multiset.foldr_swapproof · cited by 3
- Multiset.coe_fold_lproof · cited by 1