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.Hom

71 declarations and 8 deprecated aliases. Mathlib docs · Source

Homomorphisms of R-coalgebras

This file defines bundled homomorphisms of R-coalgebras. We largely mimic Mathlib/Algebra/Algebra/Hom.lean.

Main definitions

  • CoalgHom R A B: the type of R-coalgebra morphisms from A to B.
  • Coalgebra.counitCoalgHom R A : A →ₗc[R] R: the counit of a coalgebra as a coalgebra homomorphism.

Notation

  • A →ₗc[R] B : R-coalgebra homomorphism from A to B.

def CoalgHom.ctorIdx 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 : AddCommMonoid B} →
              {inst_4 : Module R B} → {inst_5 : CoalgebraStruct R A} → {inst_6 : CoalgebraStruct R B} → (A →ₗc[R] B) → ℕ

theorem CoalgHom.mk.injEq E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (toLinearMap : A →ₗ[R] B) (counit_comp : CoalgebraStruct.counit ∘ₗ toLinearMap = CoalgebraStruct.counit)
  (map_comp_comul :
    TensorProduct.map toLinearMap toLinearMap ∘ₗ CoalgebraStruct.comul = CoalgebraStruct.comul ∘ₗ toLinearMap)
  (toLinearMap_1 : A →ₗ[R] B) (counit_comp_1 : CoalgebraStruct.counit ∘ₗ toLinearMap_1 = CoalgebraStruct.counit)
  (map_comp_comul_1 :
    TensorProduct.map toLinearMap_1 toLinearMap_1 ∘ₗ CoalgebraStruct.comul = CoalgebraStruct.comul ∘ₗ toLinearMap_1),
  ({ toLinearMap := toLinearMap, counit_comp := counit_comp, map_comp_comul := map_comp_comul } =
      { toLinearMap := toLinearMap_1, counit_comp := counit_comp_1, map_comp_comul := map_comp_comul_1 }) =
    (toLinearMap = toLinearMap_1)

theorem CoalgHom.mk.inj 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 : AddCommMonoid B} {inst_4 : Module R B} {inst_5 : CoalgebraStruct R A} {inst_6 : CoalgebraStruct R B}
  {toLinearMap : A →ₗ[R] B} {counit_comp : CoalgebraStruct.counit ∘ₗ toLinearMap = CoalgebraStruct.counit}
  {map_comp_comul :
    TensorProduct.map toLinearMap toLinearMap ∘ₗ CoalgebraStruct.comul = CoalgebraStruct.comul ∘ₗ toLinearMap}
  {toLinearMap_1 : A →ₗ[R] B} {counit_comp_1 : CoalgebraStruct.counit ∘ₗ toLinearMap_1 = CoalgebraStruct.counit}
  {map_comp_comul_1 :
    TensorProduct.map toLinearMap_1 toLinearMap_1 ∘ₗ CoalgebraStruct.comul = CoalgebraStruct.comul ∘ₗ toLinearMap_1},
  { toLinearMap := toLinearMap, counit_comp := counit_comp, map_comp_comul := map_comp_comul } =
      { toLinearMap := toLinearMap_1, counit_comp := counit_comp_1, map_comp_comul := map_comp_comul_1 } →
    toLinearMap = toLinearMap_1

theorem LinearMap.copy.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_5} {M : Type u_8} {M₃ : Type u_11} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module S M₃] {σ : R →+* S}
  (f f_1 : M →ₛₗ[σ] M₃) (e_f : f = f_1) (f' f'_1 : M → M₃) (e_f' : f' = f'_1) (h : f' = ⇑f),
  f.copy f' h = f_1.copy f'_1 ⋯

structure CoalgHom 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 : AddCommMonoid B] →
              [inst_4 : Module R B] → [CoalgebraStruct R A] → [CoalgebraStruct R B] → Type (max u_2 u_3)

Given R-modules A, B with comultiplication maps Δ_A, Δ_B and counit maps ε_A, ε_B, an R-coalgebra homomorphism A →ₗc[R] B is an R-linear map f such that ε_B ∘ f = ε_A and (f ⊗ f) ∘ Δ_A = Δ_B ∘ f.

abbrev CoalgHom.toLinearMap 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 : AddCommMonoid B] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A →ₗc[R] B) → A →ₗ[R] B

ctor CoalgHom.mk E0 #

