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.

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

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

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

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

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

      Equations
      Instances For
        @[simp]
        theorem AddMonoidHom.fromNatEquiv_apply (α : Type u) [AddMonoid α] (φ : →+ α) :
        (fromNatEquiv α) φ = φ 1
        @[simp]
        theorem AddMonoidHom.fromNatEquiv_symm_apply (α : Type u) [AddMonoid α] (x : α) :
        (fromNatEquiv α).symm x = (multiplesHom α) x

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

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