Isomorphisms of R
-coalgebras #
This file defines bundled isomorphisms of R
-coalgebras. We simply mimic the early parts of
Mathlib/Algebra/Module/Equiv.lean
.
Main definitions #
CoalgEquiv R A B
: the type ofR
-coalgebra isomorphisms betweenA
andB
.
Notations #
A ≃ₗc[R] B
:R
-coalgebra equivalence fromA
toB
.
An equivalence of coalgebras is an invertible coalgebra homomorphism.
- toFun : A → B
- map_smul' : ∀ (m : R) (x : A), self.toFun (m • x) = (RingHom.id R) m • self.toFun x
- counit_comp : Coalgebra.counit ∘ₗ self.toLinearMap = Coalgebra.counit
- map_comp_comul : TensorProduct.map self.toLinearMap self.toLinearMap ∘ₗ Coalgebra.comul = Coalgebra.comul ∘ₗ self.toLinearMap
- invFun : B → A
The backwards directed function underlying a linear equivalence.
- left_inv : Function.LeftInverse self.invFun self.toFun
LinearEquiv.invFun
is a left inverse to the linear equivalence's underlying function. - right_inv : Function.RightInverse self.invFun self.toFun
LinearEquiv.invFun
is a right inverse to the linear equivalence's underlying function.
Instances For
An equivalence of coalgebras is an invertible coalgebra homomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
CoalgEquivClass F R A B
asserts F
is a type of bundled coalgebra equivalences
from A
to B
.
Instances
Reinterpret an element of a type of coalgebra equivalences as a coalgebra equivalence.
Equations
- ↑f = let __src := ↑f; let __src_1 := ↑f; { toCoalgHom := __src, invFun := __src_1.invFun, left_inv := ⋯, right_inv := ⋯ }
Instances For
Reinterpret an element of a type of coalgebra equivalences as a coalgebra equivalence.
Equations
- CoalgEquivClass.instCoeToCoalgEquiv = { coe := fun (f : F) => ↑f }
The equivalence of types underlying a coalgebra equivalence.
Equations
- f.toEquiv = f.toLinearEquiv.toEquiv
Instances For
Equations
- CoalgEquiv.instFunLike = { coe := DFunLike.coe, coe_injective' := ⋯ }
Equations
- ⋯ = ⋯
See Note [custom simps projection]
Equations
- CoalgEquiv.Simps.apply f = ⇑f
Instances For
The identity map is a coalgebra equivalence.
Equations
- CoalgEquiv.refl R A = let __src := CoalgHom.id R A; let __src_1 := LinearEquiv.refl R A; { toCoalgHom := __src, invFun := __src_1.invFun, left_inv := ⋯, right_inv := ⋯ }
Instances For
Coalgebra equivalences are symmetric.
Equations
- e.symm = let __src := (↑e).symm; { toLinearMap := ↑__src, counit_comp := ⋯, map_comp_comul := ⋯, invFun := __src.invFun, left_inv := ⋯, right_inv := ⋯ }
Instances For
See Note [custom simps projection]
Equations
- CoalgEquiv.Simps.symm_apply e = ⇑e.symm
Instances For
Coalgebra equivalences are transitive.
Equations
- e₁₂.trans e₂₃ = let __src := (↑e₂₃).comp ↑e₁₂; let __src_1 := e₁₂.toLinearEquiv.trans e₂₃.toLinearEquiv; { toCoalgHom := __src, invFun := __src_1.invFun, left_inv := ⋯, right_inv := ⋯ }