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

81 declarations and 3 deprecated aliases. Mathlib docs · Source

Homomorphisms of R-bialgebras

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

Main definitions

  • BialgHom R A B: the type of R-bialgebra morphisms from A to B.
  • Bialgebra.counitBialgHom R A : A →ₐc[R] R: the counit of a bialgebra as a bialgebra homomorphism.

Notation

  • A →ₐc[R] B : R-bialgebra homomorphism from A to B.

theorem CoalgHom.copy.congr_simp 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 f_1 : A →ₗc[R] B) (e_f : f = f_1) (f' f'_1 : A → B) (e_f' : f' = f'_1) (h : f' = ⇑f), f.copy f' h = f_1.copy f'_1 ⋯

theorem BialgHom.mk.injEq E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (toCoalgHom : A →ₗc[R] B) (map_one' : toCoalgHom.toFun 1 = 1)
  (map_mul' : ∀ (x y : A), toCoalgHom.toFun (x * y) = toCoalgHom.toFun x * toCoalgHom.toFun y)
  (toCoalgHom_1 : A →ₗc[R] B) (map_one'_1 : toCoalgHom_1.toFun 1 = 1)
  (map_mul'_1 : ∀ (x y : A), toCoalgHom_1.toFun (x * y) = toCoalgHom_1.toFun x * toCoalgHom_1.toFun y),
  ({ toCoalgHom := toCoalgHom, map_one' := map_one', map_mul' := map_mul' } =
      { toCoalgHom := toCoalgHom_1, map_one' := map_one'_1, map_mul' := map_mul'_1 }) =
    (toCoalgHom = toCoalgHom_1)

theorem BialgHom.mk.congr_simp E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (toCoalgHom toCoalgHom_1 : A →ₗc[R] B) (e_toCoalgHom : toCoalgHom = toCoalgHom_1) (map_one' : toCoalgHom.toFun 1 = 1)
  (map_mul' : ∀ (x y : A), toCoalgHom.toFun (x * y) = toCoalgHom.toFun x * toCoalgHom.toFun y),
  { toCoalgHom := toCoalgHom, map_one' := map_one', map_mul' := map_mul' } =
    { toCoalgHom := toCoalgHom_1, map_one' := ⋯, map_mul' := ⋯ }

def BialgHom.ctorIdx E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {inst : CommSemiring R} →
        {inst_1 : Semiring A} →
          {inst_2 : Algebra R A} →
            {inst_3 : Semiring B} →
              {inst_4 : Algebra R B} →
                {inst_5 : CoalgebraStruct R A} → {inst_6 : CoalgebraStruct R B} → (A →ₐc[R] B) → ℕ

theorem BialgHom.mk.inj E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {inst : CommSemiring R} {inst_1 : Semiring A} {inst_2 : Algebra R A}
  {inst_3 : Semiring B} {inst_4 : Algebra R B} {inst_5 : CoalgebraStruct R A} {inst_6 : CoalgebraStruct R B}
  {toCoalgHom : A →ₗc[R] B} {map_one' : toCoalgHom.toFun 1 = 1}
  {map_mul' : ∀ (x y : A), toCoalgHom.toFun (x * y) = toCoalgHom.toFun x * toCoalgHom.toFun y}
  {toCoalgHom_1 : A →ₗc[R] B} {map_one'_1 : toCoalgHom_1.toFun 1 = 1}
  {map_mul'_1 : ∀ (x y : A), toCoalgHom_1.toFun (x * y) = toCoalgHom_1.toFun x * toCoalgHom_1.toFun y},
  { toCoalgHom := toCoalgHom, map_one' := map_one', map_mul' := map_mul' } =
      { toCoalgHom := toCoalgHom_1, map_one' := map_one'_1, map_mul' := map_mul'_1 } →
    toCoalgHom = toCoalgHom_1

structure BialgHom E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Semiring B] →
              [inst_4 : Algebra R B] → [CoalgebraStruct R A] → [CoalgebraStruct R B] → Type (max u_2 u_3)

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

abbrev BialgHom.toMonoidHom E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Semiring B] →
              [inst_4 : Algebra R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A →ₐc[R] B) → A →* B

Reinterpret a BialgHom as a MonoidHom

abbrev BialgHom.toCoalgHom E1 #

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

ctor BialgHom.mk E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Semiring B] →
              [inst_4 : Algebra R B] →
                [inst_5 : CoalgebraStruct R A] →
                  [inst_6 : CoalgebraStruct R B] →
                    (toCoalgHom : A →ₗc[R] B) →
                      toCoalgHom.toFun 1 = 1 →
                        (∀ (x y : A), toCoalgHom.toFun (x * y) = toCoalgHom.toFun x * toCoalgHom.toFun y) → A →ₐc[R] B

theorem BialgHom.map_mul' E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (self : A →ₐc[R] B) (x y : A), self.toFun (x * y) = self.toFun x * self.toFun y

The proposition that the function preserves multiplication

theorem BialgHom.map_one' E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (self : A →ₐc[R] B), self.toFun 1 = 1

The proposition that the function preserves 1

def «term_→ₐc_» E1 #

Lean.TrailingParserDescr

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

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

Lean.TrailingParserDescr

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

class BialgHomClass 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 : Semiring A] →
            [inst_2 : Algebra R A] →
              [inst_3 : Semiring B] →
                [inst_4 : Algebra R B] → [CoalgebraStruct R A] → [CoalgebraStruct R B] → [FunLike F A B] → Prop

BialgHomClass F R A B asserts F is a type of bundled bialgebra homomorphisms from A to B.

ctor BialgHomClass.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 : Semiring A] [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B]
  [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B] [inst_7 : FunLike F A B]
  [toCoalgHomClass : CoalgHomClass F R A B] [toMonoidHomClass : MonoidHomClass F A B], BialgHomClass F R A B

instance BialgHomClass.toMonoidHomClass 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 : Semiring A} {inst_2 : Algebra R A} {inst_3 : Semiring B} {inst_4 : Algebra R B}
  {inst_5 : CoalgebraStruct R A} {inst_6 : CoalgebraStruct R B} {inst_7 : FunLike F A B} [self : BialgHomClass F R A B],
  MonoidHomClass F A B

instance BialgHomClass.toCoalgHomClass 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 : Semiring A} {inst_2 : Algebra R A} {inst_3 : Semiring B} {inst_4 : Algebra R B}
  {inst_5 : CoalgebraStruct R A} {inst_6 : CoalgebraStruct R B} {inst_7 : FunLike F A B} [self : BialgHomClass F R A B],
  CoalgHomClass F R A B

instance BialgHomClass.toAlgHomClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {F : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A]
  [inst_6 : CoalgebraStruct R B] [inst_7 : FunLike F A B] [BialgHomClass F R A B], AlgHomClass F R A B

def BialgHom.ofClass E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {F : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : Algebra R A] →
              [inst_3 : Semiring B] →
                [inst_4 : Algebra R B] →
                  [inst_5 : CoalgebraStruct R A] →
                    [inst_6 : CoalgebraStruct R B] → [inst_7 : FunLike F A B] → [BialgHomClass F R A B] → F → A →ₐc[R] B

Turn an element of a type F satisfying BialgHomClass F R A B into an actual BialgHom.

theorem BialgHomClass.counitAlgHom_comp E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {F : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Bialgebra R A] [inst_3 : Semiring B] [inst_4 : Bialgebra R B] [inst_5 : FunLike F A B]
  [inst_6 : BialgHomClass F R A B] (f : F),
  (Bialgebra.counitAlgHom R B).comp (AlgHom.ofClass f) = Bialgebra.counitAlgHom R A

theorem BialgHomClass.map_comp_comulAlgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {F : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Bialgebra R A] [inst_3 : Semiring B] [inst_4 : Bialgebra R B] [inst_5 : FunLike F A B]
  [inst_6 : BialgHomClass F R A B] (f : F),
  (Algebra.TensorProduct.map (AlgHom.ofClass f) (AlgHom.ofClass f)).comp (Bialgebra.comulAlgHom R A) =
    (Bialgebra.comulAlgHom R B).comp (AlgHom.ofClass f)

instance BialgHom.funLike E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Semiring B] →
            [inst_3 : Algebra R A] →
              [inst_4 : Algebra R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → FunLike (A →ₐc[R] B) A B

instance BialgHom.bialgHomClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  BialgHomClass (A →ₐc[R] B) R A B

def BialgHom.Simps.apply E1 #

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

See Note [custom simps projection]

theorem BialgHom.coe_ofClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {F : Type u_6} [inst_7 : FunLike F A B] [inst_8 : BialgHomClass F R A B] (f : F), ⇑(BialgHom.ofClass f) = ⇑f

theorem BialgHom.coe_mk E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {f : A →ₗc[R] B} (h : f.toFun 1 = 1) (h₁ : ∀ (x y : A), f.toFun (x * y) = f.toFun x * f.toFun y),
  ⇑{ toCoalgHom := f, map_one' := h, map_mul' := h₁ } = ⇑f

theorem BialgHom.coe_mks E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra 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₄ : { toFun := f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃ }.toFun 1 = 1)
  (h₅ :
    ∀ (x y : A),
      { toFun := f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃ }.toFun (x * y) =
        { toFun := f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃ }.toFun x *
          { toFun := f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃ }.toFun y),
  ⇑{ toFun := f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃, map_one' := h₄,
        map_mul' := h₅ } =
    f

theorem BialgHom.coe_coalgHom_mk E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {f : A →ₗc[R] B} (h : f.toFun 1 = 1) (h₁ : ∀ (x y : A), f.toFun (x * y) = f.toFun x * f.toFun y),
  ↑{ toCoalgHom := f, map_one' := h, map_mul' := h₁ } = f

theorem BialgHom.coe_toCoalgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₐc[R] B), ⇑↑f = ⇑f

theorem BialgHom.toCoalgHom_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₐc[R] B) (a : A), f.toCoalgHom a = f a

theorem BialgHom.coe_toLinearMap E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₐc[R] B), ⇑↑f = ⇑f

