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].
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
A FunLike type with (r • f) x = r • f x is a SMulZeroClass if β is a
SMulZeroClass.
Equations
- FunLike.smulZeroClass = Function.Injective.smulZeroClass { toFun := DFunLike.coe, map_zero' := ⋯ } ⋯ ⋯
Instances For
A FunLike type with (r • f) x = r • f x is a SMulWithZero if β is a SMulWithZero.
Equations
- FunLike.smulWithZero = Function.Injective.smulWithZero { toFun := DFunLike.coe, map_zero' := ⋯ } ⋯ ⋯
Instances For
A FunLike type with (r • f) x = r • f x is a MulActionWithZero if β is a
MulActionWithZero.
Equations
- FunLike.mulActionWithZero = Function.Injective.mulActionWithZero { toFun := DFunLike.coe, map_zero' := ⋯ } ⋯ ⋯
Instances For
A FunLike type with (f * g) x = f x * g x is a MulZeroClass if β is a MulZeroClass.
Equations
Instances For
A FunLike type with (f * g) x = f x * g x is a MulZeroOneClass if β is a
MulZeroOneClass.
Equations
Instances For
A FunLike type with (f * g) x = f x * g x is a MonoidWithZero if β is a
MonoidWithZero.
Equations
Instances For
A FunLike type with (f * g) x = f x * g x is a CommMonoidWithZero if β is a
CommMonoidWithZero.
Equations
Instances For
A FunLike type with (f * g) x = f x * g x is a SemigroupWithZero if β is a
SemigroupWithZero.