The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V08. Multilinear algebra and forms

Mathlib.RingTheory.Coalgebra.Equiv

67 declarations and 5 deprecated aliases. Mathlib docs · Source

Isomorphisms of R-coalgebras

This file defines bundled isomorphisms of R-coalgebras. We largely mirror the basic API of Mathlib/Algebra/Module/Equiv/Defs.lean.

Main definitions

  • CoalgEquiv R A B: the type of R-coalgebra isomorphisms between A and B.

Notation

  • A ≃ₗc[R] B : R-coalgebra equivalence from A to B.

def CoalgEquiv.ctorIdx E1 #

{R : Type u_5} →
  {inst : CommSemiring R} →
    {A : Type u_6} →
      {B : Type u_7} →
        {inst_1 : AddCommMonoid A} →
          {inst_2 : AddCommMonoid B} →
            {inst_3 : Module R A} →
              {inst_4 : Module R B} → {inst_5 : CoalgebraStruct R A} → {inst_6 : CoalgebraStruct R B} → (A ≃ₗc[R] B) → ℕ

theorem CoalgEquiv.mk.injEq E0 #

∀ {R : Type u_5} [inst : CommSemiring R] {A : Type u_6} {B : Type u_7} [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (toCoalgHom : A →ₗc[R] B) (invFun : B → A)
  (left_inv : autoParam (Function.LeftInverse invFun toCoalgHom.toFun) Equiv.left_inv._autoParam)
  (right_inv : autoParam (Function.RightInverse invFun toCoalgHom.toFun) Equiv.right_inv._autoParam)
  (toCoalgHom_1 : A →ₗc[R] B) (invFun_1 : B → A)
  (left_inv_1 : autoParam (Function.LeftInverse invFun_1 toCoalgHom_1.toFun) Equiv.left_inv._autoParam)
  (right_inv_1 : autoParam (Function.RightInverse invFun_1 toCoalgHom_1.toFun) Equiv.right_inv._autoParam),
  ({ toCoalgHom := toCoalgHom, invFun := invFun, left_inv := left_inv, right_inv := right_inv } =
      { toCoalgHom := toCoalgHom_1, invFun := invFun_1, left_inv := left_inv_1, right_inv := right_inv_1 }) =
    (toCoalgHom = toCoalgHom_1 ∧ invFun = invFun_1)

theorem CoalgHom.ofClass.congr_simp E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {F : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : Module R A] [inst_3 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] [inst_7 : FunLike F A B] [inst_8 : CoalgHomClass F R A B] (f f_1 : F),
  f = f_1 → ↑f = ↑f_1

theorem CoalgEquiv.mk.inj E1 #

∀ {R : Type u_5} {inst : CommSemiring R} {A : Type u_6} {B : Type u_7} {inst_1 : AddCommMonoid A}
  {inst_2 : AddCommMonoid B} {inst_3 : Module R A} {inst_4 : Module R B} {inst_5 : CoalgebraStruct R A}
  {inst_6 : CoalgebraStruct R B} {toCoalgHom : A →ₗc[R] B} {invFun : B → A}
  {left_inv : autoParam (Function.LeftInverse invFun toCoalgHom.toFun) Equiv.left_inv._autoParam}
  {right_inv : autoParam (Function.RightInverse invFun toCoalgHom.toFun) Equiv.right_inv._autoParam}
  {toCoalgHom_1 : A →ₗc[R] B} {invFun_1 : B → A}
  {left_inv_1 : autoParam (Function.LeftInverse invFun_1 toCoalgHom_1.toFun) Equiv.left_inv._autoParam}
  {right_inv_1 : autoParam (Function.RightInverse invFun_1 toCoalgHom_1.toFun) Equiv.right_inv._autoParam},
  { toCoalgHom := toCoalgHom, invFun := invFun, left_inv := left_inv, right_inv := right_inv } =
      { toCoalgHom := toCoalgHom_1, invFun := invFun_1, left_inv := left_inv_1, right_inv := right_inv_1 } →
    toCoalgHom = toCoalgHom_1 ∧ invFun = invFun_1

structure CoalgEquiv E1 #

(R : Type u_5) →
  [inst : CommSemiring R] →
    (A : Type u_6) →
      (B : Type u_7) →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] → [CoalgebraStruct R A] → [CoalgebraStruct R B] → Type (max u_6 u_7)

An equivalence of coalgebras is an invertible coalgebra homomorphism.

ctor CoalgEquiv.mk E0 #