def BialgHom.toAlgHom E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Semiring B] →
            [inst_3 : Algebra R A] →
              [inst_4 : Algebra R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → (A →ₐc[R] B) → A →ₐ[R] B

Turn a bialgebra homomorphism into an algebra homomorphism.

instance BialgHom.instCoeAlgHom E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Semiring B] →
            [inst_3 : Algebra R A] →
              [inst_4 : Algebra R B] →
                [inst_5 : CoalgebraStruct R A] → [inst_6 : CoalgebraStruct R B] → Coe (A →ₐc[R] B) (A →ₐ[R] B)

theorem BialgHom.coe_toAlgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₐc[R] B), ⇑↑f = ⇑f

theorem BialgHom.toAlgHom_toLinearMap E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (f : A →ₐc[R] B), ↑↑f = ↑f

theorem BialgHom.coe_fn_injective E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  Function.Injective DFunLike.coe

theorem BialgHom.coe_fn_inj E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {φ₁ φ₂ : A →ₐc[R] B}, ⇑φ₁ = ⇑φ₂ ↔ φ₁ = φ₂

theorem BialgHom.coe_coalgHom_injective E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  Function.Injective CoalgHom.ofClass

theorem BialgHom.coe_toAlgHom_injective E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  Function.Injective BialgHom.toAlgHom

