Theorems · Theorem
LawfulTraversable.naturality
∀ {t : Type u → Type u} {inst : Traversable t} [self : LawfulTraversable t] {F G : Type u → Type u}
[inst_1 : Applicative F] [inst_2 : Applicative G] [LawfulApplicative F] [LawfulApplicative G]
(η : ApplicativeTransformation F G) {α β : Type u} (f : α → F β) (x : t α),
(fun {α} => η.app α) (traverse f x) = traverse ((fun {α} => η.app α) ∘ f) xThe naturality axiom explaining how lawful traversable functors should play with lawful applicative functors.
- Defined in
- Mathlib.Control.Traversable.Basic
- Cited by
- 6 results in Mathlib
- Foundations
- Depth 3 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites5
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Traversable.traversestatement · cited by 53
- Traversablestatement and proof · cited by 38
- LawfulTraversablestatement and proof · cited by 37
- ApplicativeTransformationstatement · cited by 32
- ApplicativeTransformation.appstatement · cited by 28
Cited by6
Results whose statement or proof uses this declaration.
- Equiv.naturalityproof · cited by 2
- Traversable.foldMap_homproof · cited by 2
- Traversable.naturality'proof · cited by 0
- Multiset.naturalityproof · cited by 0
- Traversable.naturality_pfproof · cited by 0
- Traversable.pure_traverseproof · cited by 0