Mathlib.Algebra.GroupWithZero.FunLike
8 declarations. Mathlib docs · Source
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.
abbrev FunLike.compMonoidWithZero E1 #
{F : Type u_1} →
{α : Type u_2} →
[inst : FunLike F α α] →
[inst_1 : Zero F] →
[inst_2 : One F] →
[inst_3 : Mul F] →
[inst_4 : NPow F] →
[inst_5 : Zero α] →
[IsZeroApply F] →
[IsOneApplyEqSelf F] →
[IsMulApplyEqComp F] → [IsNPowApplyEqIterate F] → [ZeroHomClass F α α] → MonoidWithZero F
A FunLike type with (f * g) x = f (g x) is a MonoidWithZero
abbrev FunLike.smulWithZero E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
{R : Type u_4} →
[inst : FunLike F α β] →
[inst_1 : Zero β] →
[inst_2 : Zero F] →
[IsZeroApply F] →
[inst_4 : Zero R] →
[inst_5 : SMulWithZero R β] → [inst_6 : SMul R F] → [IsSMulApply R F] → SMulWithZero R F
A FunLike type with (r • f) x = r • f x is a SMulWithZero if β is a SMulWithZero.
abbrev FunLike.mulActionWithZero E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
{R : Type u_4} →
[inst : FunLike F α β] →
[inst_1 : Zero β] →
[inst_2 : Zero F] →
[IsZeroApply F] →
[inst_4 : MonoidWithZero R] →
[inst_5 : MulActionWithZero R β] → [inst_6 : SMul R F] → [IsSMulApply R F] → MulActionWithZero R F
A FunLike type with (r • f) x = r • f x is a MulActionWithZero if β is a
MulActionWithZero.
abbrev FunLike.mulZeroClass E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : FunLike F α β] →
[inst_1 : Zero F] →
[inst_2 : Mul F] → [inst_3 : MulZeroClass β] → [IsZeroApply F] → [IsMulApply F] → MulZeroClass F
A FunLike type with (f * g) x = f x * g x is a MulZeroClass if β is a MulZeroClass.
abbrev FunLike.mulZeroOneClass E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : FunLike F α β] →
[inst_1 : Zero F] →
[inst_2 : One F] →
[inst_3 : Mul F] →
[inst_4 : MulZeroOneClass β] → [IsZeroApply F] → [IsMulApply F] → [IsOneApply F] → MulZeroOneClass F
A FunLike type with (f * g) x = f x * g x is a MulZeroOneClass if β is a
MulZeroOneClass.
abbrev FunLike.monoidWithZero E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : FunLike F α β] →
[inst_1 : Zero F] →
[inst_2 : One F] →
[inst_3 : Mul F] →
[inst_4 : Pow F ℕ] →
[inst_5 : MonoidWithZero β] →
[IsZeroApply F] → [IsMulApply F] → [IsOneApply F] → [IsPowApply ℕ F] → MonoidWithZero F
A FunLike type with (f * g) x = f x * g x is a MonoidWithZero if β is a
MonoidWithZero.
abbrev FunLike.commMonoidWithZero E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : FunLike F α β] →
[inst_1 : Zero F] →
[inst_2 : One F] →
[inst_3 : Mul F] →
[inst_4 : Pow F ℕ] →
[inst_5 : CommMonoidWithZero β] →
[IsZeroApply F] → [IsMulApply F] → [IsOneApply F] → [IsPowApply ℕ F] → CommMonoidWithZero F
A FunLike type with (f * g) x = f x * g x is a CommMonoidWithZero if β is a
CommMonoidWithZero.
abbrev FunLike.semigroupWithZero E1 #
{F : Type u_1} →
{α : Type u_2} →
{β : Type u_3} →
[inst : FunLike F α β] →
[inst_1 : Zero F] →
[inst_2 : Mul F] → [inst_3 : SemigroupWithZero β] → [IsZeroApply F] → [IsMulApply F] → SemigroupWithZero F
A FunLike type with (f * g) x = f x * g x is a SemigroupWithZero if β is a
SemigroupWithZero.