{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 : AddCommMonoid B] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] →
                  [inst_6 : CoalgebraStruct R B] →
                    (toLinearMap : A →ₗ[R] B) →
                      CoalgebraStruct.counit ∘ₗ toLinearMap = CoalgebraStruct.counit →
                        TensorProduct.map toLinearMap toLinearMap ∘ₗ CoalgebraStruct.comul =
                            CoalgebraStruct.comul ∘ₗ toLinearMap →
                          A →ₗc[R] B

theorem CoalgHom.counit_comp 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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (self : A →ₗc[R] B), CoalgebraStruct.counit ∘ₗ self.toLinearMap = CoalgebraStruct.counit

theorem CoalgHom.map_comp_comul E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (self : A →ₗc[R] B),
  TensorProduct.map self.toLinearMap self.toLinearMap ∘ₗ CoalgebraStruct.comul =
    CoalgebraStruct.comul ∘ₗ self.toLinearMap

def «term_→ₗc_» E1 #

Lean.TrailingParserDescr

Given R-modules A, B with comultiplication maps Δ_A, Δ_B and counit maps ε_A, ε_B, an R-coalgebra homomorphism A →ₗc[R] B is an R-linear map f such that ε_B ∘ f = ε_A and (f ⊗ f) ∘ Δ_A = Δ_B ∘ f.

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

Lean.TrailingParserDescr

Given R-modules A, B with comultiplication maps Δ_A, Δ_B and counit maps ε_A, ε_B, an R-coalgebra homomorphism A →ₗc[R] B is an R-linear map f such that ε_B ∘ f = ε_A and (f ⊗ f) ∘ Δ_A = Δ_B ∘ f.

class CoalgHomClass E1 #

(F : Type u_1) →
  (R : outParam (Type u_2)) →
    (A : outParam (Type u_3)) →
      (B : outParam (Type u_4)) →
        [inst : CommSemiring R] →
          [inst_1 : AddCommMonoid A] →
            [inst_2 : Module R A] →
              [inst_3 : AddCommMonoid B] →
                [inst_4 : Module R B] → [CoalgebraStruct R A] → [CoalgebraStruct R B] → [FunLike F A B] → Prop

CoalgHomClass F R A B asserts F is a type of bundled coalgebra homomorphisms from A to B.

instance CoalgHomClass.toSemilinearMapClass E0 #