{R : Type u_5} →
  [inst : CommSemiring R] →
    {A : Type u_6} →
      {B : Type u_7} →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] →
                  [inst_6 : CoalgebraStruct R B] →
                    (toCoalgHom : A →ₗc[R] B) →
                      (invFun : B → A) →
                        autoParam (Function.LeftInverse invFun toCoalgHom.toFun) Equiv.left_inv._autoParam →
                          autoParam (Function.RightInverse invFun toCoalgHom.toFun) Equiv.right_inv._autoParam →
                            A ≃ₗc[R] B

abbrev CoalgEquiv.toLinearEquiv E1 #

{R : Type u_5} →
  [inst : CommSemiring R] →
    {A : Type u_6} →
      {B : Type u_7} →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A ≃ₗc[R] B) → A ≃ₗ[R] B

abbrev CoalgEquiv.toCoalgHom E1 #

{R : Type u_5} →
  [inst : CommSemiring R] →
    {A : Type u_6} →
      {B : Type u_7} →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A ≃ₗc[R] B) → A →ₗc[R] B

theorem CoalgEquiv.left_inv E1 #

∀ {R : Type u_5} [inst : CommSemiring R] {A : Type u_6} {B : Type u_7} [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (self : A ≃ₗc[R] B), Function.LeftInverse self.invFun self.toFun

abbrev CoalgEquiv.invFun E1 #

{R : Type u_5} →
  [inst : CommSemiring R] →
    {A : Type u_6} →
      {B : Type u_7} →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A ≃ₗc[R] B) → B → A

The backward map of an equivalence.

Do NOT use e.invFun directly. Use the coercion of e.symm instead.

theorem CoalgEquiv.right_inv E1 #

∀ {R : Type u_5} [inst : CommSemiring R] {A : Type u_6} {B : Type u_7} [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (self : A ≃ₗc[R] B), Function.RightInverse self.invFun self.toFun

def «term_≃ₗc[_]_» E1 #

Lean.TrailingParserDescr

An equivalence of coalgebras is an invertible coalgebra homomorphism.

class CoalgEquivClass E1 #

(F : Type u_5) →
  (R : outParam (Type u_6)) →
    (A : outParam (Type u_7)) →
      (B : outParam (Type u_8)) →
        [inst : CommSemiring R] →
          [inst_1 : AddCommMonoid A] →
            [inst_2 : AddCommMonoid B] →
              [inst_3 : Module R A] →
                [inst_4 : Module R B] → [CoalgebraStruct R A] → [CoalgebraStruct R B] → [EquivLike F A B] → Prop

CoalgEquivClass F R A B asserts F is a type of bundled coalgebra equivalences from A to B.

ctor CoalgEquivClass.mk E0 #

∀ {F : Type u_5} {R : outParam (Type u_6)} {A : outParam (Type u_7)} {B : outParam (Type u_8)} [inst : CommSemiring R]
  [inst_1 : AddCommMonoid A] [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B]
  [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B] [inst_7 : EquivLike F A B]
  [toCoalgHomClass : CoalgHomClass F R A B], CoalgEquivClass F R A B

instance CoalgEquivClass.toSemilinearEquivClass E0 #

∀ {F : Type u_5} {R : outParam (Type u_6)} {A : outParam (Type u_7)} {B : outParam (Type u_8)} [inst : CommSemiring R]
  [inst_1 : AddCommMonoid A] [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B]
  [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B] [inst_7 : EquivLike F A B]
  [self : CoalgEquivClass F R A B], SemilinearEquivClass F (RingHom.id R) A B

instance CoalgEquivClass.toCoalgHomClass E0 #

∀ {F : Type u_5} {R : outParam (Type u_6)} {A : outParam (Type u_7)} {B : outParam (Type u_8)} {inst : CommSemiring R}
  {inst_1 : AddCommMonoid A} {inst_2 : AddCommMonoid B} {inst_3 : Module R A} {inst_4 : Module R B}
  {inst_5 : CoalgebraStruct R A} {inst_6 : CoalgebraStruct R B} {inst_7 : EquivLike F A B}
  [self : CoalgEquivClass F R A B], CoalgHomClass F R A B

def CoalgEquiv.ofClass E1 #

{F : Type u_5} →
  {R : Type u_6} →
    {A : Type u_7} →
      {B : Type u_8} →
        [inst : CommSemiring R] →
          [inst_1 : AddCommMonoid A] →
            [inst_2 : AddCommMonoid B] →
              [inst_3 : Module R A] →
                [inst_4 : Module R B] →
                  [inst_5 : CoalgebraStruct R A] →
                    [inst_6 : CoalgebraStruct R B] →
                      [inst_7 : EquivLike F A B] → [CoalgEquivClass F R A B] → F → A ≃ₗc[R] B

Reinterpret an element of a type of coalgebra equivalences as a coalgebra equivalence.

def CoalgEquiv.toEquiv E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A ≃ₗc[R] B) → A ≃ B

