The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.Algebra.GroupWithZero.Action.FunLike

2 declarations. Mathlib docs · Source

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.

abbrev FunLike.distribSMul E1 #

{M : Type u_1} →
  {F : Type u_3} →
    {α : Type u_4} →
      {β : Type u_5} →
        [i : FunLike F α β] →
          [inst : AddZeroClass β] →
            [inst_1 : AddZeroClass F] →
              [inst_2 : DistribSMul M β] →
                [inst_3 : SMul M F] → [IsZeroApply F] → [IsAddApply F] → [IsSMulApply M F] → DistribSMul 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.

abbrev FunLike.distribMulAction E1 #

{M : Type u_1} →
  {F : Type u_3} →
    {α : Type u_4} →
      {β : Type u_5} →
        [i : FunLike F α β] →
          [inst : Monoid M] →
            [inst_1 : AddMonoid β] →
              [inst_2 : AddMonoid F] →
                [inst_3 : DistribMulAction M β] →
                  [inst_4 : SMul M F] → [IsZeroApply F] → [IsAddApply F] → [IsSMulApply M F] → DistribMulAction 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.