Notation for algebraic operators on pi types #
This file provides only the notation for (pointwise) 0
, 1
, +
, *
, •
, ^
, ⁻¹
on pi types.
See Mathlib.Algebra.Group.Pi.Basic
for the Monoid
and Group
instances.
1
, 0
, +
, *
, +ᵥ
, •
, ^
, -
, ⁻¹
, and /
are defined pointwise.
Equations
- Pi.instOne = { one := fun (x : I) => 1 }
Equations
- Pi.instZero = { zero := fun (x : I) => 0 }
@[simp]
@[simp]
Equations
- Pi.instMul = { mul := fun (f_1 g : (i : I) → f i) (i : I) => f_1 i * g i }
Equations
- Pi.instAdd = { add := fun (f_1 g : (i : I) → f i) (i : I) => f_1 i + g i }
instance
Pi.instSMul
{I : Type u}
{α : Type u_1}
{f : I → Type v₁}
[(i : I) → SMul α (f i)]
:
SMul α ((i : I) → f i)
Equations
- Pi.instSMul = { smul := fun (s : α) (x : (i : I) → f i) (i : I) => s • x i }
instance
Pi.instVAdd
{I : Type u}
{α : Type u_1}
{f : I → Type v₁}
[(i : I) → VAdd α (f i)]
:
VAdd α ((i : I) → f i)
Equations
- Pi.instVAdd = { vadd := fun (s : α) (x : (i : I) → f i) (i : I) => s +ᵥ x i }
instance
Pi.instPow
{I : Type u}
{β : Type u_2}
{f : I → Type v₁}
[(i : I) → Pow (f i) β]
:
Pow ((i : I) → f i) β
Equations
- Pi.instPow = { pow := fun (x : (i : I) → f i) (b : β) (i : I) => x i ^ b }
Equations
- Pi.instInv = { inv := fun (f_1 : (i : I) → f i) (i : I) => (f_1 i)⁻¹ }
Equations
- Pi.instNeg = { neg := fun (f_1 : (i : I) → f i) (i : I) => -f_1 i }
Equations
- Pi.instDiv = { div := fun (f_1 g : (i : I) → f i) (i : I) => f_1 i / g i }
Equations
- Pi.instSub = { sub := fun (f_1 g : (i : I) → f i) (i : I) => f_1 i - g i }