Theorems · Inductive type
LawfulTraversable
(t : Type u → Type u) → [Traversable t] → Prop
A traversable functor is lawful if its traverse satisfies a
number of additional properties. It must send pure : α → Id α to pure,
send the composition of applicative functors to the composition of the
traverse of each, send each function f to fun x ↦ f <$> x, and
satisfy a naturality condition with respect to applicative
transformations.
- Defined in
- Mathlib.Control.Traversable.Basic
- Cited by
- 37 results in Mathlib
- Foundations
- Depth 1 from the axioms · uses no axioms
- Assumes
- Traversable
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Traversablestatement · cited by 38
Cited by39
Results whose statement or proof uses this declaration.
- LawfulTraversable.naturalitystatement and proof · cited by 6
- Traversable.toList_specstatement and proof · cited by 6
- Traversable.traverse_mapstatement and proof · cited by 6
- LawfulTraversable.comp_traversestatement and proof · cited by 5
- LawfulTraversable.id_traversestatement and proof · cited by 5
- Traversable.foldMap_hom_freestatement and proof · cited by 5
- Traversable.foldMap_mapstatement and proof · cited by 5
- LawfulTraversable.traverse_eq_map_idstatement and proof · cited by 3
- Equiv.id_traversestatement and proof · cited by 2
- Equiv.comp_traversestatement and proof · cited by 2
- Equiv.traverse_eq_map_idstatement and proof · cited by 2
- Traversable.foldMap_homstatement and proof · cited by 2