theorem BialgHom.coe_linearMap_injective E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B],
  Function.Injective fun x ↦ ↑x

theorem BialgHom.congr_fun E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {φ₁ φ₂ : A →ₐc[R] B}, φ₁ = φ₂ → ∀ (x : A), φ₁ x = φ₂ x

theorem BialgHom.congr_arg E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (φ : A →ₐc[R] B) {x y : A}, x = y → φ x = φ y

theorem BialgHom.ext_iff E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {φ₁ φ₂ : A →ₐc[R] B}, φ₁ = φ₂ ↔ ∀ (x : A), φ₁ x = φ₂ x

theorem BialgHom.ext E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  {φ₁ φ₂ : A →ₐc[R] B}, (∀ (x : A), φ₁ x = φ₂ x) → φ₁ = φ₂

theorem BialgHom.ext_of_ring E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A] {f g : R →ₐc[R] A}, f = g

theorem BialgHom.ext_of_ring_iff E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A] {f g : R →ₐc[R] A}, f = g ↔ True

theorem BialgHom.mk_coe E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra 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₁ })
  (h₄ : { toFun := ⇑f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃ }.toFun 1 = 1)
  (h₅ :
    ∀ (x y : A),
      { toFun := ⇑f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃ }.toFun (x * y) =
        { toFun := ⇑f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃ }.toFun x *
          { toFun := ⇑f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃ }.toFun y),
  { toFun := ⇑f, map_add' := h₀, map_smul' := h₁, counit_comp := h₂, map_comp_comul := h₃, map_one' := h₄,
      map_mul' := h₅ } =
    f

def BialgHom.copy E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Semiring B] →
            [inst_3 : Algebra R A] →
              [inst_4 : Algebra 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 BialgHom with a new toFun equal to the old one. Useful to fix definitional equalities.

theorem BialgHom.coe_copy E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra 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 BialgHom.copy_eq E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra 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 BialgHom.id E1 #

(R : Type u_1) →
  (A : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] → [inst_2 : Algebra R A] → [inst_3 : CoalgebraStruct R A] → A →ₐc[R] A

Identity map as a BialgHom.

theorem BialgHom.id_apply E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A] (x : A), (BialgHom.id R A) x = x

