Documentation Verification Report

Fold

📁 Source: Mathlib/Control/Fold.lean

Statistics

MetricCount
DefinitionsFoldl, get, mk, ofFreeMonoid, Foldr, get, mk, ofFreeMonoid, foldlM, get, mk, ofFreeMonoid, foldrM, get, mk, ofFreeMonoid, foldMap, foldl, foldlm, foldr, foldrm, length, mapFold, toList
24
TheoremsofFreeMonoid_apply, ofFreeMonoid_apply, ofFreeMonoid_apply, ofFreeMonoid_apply, map_eq_map, foldMap_hom, foldMap_hom_free, foldMap_map, ofFreeMonoid_comp_of, unop_ofFreeMonoid, foldl_map, foldl_toList, ofFreeMonoid_comp_of, foldlm_map, foldlm_toList, ofFreeMonoid_comp_of, foldr_map, foldr_toList, ofFreeMonoid_comp_of, foldrm_map, foldrm_toList, length_toList, toList_eq_self, toList_map, toList_spec
25
Total49

Monoid

Definitions

NameCategoryTheorems
Foldl 📖CompOp
3 mathmath: Foldl.ofFreeMonoid_apply, Traversable.foldl.unop_ofFreeMonoid, Traversable.foldl.ofFreeMonoid_comp_of
Foldr 📖CompOp
2 mathmath: Traversable.foldr.ofFreeMonoid_comp_of, Foldr.ofFreeMonoid_apply
foldlM 📖CompOp
2 mathmath: Traversable.foldlm.ofFreeMonoid_comp_of, foldlM.ofFreeMonoid_apply
foldrM 📖CompOp
2 mathmath: Traversable.foldrm.ofFreeMonoid_comp_of, foldrM.ofFreeMonoid_apply

Monoid.Foldl

Definitions

NameCategoryTheorems
get 📖CompOp
mk 📖CompOp
ofFreeMonoid 📖CompOp
3 mathmath: ofFreeMonoid_apply, Traversable.foldl.unop_ofFreeMonoid, Traversable.foldl.ofFreeMonoid_comp_of

Theorems

NameKindAssumesProvesValidatesDepends On
ofFreeMonoid_apply 📖mathematicalDFunLike.coe
MonoidHom
FreeMonoid
Monoid.Foldl
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
MulOpposite.instMulOne
CategoryTheory.End
CategoryTheory.Category.toCategoryStruct
CategoryTheory.types
CategoryTheory.End.monoid
MonoidHom.instFunLike
ofFreeMonoid
MulOpposite.op
Equiv
EquivLike.toFunLike
Equiv.instEquivLike
FreeMonoid.toList

Monoid.Foldr

Definitions

NameCategoryTheorems
get 📖CompOp
mk 📖CompOp
ofFreeMonoid 📖CompOp
2 mathmath: Traversable.foldr.ofFreeMonoid_comp_of, ofFreeMonoid_apply

Theorems

NameKindAssumesProvesValidatesDepends On
ofFreeMonoid_apply 📖mathematicalDFunLike.coe
MonoidHom
FreeMonoid
Monoid.Foldr
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
CategoryTheory.End.monoid
CategoryTheory.types
MonoidHom.instFunLike
ofFreeMonoid
Equiv
EquivLike.toFunLike
Equiv.instEquivLike
FreeMonoid.toList

Monoid.foldlM

Definitions

NameCategoryTheorems
get 📖CompOp
mk 📖CompOp
ofFreeMonoid 📖CompOp
2 mathmath: Traversable.foldlm.ofFreeMonoid_comp_of, ofFreeMonoid_apply

Theorems

NameKindAssumesProvesValidatesDepends On
ofFreeMonoid_apply 📖mathematicalDFunLike.coe
MonoidHom
FreeMonoid
Monoid.foldlM
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
MulOpposite.instMulOne
CategoryTheory.End
CategoryTheory.KleisliCat
CategoryTheory.KleisliCat.categoryStruct
CategoryTheory.End.monoid
CategoryTheory.KleisliCat.category
MonoidHom.instFunLike
ofFreeMonoid
MulOpposite.op
Equiv
EquivLike.toFunLike
Equiv.instEquivLike
FreeMonoid.toList

Monoid.foldrM

Definitions

NameCategoryTheorems
get 📖CompOp
mk 📖CompOp
ofFreeMonoid 📖CompOp
2 mathmath: Traversable.foldrm.ofFreeMonoid_comp_of, ofFreeMonoid_apply

Theorems

NameKindAssumesProvesValidatesDepends On
ofFreeMonoid_apply 📖mathematicalDFunLike.coe
MonoidHom
FreeMonoid
Monoid.foldrM
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
CategoryTheory.End.monoid
CategoryTheory.KleisliCat
CategoryTheory.KleisliCat.category
MonoidHom.instFunLike
ofFreeMonoid
Equiv
EquivLike.toFunLike
Equiv.instEquivLike
FreeMonoid.toList

Traversable

Definitions

NameCategoryTheorems
foldMap 📖CompOp
4 mathmath: foldMap_hom_free, foldMap_map, foldMap_hom, toList_spec
foldl 📖CompOp
2 mathmath: foldl_map, foldl_toList
foldlm 📖CompOp
2 mathmath: foldlm_toList, foldlm_map
foldr 📖CompOp
2 mathmath: foldr_toList, foldr_map
foldrm 📖CompOp
2 mathmath: foldrm_toList, foldrm_map
length 📖CompOp
1 mathmath: length_toList
mapFold 📖CompOp
toList 📖CompOp
8 mathmath: foldrm_toList, foldr_toList, toList_eq_self, foldlm_toList, foldl_toList, length_toList, toList_map, toList_spec