The equivalence of types underlying a coalgebra equivalence.

theorem CoalgEquiv.toEquiv_injective E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B], Function.Injective CoalgEquiv.toEquiv

theorem CoalgEquiv.toEquiv_inj E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {e₁ e₂ : A ≃ₗc[R] B}, e₁.toEquiv = e₂.toEquiv ↔ e₁ = e₂

theorem CoalgEquiv.toCoalgHom_injective E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B], Function.Injective CoalgEquiv.toCoalgHom

instance CoalgEquiv.instEquivLike E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → EquivLike (A ≃ₗc[R] B) A B

instance CoalgEquiv.instFunLike E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → FunLike (A ≃ₗc[R] B) A B

instance CoalgEquiv.instCoalgEquivClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B], CoalgEquivClass (A ≃ₗc[R] B) R A B

instance CoalgEquiv.instCoeOutLinearEquivId E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → CoeOut (A ≃ₗc[R] B) (A ≃ₗ[R] B)

theorem CoalgEquiv.toCoalgHom_inj E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {e₁ e₂ : A ≃ₗc[R] B}, ↑e₁ = ↑e₂ ↔ e₁ = e₂

theorem CoalgEquiv.coe_mk E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {f : A → B} {h : ∀ (x y : A), f (x + y) = f x + f y}
  {h₀ :
    ∀ (m : R) (x : A),
      { toFun := f, map_add' := h }.toFun (m • x) = (RingHom.id R) m • { toFun := f, map_add' := h }.toFun x}
  {h₁ : CoalgebraStruct.counit ∘ₗ { toFun := f, map_add' := h, map_smul' := h₀ } = CoalgebraStruct.counit}
  {h₂ :
    TensorProduct.map { toFun := f, map_add' := h, map_smul' := h₀ } { toFun := f, map_add' := h, map_smul' := h₀ } ∘ₗ
        CoalgebraStruct.comul =
      CoalgebraStruct.comul ∘ₗ { toFun := f, map_add' := h, map_smul' := h₀ }}
  {h₃ : B → A}
  {h₄ :
    Function.LeftInverse h₃
      { toFun := f, map_add' := h, map_smul' := h₀, counit_comp := h₁, map_comp_comul := h₂ }.toFun}
  {h₅ :
    Function.RightInverse h₃
      { toFun := f, map_add' := h, map_smul' := h₀, counit_comp := h₁, map_comp_comul := h₂ }.toFun},
  ⇑{ toFun := f, map_add' := h, map_smul' := h₀, counit_comp := h₁, map_comp_comul := h₂, invFun := h₃, left_inv := h₄,
        right_inv := h₅ } =
    f

theorem CoalgEquiv.coe_ofClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {F : Type u_5} [inst_7 : EquivLike F A B] [inst_8 : CoalgEquivClass F R A B] (f : F),
  ⇑(CoalgEquiv.ofClass f) = ⇑f

theorem CoalgEquiv.toCoalgHom_eq_ofClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (f : A ≃ₗc[R] B), f.toCoalgHom = ↑f

theorem CoalgEquiv.coe_toLinearEquiv E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), ⇑e.toLinearEquiv = ⇑e

theorem CoalgEquiv.toLinearEquiv_toLinearMap E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), ↑e.toLinearEquiv = ↑↑e

theorem CoalgEquiv.ext E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {e e' : A ≃ₗc[R] B}, (∀ (x : A), e x = e' x) → e = e'

theorem CoalgEquiv.ext_iff E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {e e' : A ≃ₗc[R] B}, e = e' ↔ ∀ (x : A), e x = e' x

theorem CoalgEquiv.congr_arg E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {e : A ≃ₗc[R] B} {x x' : A}, x = x' → e x = e x'

theorem CoalgEquiv.congr_fun E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {e e' : A ≃ₗc[R] B}, e = e' → ∀ (x : A), e x = e' x

def CoalgEquiv.symm E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A ≃ₗc[R] B) → B ≃ₗc[R] A

Coalgebra equivalences are symmetric.

def CoalgEquiv.Simps.apply E1 #

{R : Type u_5} →
  [inst : CommSemiring R] →
    {α : Type u_6} →
      {β : Type u_7} →
        [inst_1 : AddCommMonoid α] →
          [inst_2 : AddCommMonoid β] →
            [inst_3 : Module R α] →
              [inst_4 : Module R β] →
                [inst_5 : CoalgebraStruct R α] → [inst_6 : CoalgebraStruct R β] → (α ≃ₗc[R] β) → α → β

See Note [custom simps projection]

def CoalgEquiv.Simps.symm_apply E0 #

{R : Type u_5} →
  [inst : CommSemiring R] →
    {A : Type u_6} →
      {B : Type u_7} →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A ≃ₗc[R] B) → B → A

See Note [custom simps projection]

def CoalgEquiv.refl E1 #

(R : Type u_1) →
  (A : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid A] → [inst_2 : Module R A] → [inst_3 : CoalgebraStruct R A] → A ≃ₗc[R] A

The identity map is a coalgebra equivalence.

theorem CoalgEquiv.refl_apply E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : CoalgebraStruct R A] (x : A), (CoalgEquiv.refl R A) x = x