theorem BialgHom.coe_id E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A], ⇑(BialgHom.id R A) = id

theorem BialgHom.id_toCoalgHom E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A], ↑(BialgHom.id R A) = CoalgHom.id R A

theorem BialgHom.id_toAlgHom E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A], ↑(BialgHom.id R A) = AlgHom.id R A

def BialgHom.comp E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {C : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : Semiring B] →
              [inst_3 : Semiring C] →
                [inst_4 : Algebra R A] →
                  [inst_5 : Algebra R B] →
                    [inst_6 : Algebra 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 bialgebra homomorphisms.

theorem BialgHom.comp_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : Semiring C] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra 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 BialgHom.coe_comp E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : Semiring C] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra 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 BialgHom.comp_toCoalgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : Semiring C] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra 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 φ₂) = (↑φ₁).comp ↑φ₂

theorem BialgHom.comp_toAlgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : Semiring C] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra 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 φ₂) = (↑φ₁).comp ↑φ₂

theorem BialgHom.comp_id E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (φ : A →ₐc[R] B), φ.comp (BialgHom.id R A) = φ

theorem BialgHom.id_comp E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CoalgebraStruct R A] [inst_6 : CoalgebraStruct R B]
  (φ : A →ₐc[R] B), (BialgHom.id R B).comp φ = φ

theorem BialgHom.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 : Semiring A] [inst_2 : Semiring B] [inst_3 : Semiring C] [inst_4 : Semiring D] [inst_5 : Algebra R A]
  [inst_6 : Algebra R B] [inst_7 : Algebra R C] [inst_8 : Algebra 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 BialgHom.map_smul_of_tower E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra 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 BialgHom.End_toMul_mul E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A] (φ₁ φ₂ : A →ₐc[R] A), φ₁ * φ₂ = φ₁.comp φ₂