Theorems

NameKindAssumesProvesValidatesDepends On
foldMap_hom 📖mathematicalDFunLike.coe
MonoidHom
MulOneClass.toMulOne
Monoid.toMulOneClass
MonoidHom.instFunLike
foldMap
MulOne.toOne
MulOne.toMul
LawfulTraversable.naturality
instLawfulApplicativeConst
foldMap_hom_free 📖mathematicalDFunLike.coe
MonoidHom
FreeMonoid
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
MonoidHom.instFunLike
foldMap
MulOne.toOne
MulOne.toMul
FreeMonoid.of
foldMap_hom
foldMap_map 📖mathematicalfoldMap
MulOne.toOne
MulOneClass.toMulOne
Monoid.toMulOneClass
MulOne.toMul
toFunctor
traverse_map
instLawfulApplicativeConst
foldl_map 📖mathematicalfoldl
toFunctor
foldMap_map
foldl_toList 📖mathematicalfoldl
toList
FreeMonoid.toList_ofList
foldl.unop_ofFreeMonoid
toList_spec
foldMap_hom_free
foldlm_map 📖mathematicalfoldlm
toFunctor
foldMap_map
foldlm_toList 📖mathematicalfoldlm
toList
toList_spec
foldMap_hom_free
foldlm.ofFreeMonoid_comp_of
foldr_map 📖mathematicalfoldr
toFunctor
foldMap_map
foldr_toList 📖mathematicalfoldr
toList
toList_spec
foldr.eq_1
Monoid.Foldr.get.eq_1
FreeMonoid.ofList_toList
foldMap_hom_free
foldr.ofFreeMonoid_comp_of
foldrm_map 📖mathematicalfoldrm
toFunctor
foldMap_map
foldrm_toList 📖mathematicalfoldrm
toList
toList_spec
foldMap_hom_free
foldrm.ofFreeMonoid_comp_of
length_toList 📖mathematicallength
toList
foldl_toList
zero_add
toList_eq_self 📖mathematicaltoList
instTraversableList
toList_spec
List.instLawfulTraversable
toList_map 📖mathematicaltoList
toFunctor
toList_spec
foldMap_map
foldMap_hom
toList_spec 📖mathematicaltoList
DFunLike.coe
Equiv
FreeMonoid
EquivLike.toFunLike
Equiv.instEquivLike
FreeMonoid.toList
foldMap
MulOne.toOne
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
MulOne.toMul
FreeMonoid.of
FreeMonoid.reverse_reverse
foldMap_hom_free

Traversable.Free

Theorems

NameKindAssumesProvesValidatesDepends On
map_eq_map 📖mathematicalDFunLike.coe
Equiv
FreeMonoid
EquivLike.toFunLike
Equiv.instEquivLike
FreeMonoid.toList
MonoidHom
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
MonoidHom.instFunLike
FreeMonoid.map
FreeMonoid.ofList

Traversable.foldl

Theorems

NameKindAssumesProvesValidatesDepends On
ofFreeMonoid_comp_of 📖mathematicalFreeMonoid
Monoid.Foldl
DFunLike.coe
MonoidHom
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
MulOpposite.instMulOne
CategoryTheory.End
CategoryTheory.Category.toCategoryStruct
CategoryTheory.types
CategoryTheory.End.monoid
MonoidHom.instFunLike
Monoid.Foldl.ofFreeMonoid
FreeMonoid.of
unop_ofFreeMonoid 📖mathematicalMulOpposite.unop
CategoryTheory.End
CategoryTheory.Category.toCategoryStruct
CategoryTheory.types
DFunLike.coe
MonoidHom
FreeMonoid
Monoid.Foldl
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
MulOpposite.instMulOne
CategoryTheory.End.monoid
MonoidHom.instFunLike
Monoid.Foldl.ofFreeMonoid
Equiv
EquivLike.toFunLike
Equiv.instEquivLike
FreeMonoid.toList

Traversable.foldlm

Theorems

NameKindAssumesProvesValidatesDepends On
ofFreeMonoid_comp_of 📖mathematicalFreeMonoid
Monoid.foldlM
DFunLike.coe
MonoidHom
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
MulOpposite.instMulOne
CategoryTheory.End
CategoryTheory.KleisliCat
CategoryTheory.KleisliCat.categoryStruct
CategoryTheory.End.monoid
CategoryTheory.KleisliCat.category
MonoidHom.instFunLike
Monoid.foldlM.ofFreeMonoid
FreeMonoid.of

Traversable.foldr

Theorems

NameKindAssumesProvesValidatesDepends On
ofFreeMonoid_comp_of 📖mathematicalFreeMonoid
Monoid.Foldr
DFunLike.coe
MonoidHom
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
CategoryTheory.End.monoid
CategoryTheory.types
MonoidHom.instFunLike
Monoid.Foldr.ofFreeMonoid
FreeMonoid.of

Traversable.foldrm

Theorems

NameKindAssumesProvesValidatesDepends On
ofFreeMonoid_comp_of 📖mathematicalFreeMonoid
Monoid.foldrM
DFunLike.coe
MonoidHom
MulOneClass.toMulOne
Monoid.toMulOneClass
RightCancelMonoid.toMonoid
CancelMonoid.toRightCancelMonoid
FreeMonoid.instCancelMonoid
CategoryTheory.End.monoid
CategoryTheory.KleisliCat
CategoryTheory.KleisliCat.category
MonoidHom.instFunLike
Monoid.foldrM.ofFreeMonoid
FreeMonoid.of

---

← Back to Index