∀ {F : Type u_1} {R : outParam (Type u_2)} {A : outParam (Type u_3)} {B : outParam (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} [self : CoalgHomClass F R A B],
  SemilinearMapClass F (RingHom.id R) A B

ctor CoalgHomClass.mk E0 #

∀ {F : Type u_1} {R : outParam (Type u_2)} {A : outParam (Type u_3)} {B : outParam (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]
  [toSemilinearMapClass : SemilinearMapClass F (RingHom.id R) A B],
  (∀ (f : F), CoalgebraStruct.counit ∘ₗ ↑f = CoalgebraStruct.counit) →
    (∀ (f : F), TensorProduct.map ↑f ↑f ∘ₗ CoalgebraStruct.comul = CoalgebraStruct.comul ∘ₗ ↑f) → CoalgHomClass F R A B

theorem CoalgHomClass.counit_comp E0 #

∀ {F : Type u_1} {R : outParam (Type u_2)} {A : outParam (Type u_3)} {B : outParam (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} [self : CoalgHomClass F R A B]
  (f : F), CoalgebraStruct.counit ∘ₗ ↑f = CoalgebraStruct.counit

theorem CoalgHomClass.map_comp_comul E0 #

∀ {F : Type u_1} {R : outParam (Type u_2)} {A : outParam (Type u_3)} {B : outParam (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} [self : CoalgHomClass F R A B]
  (f : F), TensorProduct.map ↑f ↑f ∘ₗ CoalgebraStruct.comul = CoalgebraStruct.comul ∘ₗ ↑f

def CoalgHom.ofClass 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] → [CoalgHomClass F R A B] → F → A →ₗc[R] B

Turn an element of a type F satisfying CoalgHomClass F R A B into an actual CoalgHom. This is declared as the default coercion from F to A →ₗc[R] B.

instance CoalgHomClass.instCoeToCoalgHom E0 #

{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] → [CoalgHomClass F R A B] → CoeHead F (A →ₗc[R] B)

theorem CoalgHomClass.counit_comp_apply E0 #

∀ {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] [CoalgHomClass F R A B] (f : F) (x : A),
  CoalgebraStruct.counit (f x) = CoalgebraStruct.counit x

theorem CoalgHomClass.map_comp_comul_apply E0 #

∀ {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) (x : A),
  (TensorProduct.map ↑f ↑f) (CoalgebraStruct.comul x) = CoalgebraStruct.comul (f x)

instance CoalgHom.funLike E0 #

{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 : AddCommMonoid B] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → FunLike (A →ₗc[R] B) A B

instance CoalgHom.coalgHomClass E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  CoalgHomClass (A →ₗc[R] B) R A B

def CoalgHom.Simps.apply E1 #

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

See Note [custom simps projection]

theorem CoalgHom.coe_ofClass E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {F : Type u_6} [inst_7 : FunLike F A B] [inst_8 : CoalgHomClass F R A B] (f : F), ⇑↑f = ⇑f

theorem CoalgHom.coe_mk E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {f : A →ₗ[R] B} (h : CoalgebraStruct.counit ∘ₗ f = CoalgebraStruct.counit)
  (h₁ : TensorProduct.map f f ∘ₗ CoalgebraStruct.comul = CoalgebraStruct.comul ∘ₗ f),
  ⇑{ toLinearMap := f, counit_comp := h, map_comp_comul := h₁ } = ⇑f

theorem CoalgHom.coe_mks E0 #

∀ {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 : AddCommMonoid B] [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₂ }),
  ⇑{ toFun := f, map_add' := h₁, map_smul' := h₂, counit_comp := h₃, map_comp_comul := h₄ } = f

theorem CoalgHom.coe_linearMap_mk E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {f : A →ₗ[R] B} (h : CoalgebraStruct.counit ∘ₗ f = CoalgebraStruct.counit)
  (h₁ : TensorProduct.map f f ∘ₗ CoalgebraStruct.comul = CoalgebraStruct.comul ∘ₗ f),
  ↑{ toLinearMap := f, counit_comp := h, map_comp_comul := h₁ } = f

theorem CoalgHom.toLinearMap_eq_ofClass E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₗc[R] B), f.toLinearMap = ↑f

theorem CoalgHom.coe_linearMapOfClass E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₗc[R] B), ⇑↑f = ⇑f

theorem CoalgHom.coe_toAddMonoidHom E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₗc[R] B), ⇑↑f = ⇑f

theorem CoalgHom.coe_injective E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  Function.Injective DFunLike.coe

theorem CoalgHom.coe_inj E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {φ₁ φ₂ : A →ₗc[R] B}, ⇑φ₁ = ⇑φ₂ ↔ φ₁ = φ₂

theorem CoalgHom.linearMapOfClass_injective 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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  Function.Injective fun x ↦ ↑x

theorem CoalgHom.toAddMonoidHom_injective 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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  Function.Injective AddMonoidHom.ofClass

theorem CoalgHom.congr_fun 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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {φ₁ φ₂ : A →ₗc[R] B}, φ₁ = φ₂ → ∀ (x : A), φ₁ x = φ₂ x

theorem CoalgHom.congr_arg 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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (φ : A →ₗc[R] B) {x y : A}, x = y → φ x = φ y

theorem CoalgHom.ext 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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {φ₁ φ₂ : A →ₗc[R] B}, (∀ (x : A), φ₁ x = φ₂ x) → φ₁ = φ₂

theorem CoalgHom.ext_iff E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {φ₁ φ₂ : A →ₗc[R] B}, φ₁ = φ₂ ↔ ∀ (x : A), φ₁ x = φ₂ x

theorem CoalgHom.ext_of_ring_iff 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] {f g : R →ₗc[R] A}, f = g ↔ f 1 = g 1

theorem CoalgHom.ext_of_ring 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] {f g : R →ₗc[R] A}, f 1 = g 1 → f = g

theorem CoalgHom.mk_coe E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {f : A →ₗc[R] 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₂ }),
  { toFun := ⇑f, map_add' := h₁, map_smul' := h₂, counit_comp := h₃, map_comp_comul := h₄ } = f

def CoalgHom.copy 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 : AddCommMonoid B] →
              [inst_4 : Module R B] →
                [inst_5 : CoalgebraStruct R A] →
                  [inst_6 : CoalgebraStruct R B] → (f : A →ₗc[R] B) → (f' : A → B) → f' = ⇑f → A →ₗc[R] B

Copy of a CoalgHom with a new toFun equal to the old one. Useful to fix definitional equalities.

theorem CoalgHom.coe_copy E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₗc[R] B) (f' : A → B) (h : f' = ⇑f), ⇑(f.copy f' h) = f'

theorem CoalgHom.copy_eq E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₗc[R] B) (f' : A → B) (h : f' = ⇑f), f.copy f' h = f

