Documentation

Mathlib.Algebra.PUnitInstances.Module

Instances on PUnit #

This file collects facts about module structures on the one-element type

instance PUnit.smul {R : Type u_1} :
Equations
instance PUnit.vadd {R : Type u_1} :
Equations
@[simp]
theorem PUnit.smul_eq {R : Type u_3} (y : PUnit.{u_4 + 1} ) (r : R) :
@[simp]
theorem PUnit.vadd_eq {R : Type u_3} (y : PUnit.{u_4 + 1} ) (r : R) :
Equations
  • =
Equations
  • =
Equations
  • =
instance PUnit.instIsScalarTowerOfSMul {R : Type u_1} {S : Type u_2} [SMul R S] :
Equations
  • =
Equations
  • =
Equations
Equations
Equations
Equations
Equations
Equations
instance PUnit.module {R : Type u_1} [Semiring R] :
Equations
instance PUnit.instSMul {R : Type u_1} :
Equations
instance PUnit.instVAdd {R : Type u_1} :
Equations
@[simp]
theorem PUnit.smul_eq' {R : Type u_1} (r : PUnit.{u_3 + 1} ) (a : R) :
r a = a

The one-element type acts trivially on every element.

@[simp]
theorem PUnit.vadd_eq' {R : Type u_1} (r : PUnit.{u_3 + 1} ) (a : R) :
r +ᵥ a = a
instance PUnit.instSMulCommClass_1 {R : Type u_1} {S : Type u_2} [SMul R S] :
Equations
  • =
instance PUnit.instVAddCommClass_1 {R : Type u_1} {S : Type u_2} [VAdd R S] :
Equations
  • =
instance PUnit.instIsScalarTower {R : Type u_1} {S : Type u_2} [SMul R S] :
Equations
  • =
Equations
Equations
Equations