theorem BialgHom.End_toOne_one E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A], 1 = BialgHom.id R A

instance BialgHom.End E0 #

{R : Type u_1} →
  {A : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] → [inst_2 : Algebra R A] → [inst_3 : CoalgebraStruct R A] → Monoid (A →ₐc[R] A)

theorem BialgHom.one_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A] (x : A), 1 x = x

theorem BialgHom.mul_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : CoalgebraStruct R A] (φ ψ : A →ₐc[R] A) (x : A), (φ * ψ) x = φ (ψ x)

def BialgHom.ofAlgHom E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Semiring B] →
            [inst_3 : Bialgebra R A] →
              [inst_4 : Bialgebra R B] →
                (f : A →ₐ[R] B) →
                  (Bialgebra.counitAlgHom R B).comp f = Bialgebra.counitAlgHom R A →
                    (Algebra.TensorProduct.map f f).comp (Bialgebra.comulAlgHom R A) =
                        (Bialgebra.comulAlgHom R B).comp f →
                      A →ₐc[R] B

Construct a bialgebra hom from an algebra hom respecting counit and comultiplication.

theorem BialgHom.ofAlgHom_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Bialgebra R A] [inst_4 : Bialgebra R B] (f : A →ₐ[R] B)
  (counit_comp : (Bialgebra.counitAlgHom R B).comp f = Bialgebra.counitAlgHom R A)
  (map_comp_comul :
    (Algebra.TensorProduct.map f f).comp (Bialgebra.comulAlgHom R A) = (Bialgebra.comulAlgHom R B).comp f)
  (a : A), (BialgHom.ofAlgHom f counit_comp map_comp_comul) a = f a

theorem BialgHom.counitAlgHom_comp E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Bialgebra R A] [inst_4 : Bialgebra R B] (f : A →ₐc[R] B),
  (Bialgebra.counitAlgHom R B).comp ↑f = Bialgebra.counitAlgHom R A

theorem BialgHom.map_comp_comulAlgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Bialgebra R A] [inst_4 : Bialgebra R B] (f : A →ₐc[R] B),
  (Algebra.TensorProduct.map ↑f ↑f).comp (Bialgebra.comulAlgHom R A) = (Bialgebra.comulAlgHom R B).comp ↑f

def Bialgebra.unitBialgHom E1 #

(R : Type u_1) →
  (A : Type u_2) → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Bialgebra R A] → R →ₐc[R] A

The unit of a bialgebra as a BialgHom.

def Bialgebra.counitBialgHom E1 #

(R : Type u_1) →
  (A : Type u_2) → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Bialgebra R A] → A →ₐc[R] R

The counit of a bialgebra as a BialgHom.

theorem Bialgebra.counitBialgHom_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Bialgebra R A] (x : A),
  (Bialgebra.counitBialgHom R A) x = CoalgebraStruct.counit x

theorem Bialgebra.counitBialgHom_toCoalgHom E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Bialgebra R A],
  ↑(Bialgebra.counitBialgHom R A) = Coalgebra.counitCoalgHom R A

theorem Bialgebra.counitBialgHom_self E0 #

∀ {R : Type u_1} [inst : CommSemiring R], Bialgebra.counitBialgHom R R = BialgHom.id R R

instance Bialgebra.subsingleton_to_ring E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Bialgebra R A],
  Subsingleton (A →ₐc[R] R)

theorem Bialgebra.ext_to_ring_iff E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Bialgebra R A]
  {f g : A →ₐc[R] R}, f = g ↔ True

theorem Bialgebra.ext_to_ring E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Bialgebra R A]
  (f g : A →ₐc[R] R), f = g

Deprecated aliases

NameNew nameSince
BialgHom.coe_algHom_injectiveBialgHom.coe_toAlgHom_injective2026-05-05
BialgHom.coe_coeBialgHom.coe_ofClass2026-11-22
BialgHomClass.toBialgHomBialgHom.ofClass2026-11-22