def CoalgHom.id 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

Identity map as a CoalgHom.

theorem CoalgHom.id_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), (CoalgHom.id R A) x = x

theorem CoalgHom.coe_id 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], ⇑(CoalgHom.id R A) = id

theorem CoalgHom.id_toLinearMap 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], ↑(CoalgHom.id R A) = LinearMap.id

def CoalgHom.comp 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 : Module R A] →
              [inst_3 : AddCommMonoid B] →
                [inst_4 : Module R B] →
                  [inst_5 : AddCommMonoid C] →
                    [inst_6 : Module R C] →
                      [inst_7 : CoalgebraStruct R A] →
                        [inst_8 : CoalgebraStruct R B] →
                          [inst_9 : CoalgebraStruct R C] → (B →ₗc[R] C) → (A →ₗc[R] B) → A →ₗc[R] C

Composition of coalgebra homomorphisms.

theorem CoalgHom.comp_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 : Module R A] [inst_3 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : AddCommMonoid C]
  [inst_6 : Module R C] [inst_7 : CoalgebraStruct R A] [inst_8 : CoalgebraStruct R B] [inst_9 : CoalgebraStruct R C]
  (φ₁ : B →ₗc[R] C) (φ₂ : A →ₗc[R] B) (x : A), (φ₁.comp φ₂) x = φ₁ (φ₂ x)

theorem CoalgHom.coe_comp 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 : Module R A] [inst_3 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : AddCommMonoid C]
  [inst_6 : Module R C] [inst_7 : CoalgebraStruct R A] [inst_8 : CoalgebraStruct R B] [inst_9 : CoalgebraStruct R C]
  (φ₁ : B →ₗc[R] C) (φ₂ : A →ₗc[R] B), ⇑(φ₁.comp φ₂) = ⇑φ₁ ∘ ⇑φ₂

theorem CoalgHom.comp_toLinearMap 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 : Module R A] [inst_3 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : AddCommMonoid C]
  [inst_6 : Module R C] [inst_7 : CoalgebraStruct R A] [inst_8 : CoalgebraStruct R B] [inst_9 : CoalgebraStruct R C]
  (φ₁ : B →ₗc[R] C) (φ₂ : A →ₗc[R] B), ↑(φ₁.comp φ₂) = ↑φ₁ ∘ₗ ↑φ₂

theorem CoalgHom.comp_id E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (φ : A →ₗc[R] B), φ.comp (CoalgHom.id R A) = φ

theorem CoalgHom.id_comp E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (φ : A →ₗc[R] B), (CoalgHom.id R B).comp φ = φ

theorem CoalgHom.comp_assoc E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} {D : Type u_5} [inst : CommSemiring R]
  [inst_1 : AddCommMonoid A] [inst_2 : Module R A] [inst_3 : AddCommMonoid B] [inst_4 : Module R B]
  [inst_5 : AddCommMonoid C] [inst_6 : Module R C] [inst_7 : AddCommMonoid D] [inst_8 : Module R D]
  [inst_9 : CoalgebraStruct R A] [inst_10 : CoalgebraStruct R B] [inst_11 : CoalgebraStruct R C]
  [inst_12 : CoalgebraStruct R D] (φ₁ : C →ₗc[R] D) (φ₂ : B →ₗc[R] C) (φ₃ : A →ₗc[R] B),
  (φ₁.comp φ₂).comp φ₃ = φ₁.comp (φ₂.comp φ₃)

theorem CoalgHom.map_smul_of_tower E0 #

∀ {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 : AddCommMonoid B] [inst_4 : Module R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (φ : A →ₗc[R] B) {R' : Type u_6} [inst_7 : SMul R' A] [inst_8 : SMul R' B] [LinearMap.CompatibleSMul A B R' R]
  (r : R') (x : A), φ (r • x) = r • φ x

theorem CoalgHom.End_toMul_mul 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), φ₁ * φ₂ = φ₁.comp φ₂

instance CoalgHom.End 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] → Monoid (A →ₗc[R] A)

