Documentation

Mathlib.Algebra.GroupWithZero.FunLike

Group with zero instances for FunLike types #

In this file we define various instances related to GroupWithZero for FunLike types. There are two different variants: either the multiplication is given by composition or it is pointwise multiplication.

Note that currently, these are not registered as instances, but only abbrevs to avoid long typeclass searches. See note [IsApply classes].

@[reducible, inline]
abbrev FunLike.compMonoidWithZero {F : Type u_1} {α : Type u_2} [FunLike F α α] [Zero F] [One F] [Mul F] [NPow F] [Zero α] [IsZeroApply F] [IsOneApplyEqSelf F] [IsMulApplyEqComp F] [IsNPowApplyEqIterate F] [ZeroHomClass F α α] :

A FunLike type with (f * g) x = f (g x) is a MonoidWithZero

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[reducible, inline]
    abbrev FunLike.smulZeroClass {F : Type u_1} {α : Type u_2} {R : Type u_3} {β : α → Type u_4} [DFunLike F α β] [(a : α) → Zero (β a)] [Zero F] [IsZeroApply F] [(a : α) → SMulZeroClass R (β a)] [SMul R F] [IsSMulApply R F] :

    A FunLike type with (r • f) x = r • f x is a SMulZeroClass if β is a SMulZeroClass.

    Equations
    Instances For
      @[reducible, inline]
      abbrev FunLike.smulWithZero {F : Type u_1} {α : Type u_2} {R : Type u_3} {β : α → Type u_4} [DFunLike F α β] [(a : α) → Zero (β a)] [Zero F] [IsZeroApply F] [Zero R] [(a : α) → SMulWithZero R (β a)] [SMul R F] [IsSMulApply R F] :

      A FunLike type with (r • f) x = r • f x is a SMulWithZero if β is a SMulWithZero.

      Equations
      Instances For
        @[reducible, inline]
        abbrev FunLike.mulActionWithZero {F : Type u_1} {α : Type u_2} {R : Type u_3} {β : α → Type u_4} [DFunLike F α β] [(a : α) → Zero (β a)] [Zero F] [IsZeroApply F] [MonoidWithZero R] [(a : α) → MulActionWithZero R (β a)] [SMul R F] [IsSMulApply R F] :

        A FunLike type with (r • f) x = r • f x is a MulActionWithZero if β is a MulActionWithZero.

        Equations
        Instances For
          @[reducible, inline]
          abbrev FunLike.mulZeroClass {F : Type u_1} {α : Type u_2} {β : α → Type u_4} [DFunLike F α β] [Zero F] [Mul F] [(a : α) → MulZeroClass (β a)] [IsZeroApply F] [IsMulApply F] :

          A FunLike type with (f * g) x = f x * g x is a MulZeroClass if β is a MulZeroClass.

          Equations
          Instances For
            @[reducible, inline]
            abbrev FunLike.mulZeroOneClass {F : Type u_1} {α : Type u_2} {β : α → Type u_4} [DFunLike F α β] [Zero F] [One F] [Mul F] [(a : α) → MulZeroOneClass (β a)] [IsZeroApply F] [IsMulApply F] [IsOneApply F] :

            A FunLike type with (f * g) x = f x * g x is a MulZeroOneClass if β is a MulZeroOneClass.

            Equations
            Instances For
              @[reducible, inline]
              abbrev FunLike.monoidWithZero {F : Type u_1} {α : Type u_2} {β : α → Type u_4} [DFunLike F α β] [Zero F] [One F] [Mul F] [Pow F ℕ] [(a : α) → MonoidWithZero (β a)] [IsZeroApply F] [IsMulApply F] [IsOneApply F] [IsPowApply ℕ F] :

              A FunLike type with (f * g) x = f x * g x is a MonoidWithZero if β is a MonoidWithZero.

              Equations
              Instances For
                @[reducible, inline]
                abbrev FunLike.commMonoidWithZero {F : Type u_1} {α : Type u_2} {β : α → Type u_4} [DFunLike F α β] [Zero F] [One F] [Mul F] [Pow F ℕ] [(a : α) → CommMonoidWithZero (β a)] [IsZeroApply F] [IsMulApply F] [IsOneApply F] [IsPowApply ℕ F] :

                A FunLike type with (f * g) x = f x * g x is a CommMonoidWithZero if β is a CommMonoidWithZero.

                Equations
                Instances For
                  @[reducible, inline]
                  abbrev FunLike.semigroupWithZero {F : Type u_1} {α : Type u_2} {β : α → Type u_4} [DFunLike F α β] [Zero F] [Mul F] [(a : α) → SemigroupWithZero (β a)] [IsZeroApply F] [IsMulApply F] :

                  A FunLike type with (f * g) x = f x * g x is a SemigroupWithZero if β is a SemigroupWithZero.

                  Equations
                  Instances For