The module of affine maps from a convex space to a module #
This file shows that the affine maps from a convex space X to a module M themselves form a
module, and that the convex space structure this induces is the pointwise one.
Main declarations #
Convexity.ConvexSpace.AffineMap.instModule: The affine maps from a convex space to a module form a module.Convexity.ConvexSpace.AffineMap.instIsModuleConvexSpace: The pointwise convex space structure on the affine maps into a module is given by weighted sums.
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instZero {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [ConvexSpace R M] :
Zero (ConvexSpace.AffineMap R X M)
Equations
instance Convexity.ConvexSpace.AffineMap.instIsZeroApply {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [ConvexSpace R M] :
IsZeroApply (ConvexSpace.AffineMap R X M)
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instAdd {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] :
Add (ConvexSpace.AffineMap R X M)
Equations
- Convexity.ConvexSpace.AffineMap.instAdd = { add := fun (f g : Convexity.ConvexSpace.AffineMap R X M) => { toFun := ⇑f + ⇑g, isAffineMap_toFun := ⋯ } }
instance Convexity.ConvexSpace.AffineMap.instIsAddApply {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] :
IsAddApply (ConvexSpace.AffineMap R X M)
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instSMul {R : Type u_1} {S : Type u_2} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] [DistribSMul S M] [SMulCommClass S R M] :
SMul S (ConvexSpace.AffineMap R X M)
Equations
- Convexity.ConvexSpace.AffineMap.instSMul = { smul := fun (s : S) (f : Convexity.ConvexSpace.AffineMap R X M) => { toFun := s • ⇑f, isAffineMap_toFun := ⋯ } }
instance Convexity.ConvexSpace.AffineMap.instIsSMulApply {R : Type u_1} {S : Type u_2} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] [DistribSMul S M] [SMulCommClass S R M] :
IsSMulApply S (ConvexSpace.AffineMap R X M)
instance Convexity.ConvexSpace.AffineMap.instSMulCommClass {R : Type u_1} {S : Type u_2} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] [DistribSMul S M] [SMulCommClass S R M] {T : Type u_5} [DistribSMul T M] [SMulCommClass T R M] [SMulCommClass S T M] :
SMulCommClass S T (ConvexSpace.AffineMap R X M)
instance Convexity.ConvexSpace.AffineMap.instIsScalarTower {R : Type u_1} {S : Type u_2} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] [DistribSMul S M] [SMulCommClass S R M] {T : Type u_5} [DistribSMul T M] [SMulCommClass T R M] [SMul S T] [IsScalarTower S T M] :
IsScalarTower S T (ConvexSpace.AffineMap R X M)
instance Convexity.ConvexSpace.AffineMap.instIsCentralScalar {R : Type u_1} {S : Type u_2} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] [DistribSMul S M] [SMulCommClass S R M] [DistribSMul Sᵐᵒᵖ M] [IsCentralScalar S M] :
IsCentralScalar S (ConvexSpace.AffineMap R X M)
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instAddCommMonoid {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] :
AddCommMonoid (ConvexSpace.AffineMap R X M)
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instDistribMulActionOfSMulCommClass {R : Type u_1} {S : Type u_2} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] [Monoid S] [DistribMulAction S M] [SMulCommClass S R M] :
DistribMulAction S (ConvexSpace.AffineMap R X M)
Equations
- Convexity.ConvexSpace.AffineMap.instDistribMulActionOfSMulCommClass = { toSMul := Convexity.ConvexSpace.AffineMap.instSMul, mul_smul := ⋯, one_smul := ⋯, smul_zero := ⋯, smul_add := ⋯ }
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instModuleOfSMulCommClass {R : Type u_1} {S : Type u_2} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] [Semiring S] [Module S M] [SMulCommClass S R M] :
Module S (ConvexSpace.AffineMap R X M)
Equations
- Convexity.ConvexSpace.AffineMap.instModuleOfSMulCommClass = { toDistribMulAction := Convexity.ConvexSpace.AffineMap.instDistribMulActionOfSMulCommClass, add_smul := ⋯, zero_smul := ⋯ }
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instNeg {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommGroup M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] :
Neg (ConvexSpace.AffineMap R X M)
Equations
- Convexity.ConvexSpace.AffineMap.instNeg = { neg := fun (f : Convexity.ConvexSpace.AffineMap R X M) => { toFun := -⇑f, isAffineMap_toFun := ⋯ } }
instance Convexity.ConvexSpace.AffineMap.instIsNegApply {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommGroup M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] :
IsNegApply (ConvexSpace.AffineMap R X M)
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instSub {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommGroup M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] :
Sub (ConvexSpace.AffineMap R X M)
Equations
- Convexity.ConvexSpace.AffineMap.instSub = { sub := fun (f g : Convexity.ConvexSpace.AffineMap R X M) => { toFun := ⇑f - ⇑g, isAffineMap_toFun := ⋯ } }
instance Convexity.ConvexSpace.AffineMap.instIsSubApply {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommGroup M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] :
IsSubApply (ConvexSpace.AffineMap R X M)
@[instance_reducible]
instance Convexity.ConvexSpace.AffineMap.instAddCommGroup {R : Type u_1} {X : Type u_3} {M : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [ConvexSpace R X] [AddCommGroup M] [Module R M] [ConvexSpace R M] [IsModuleConvexSpace R M] :
AddCommGroup (ConvexSpace.AffineMap R X M)
Equations
- One or more equations did not get rendered due to their size.
Compatibility with the pointwise convex space structure #
instance Convexity.ConvexSpace.AffineMap.instIsModuleConvexSpace {X : Type u_3} {M : Type u_4} {R : Type u_5} {S : Type u_6} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [AddCommMonoid M] [Module R M] [Module S M] [SMulCommClass S R M] [ConvexSpace R M] [IsModuleConvexSpace R M] [ConvexSpace S M] [IsModuleConvexSpace S M] :
IsModuleConvexSpace S (ConvexSpace.AffineMap R X M)