Documentation

Mathlib.Algebra.GroupWithZero.Action.FunLike

SMul instances for FunLike types #

In this file we define various instances related to scalar multiplications for FunLike types.

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.distribSMul {M : Type u_1} {F : Type u_3} {α : Type u_4} {β : α → Type u_5} [i : DFunLike F α β] [(a : α) → AddZeroClass (β a)] [AddZeroClass F] [(a : α) → DistribSMul M (β a)] [SMul M F] [IsZeroApply F] [IsAddApply F] [IsSMulApply M F] :

A FunLike type with scalar multiplication that satisfies (m • f) x = m • f x and 0 x = 0, (f + g) x = f x + g x is a DistribSMul if β is a DistribSMul.

Equations
Instances For
    @[reducible, inline]
    abbrev FunLike.distribMulAction {M : Type u_1} {F : Type u_3} {α : Type u_4} {β : α → Type u_5} [i : DFunLike F α β] [Monoid M] [(a : α) → AddMonoid (β a)] [AddMonoid F] [(a : α) → DistribMulAction M (β a)] [SMul M F] [IsZeroApply F] [IsAddApply F] [IsSMulApply M F] :

    A FunLike type with scalar multiplication that satisfies (m • f) x = m • f x, 0 x = 0, (f + g) x = f x + g x is a DistribMulAction if β is a DistribMulAction.

    Equations
    Instances For
      @[reducible, inline]
      abbrev FunLike.mulDistribMulAction {M : Type u_1} {F : Type u_3} {α : Type u_4} {β : α → Type u_5} [i : DFunLike F α β] [Monoid M] [(a : α) → Monoid (β a)] [Monoid F] [(a : α) → MulDistribMulAction M (β a)] [SMul M F] [IsOneApply F] [IsMulApply F] [IsSMulApply M F] :

      A FunLike type with scalar multiplication that satisfies (m • f) x = m • f x, 1 x = 1, (f * g) x = f x * g x is a MulDistribMulAction if β is a MulDistribMulAction.

      Equations
      Instances For