Documentation

Mathlib.Algebra.Category.MonCat.ForgetCorepresentable

The forget functor is corepresentable #

The forgetful functor AddCommMonCat.{u} ⥤ Type u is corepresentable by ULift. Similar results are obtained for the variants CommMonCat, AddMonCat and MonCat.

def MonoidHom.precompEquiv {α : Type u_1} {β : Type u_2} [Monoid α] [Monoid β] (e : α ≃* β) (γ : Type u_3) [Monoid γ] :
(β →* γ) (α →* γ)

The equivalence (β →* γ) ≃ (α →* γ) obtained by precomposition with a multiplicative equivalence e : α ≃* β.

Equations
  • MonoidHom.precompEquiv e γ = { toFun := fun (f : β →* γ) => f.comp e, invFun := fun (g : α →* γ) => g.comp e.symm, left_inv := , right_inv := }
Instances For
    @[simp]
    theorem MonoidHom.precompEquiv_symm_apply {α : Type u_1} {β : Type u_2} [Monoid α] [Monoid β] (e : α ≃* β) (γ : Type u_3) [Monoid γ] (g : α →* γ) :
    (MonoidHom.precompEquiv e γ).symm g = g.comp e.symm
    @[simp]
    theorem MonoidHom.precompEquiv_apply {α : Type u_1} {β : Type u_2} [Monoid α] [Monoid β] (e : α ≃* β) (γ : Type u_3) [Monoid γ] (f : β →* γ) :
    (MonoidHom.precompEquiv e γ) f = f.comp e

    The equivalence (Multiplicative ℕ →* α) ≃ α for any monoid α.

    Equations
    Instances For
      @[simp]
      theorem MonoidHom.fromMultiplicativeNatEquiv_apply (α : Type u) [Monoid α] (φ : Multiplicative →* α) :
      (MonoidHom.fromMultiplicativeNatEquiv α) φ = φ (Multiplicative.ofAdd 1)

      The equivalence (ULift (Multiplicative ℕ) →* α) ≃ α for any monoid α.

      Equations
      Instances For
        @[simp]
        theorem MonoidHom.fromULiftMultiplicativeNatEquiv_symm_apply_apply (α : Type u) [Monoid α] (a✝ : α) (a✝¹ : ULift.{u, 0} (Multiplicative )) :
        ((MonoidHom.fromULiftMultiplicativeNatEquiv α).symm a✝) a✝¹ = a✝ ^ Multiplicative.toAdd (MulEquiv.ulift a✝¹)
        @[simp]
        theorem MonoidHom.fromULiftMultiplicativeNatEquiv_apply (α : Type u) [Monoid α] (a✝ : ULift.{u, 0} (Multiplicative ) →* α) :
        (MonoidHom.fromULiftMultiplicativeNatEquiv α) a✝ = a✝ (MulEquiv.ulift.symm (Multiplicative.ofAdd 1))
        def AddMonoidHom.precompEquiv {α : Type u_1} {β : Type u_2} [AddMonoid α] [AddMonoid β] (e : α ≃+ β) (γ : Type u_3) [AddMonoid γ] :
        (β →+ γ) (α →+ γ)

        The equivalence (β →+ γ) ≃ (α →+ γ) obtained by precomposition with an additive equivalence e : α ≃+ β.

        Equations
        Instances For
          @[simp]
          theorem AddMonoidHom.precompEquiv_apply {α : Type u_1} {β : Type u_2} [AddMonoid α] [AddMonoid β] (e : α ≃+ β) (γ : Type u_3) [AddMonoid γ] (f : β →+ γ) :
          (AddMonoidHom.precompEquiv e γ) f = f.comp e
          @[simp]
          theorem AddMonoidHom.precompEquiv_symm_apply {α : Type u_1} {β : Type u_2} [AddMonoid α] [AddMonoid β] (e : α ≃+ β) (γ : Type u_3) [AddMonoid γ] (g : α →+ γ) :
          (AddMonoidHom.precompEquiv e γ).symm g = g.comp e.symm
          def AddMonoidHom.fromNatEquiv (α : Type u) [AddMonoid α] :
          ( →+ α) α

          The equivalence (ℤ →+ α) ≃ α for any additive group α.

          Equations
          Instances For
            @[simp]
            @[simp]
            theorem AddMonoidHom.fromNatEquiv_apply (α : Type u) [AddMonoid α] (φ : →+ α) :

            The equivalence (ULift ℕ →+ α) ≃ α for any additive monoid α.

            Equations
            Instances For
              @[simp]
              theorem AddMonoidHom.fromULiftNatEquiv_symm_apply_apply (α : Type u) [AddMonoid α] (a✝ : α) (a✝¹ : ULift.{u, 0} ) :
              ((AddMonoidHom.fromULiftNatEquiv α).symm a✝) a✝¹ = AddEquiv.ulift a✝¹ a✝
              @[simp]
              theorem AddMonoidHom.fromULiftNatEquiv_apply (α : Type u) [AddMonoid α] (a✝ : ULift.{u, 0} →+ α) :
              (AddMonoidHom.fromULiftNatEquiv α) a✝ = a✝ (AddEquiv.ulift.symm 1)

              The forgetful functor AddMonCat.{u} ⥤ Type u is corepresentable.

              Equations
              Instances For