theorem CoalgHom.End_toOne_one 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], 1 = CoalgHom.id R A

theorem CoalgHom.one_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), 1 x = x

theorem CoalgHom.mul_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 →ₗc[R] A) (x : A), (φ * ψ) x = φ (ψ x)

def Coalgebra.counitCoalgHom E1 #

(R : Type u) →
  (A : Type v) →
    [inst : CommSemiring R] → [inst_1 : AddCommMonoid A] → [inst_2 : Module R A] → [inst_3 : Coalgebra R A] → A →ₗc[R] R

The counit of a coalgebra as a CoalgHom.

theorem Coalgebra.counitCoalgHom_apply E0 #

∀ (R : Type u) (A : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Coalgebra R A] (x : A), (Coalgebra.counitCoalgHom R A) x = CoalgebraStruct.counit x

theorem Coalgebra.counitCoalgHom_toLinearMap E0 #

∀ (R : Type u) (A : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Coalgebra R A], ↑(Coalgebra.counitCoalgHom R A) = CoalgebraStruct.counit

instance Coalgebra.subsingleton_to_ring E0 #

∀ {R : Type u} (A : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Coalgebra R A], Subsingleton (A →ₗc[R] R)

theorem Coalgebra.ext_to_ring E1 #

∀ {R : Type u} (A : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Coalgebra R A] (f g : A →ₗc[R] R), f = g

theorem Coalgebra.ext_to_ring_iff E0 #

∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid A] [inst_2 : Module R A]
  [inst_3 : Coalgebra R A] {f g : A →ₗc[R] R}, f = g ↔ True

def Coalgebra.Repr.induced E1 #

{R : Type u} →
  {A : Type v} →
    {B : Type w} →
      {ι : Type u_1} →
        [inst : CommSemiring R] →
          [inst_1 : AddCommMonoid A] →
            [inst_2 : AddCommMonoid B] →
              [inst_3 : Module R A] →
                [inst_4 : Module R B] →
                  [inst_5 : Coalgebra R A] →
                    [inst_6 : Coalgebra R B] →
                      {a : A} → Coalgebra.Repr R a ι → (φ : A →ₗc[R] B) → Coalgebra.Repr R (φ a) ι

If φ : A → B is a coalgebra map and a = ∑ xᵢ ⊗ yᵢ, then φ a = ∑ φ xᵢ ⊗ φ yᵢ

theorem Coalgebra.Repr.induced_index E0 #

∀ {R : Type u} {A : Type v} {B : Type w} {ι : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : Coalgebra R A]
  [inst_6 : Coalgebra R B] {a : A} (repr : Coalgebra.Repr R a ι) (φ : A →ₗc[R] B), (repr.induced φ).index = repr.index

theorem Coalgebra.Repr.induced_right E0 #

∀ {R : Type u} {A : Type v} {B : Type w} {ι : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : Coalgebra R A]
  [inst_6 : Coalgebra R B] {a : A} (repr : Coalgebra.Repr R a ι) (φ : A →ₗc[R] B) (a_1 : ι),
  (repr.induced φ).right a_1 = (⇑φ ∘ repr.right) a_1

theorem Coalgebra.Repr.induced_left E0 #

∀ {R : Type u} {A : Type v} {B : Type w} {ι : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid A]
  [inst_2 : AddCommMonoid B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : Coalgebra R A]
  [inst_6 : Coalgebra R B] {a : A} (repr : Coalgebra.Repr R a ι) (φ : A →ₗc[R] B) (a_1 : ι),
  (repr.induced φ).left a_1 = (⇑φ ∘ repr.left) a_1

Deprecated aliases

NameNew nameSince
CoalgHom.coe_addMonoidHom_injectiveCoalgHom.toAddMonoidHom_injective2026-09-15
CoalgHom.coe_coeCoalgHom.coe_ofClass2026-09-09
CoalgHom.coe_fn_injCoalgHom.coe_inj2026-09-09
CoalgHom.coe_fn_injectiveCoalgHom.coe_injective2026-09-09
CoalgHom.coe_linearMap_injectiveCoalgHom.linearMapOfClass_injective2026-09-09
CoalgHom.coe_toLinearMapCoalgHom.coe_linearMapOfClass2026-09-09
CoalgHom.toLinearMap_eq_coeCoalgHom.toLinearMap_eq_ofClass2026-09-09
CoalgHomClass.toCoalgHomCoalgHom.ofClass2026-09-09