theorem CoalgEquiv.refl_symm_apply E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : CoalgebraStruct R A] (a : A), (CoalgEquiv.refl R A).symm a = a

theorem CoalgEquiv.refl_toLinearEquiv E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : CoalgebraStruct R A], (CoalgEquiv.refl R A).toLinearEquiv = LinearEquiv.refl R A

theorem CoalgEquiv.refl_toCoalgHom E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : CoalgebraStruct R A], ↑(CoalgEquiv.refl R A) = CoalgHom.id R A

theorem CoalgEquiv.symm_toLinearEquiv E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), e.symm.toLinearEquiv = e.toLinearEquiv.symm

theorem CoalgEquiv.coe_symm_toLinearEquiv E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), ⇑e.toLinearEquiv.symm = ⇑e.symm

theorem CoalgEquiv.symm_toCoalgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), ↑↑e.symm = ↑e.toLinearEquiv.symm

theorem CoalgEquiv.symm_apply_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B) (x : A), e.symm (e x) = x

theorem CoalgEquiv.apply_symm_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B) (x : B), e (e.symm x) = x

theorem CoalgEquiv.invFun_eq_symm E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), e.invFun = ⇑e.symm

theorem CoalgEquiv.coe_toEquiv_symm E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), e.toEquiv.symm = ↑e.symm

theorem CoalgEquiv.toEquiv_symm E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), e.symm.toEquiv = e.toEquiv.symm

theorem CoalgEquiv.coe_toEquiv E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), ⇑e.toEquiv = ⇑e

theorem CoalgEquiv.coe_symm_toEquiv E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (e : A ≃ₗc[R] B), ⇑e.toEquiv.symm = ⇑e.symm

def CoalgEquiv.trans E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {C : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : AddCommMonoid A] →
            [inst_2 : AddCommMonoid B] →
              [inst_3 : AddCommMonoid C] →
                [inst_4 : Module R A] →
                  [inst_5 : Module R B] →
                    [inst_6 : Module R C] →
                      [inst_7 : CoalgebraStruct R A] →
                        [inst_8 : CoalgebraStruct R B] →
                          [inst_9 : CoalgebraStruct R C] → (A ≃ₗc[R] B) → (B ≃ₗc[R] C) → A ≃ₗc[R] C

Coalgebra equivalences are transitive.

theorem CoalgEquiv.trans_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : AddCommMonoid C] [inst_4 : Module R A] [inst_5 : Module R B]
  [inst_6 : Module R C] [inst_7 : CoalgebraStruct R A] [inst_8 : CoalgebraStruct R B] [inst_9 : CoalgebraStruct R C]
  (e₁₂ : A ≃ₗc[R] B) (e₂₃ : B ≃ₗc[R] C) (x : A), (e₁₂.trans e₂₃) x = e₂₃ (e₁₂ x)

theorem CoalgEquiv.trans_symm_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : AddCommMonoid C] [inst_4 : Module R A] [inst_5 : Module R B]
  [inst_6 : Module R C] [inst_7 : CoalgebraStruct R A] [inst_8 : CoalgebraStruct R B] [inst_9 : CoalgebraStruct R C]
  (e₁₂ : A ≃ₗc[R] B) (e₂₃ : B ≃ₗc[R] C) (a : C), (e₁₂.trans e₂₃).symm a = e₁₂.symm (e₂₃.symm a)

theorem CoalgEquiv.trans_toLinearEquiv E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : AddCommMonoid C] [inst_4 : Module R A] [inst_5 : Module R B]
  [inst_6 : Module R C] [inst_7 : CoalgebraStruct R A] [inst_8 : CoalgebraStruct R B] [inst_9 : CoalgebraStruct R C]
  {e₁₂ : A ≃ₗc[R] B} {e₂₃ : B ≃ₗc[R] C}, (e₁₂.trans e₂₃).toLinearEquiv = e₁₂.toLinearEquiv ≪≫ₗ e₂₃.toLinearEquiv

theorem CoalgEquiv.trans_toCoalgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : AddCommMonoid C] [inst_4 : Module R A] [inst_5 : Module R B]
  [inst_6 : Module R C] [inst_7 : CoalgebraStruct R A] [inst_8 : CoalgebraStruct R B] [inst_9 : CoalgebraStruct R C]
  {e₁₂ : A ≃ₗc[R] B} {e₂₃ : B ≃ₗc[R] C}, ↑(e₁₂.trans e₂₃) = e₂₃.comp ↑e₁₂

theorem CoalgEquiv.coe_toEquiv_trans E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : AddCommMonoid C] [inst_4 : Module R A] [inst_5 : Module R B]
  [inst_6 : Module R C] [inst_7 : CoalgebraStruct R A] [inst_8 : CoalgebraStruct R B] [inst_9 : CoalgebraStruct R C]
  {e₁₂ : A ≃ₗc[R] B} {e₂₃ : B ≃ₗc[R] C}, (↑e₁₂).trans ↑e₂₃ = ↑(e₁₂.trans e₂₃)

def CoalgEquiv.ofCoalgHom E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] →
                  [inst_6 : CoalgebraStruct R B] →
                    (f : A →ₗc[R] B) →
                      (g : B →ₗc[R] A) → f.comp g = CoalgHom.id R B → g.comp f = CoalgHom.id R A → A ≃ₗc[R] B

If a coalgebra morphism has an inverse, it is a coalgebra isomorphism.

theorem CoalgEquiv.coe_ofCoalgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (f : A →ₗc[R] B) (g : B →ₗc[R] A) (h₁ : f.comp g = CoalgHom.id R B)
  (h₂ : g.comp f = CoalgHom.id R A), ↑(CoalgEquiv.ofCoalgHom f g h₁ h₂) = f

theorem CoalgEquiv.ofCoalgHom_symm E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (f : A →ₗc[R] B) (g : B →ₗc[R] A) (h₁ : f.comp g = CoalgHom.id R B)
  (h₂ : g.comp f = CoalgHom.id R A), (CoalgEquiv.ofCoalgHom f g h₁ h₂).symm = CoalgEquiv.ofCoalgHom g f h₂ h₁

def CoalgEquiv.ofBijective E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : AddCommMonoid B] →
            [inst_3 : Module R A] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] →
                  [inst_6 : CoalgebraStruct R B] → {f : A →ₗc[R] B} → Function.Bijective ⇑f → A ≃ₗc[R] B

Promotes a bijective coalgebra homomorphism to a coalgebra equivalence.

theorem CoalgEquiv.ofBijective_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {f : A →ₗc[R] B} (hf : Function.Bijective ⇑f) (a : A),
  (CoalgEquiv.ofBijective hf) a = f a

theorem CoalgEquiv.coe_ofBijective E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] {f : A →ₗc[R] B} (hf : Function.Bijective ⇑f), ⇑(CoalgEquiv.ofBijective hf) = ⇑f

theorem CoalgEquiv.toEquiv_ofBijective E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] (f : A →ₗc[R] B) (hf : Function.Bijective ⇑f),
  (CoalgEquiv.ofBijective hf).toEquiv = Equiv.ofBijective (⇑f) hf

def CoalgEquiv.toCoalgebra E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid A] →
          [inst_2 : Module R A] →
            [inst_3 : Coalgebra R A] →
              [inst_4 : AddCommMonoid B] →
                [inst_5 : Module R B] → [inst_6 : CoalgebraStruct R B] → (A ≃ₗc[R] B) → Coalgebra R B

Let A be an R-coalgebra and let B be an R-module with a CoalgebraStruct. A linear equivalence A ≃ₗ[R] B that respects the CoalgebraStructs defines an R-coalgebra structure on B.

Deprecated aliases

NameNew nameSince
CoalgEquiv.coe_coalgHomOfClassCoalgHom.coe_ofClass2026-11-22
CoalgEquiv.coe_coeCoalgHom.coe_ofClass2026-09-09
CoalgEquiv.coe_toCoalgHomCoalgHom.coe_ofClass2026-09-09
CoalgEquiv.toCoalgHom_eq_coeCoalgEquiv.toCoalgHom_eq_ofClass2026-09-09
CoalgEquivClass.toCoalgEquivCoalgEquiv.ofClass2026-09-08