The convex space of affine maps #
This file shows that affine maps between two convex spaces X and Y themselves form a convex
space under pointwise convex combinations.
theorem Convexity.IsAffineMap.iConvexComb {R : Type u_1} {S : Type u_2} {X : Type u_3} {Y : Type u_4} {I : Type u_6} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [ConvexSpace R Y] [ConvexSpace S Y] [IsConvexCombComm S R Y] {f : I → X → Y} (hf : ∀ (i : I), IsAffineMap R (f i)) (w : StdSimplex S I) :
IsAffineMap R fun (x : X) => iConvexComb w fun (x_1 : I) => f x_1 x
A pointwise S-convex combination of R-affine maps is R-affine.
This requires the R-convex space and S-convex space structures on the codomain to commute, as it
essentially swaps around two combinations.
@[instance_reducible]
noncomputable instance Convexity.ConvexSpace.AffineMap.instConvexSpace {R : Type u_1} {S : Type u_2} {X : Type u_3} {Y : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [ConvexSpace R Y] [ConvexSpace S Y] [IsConvexCombComm S R Y] :
ConvexSpace S (ConvexSpace.AffineMap R X Y)
Equations
- One or more equations did not get rendered due to their size.
@[simp]
theorem Convexity.ConvexSpace.AffineMap.sConvexComb_apply {R : Type u_1} {S : Type u_2} {X : Type u_3} {Y : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [ConvexSpace R Y] [ConvexSpace S Y] [IsConvexCombComm S R Y] (w : StdSimplex S (ConvexSpace.AffineMap R X Y)) (x : X) :
theorem Convexity.ConvexSpace.AffineMap.isAffineMap_eval {R : Type u_1} {S : Type u_2} {X : Type u_3} {Y : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [ConvexSpace R Y] [ConvexSpace S Y] [IsConvexCombComm S R Y] (x : X) :
IsAffineMap S fun (f : ConvexSpace.AffineMap R X Y) => f x
Evaluation at a point is affine in the affine map.
@[simp]
theorem Convexity.ConvexSpace.AffineMap.iConvexComb_apply {R : Type u_1} {S : Type u_2} {X : Type u_3} {Y : Type u_4} {I : Type u_6} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [ConvexSpace R Y] [ConvexSpace S Y] [IsConvexCombComm S R Y] (w : StdSimplex S I) (f : I → ConvexSpace.AffineMap R X Y) (x : X) :
@[simp]
theorem Convexity.ConvexSpace.AffineMap.convexCombPair_apply {R : Type u_1} {S : Type u_2} {X : Type u_3} {Y : Type u_4} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [ConvexSpace R Y] [ConvexSpace S Y] [IsConvexCombComm S R Y] (a b : S) (ha : 0 ≤ a) (hb : 0 ≤ b) (hab : a + b = 1) (f g : ConvexSpace.AffineMap R X Y) (x : X) :
theorem Convexity.ConvexSpace.AffineMap.isAffineMap_const_comp {R : Type u_1} {S : Type u_2} {X : Type u_3} {Y : Type u_4} {Z : Type u_5} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [ConvexSpace R Y] [ConvexSpace S Y] [ConvexSpace R Z] [ConvexSpace S Z] [IsConvexCombComm S R Y] [IsConvexCombComm S R Z] (g : ConvexSpace.AffineMap R Y Z) (hg : IsAffineMap S ⇑g) :
IsAffineMap S g.comp
theorem Convexity.ConvexSpace.AffineMap.isAffineMap_comp_const {R : Type u_1} {S : Type u_2} {X : Type u_3} {Y : Type u_4} {Z : Type u_5} [Semiring R] [PartialOrder R] [IsStrictOrderedRing R] [Semiring S] [PartialOrder S] [IsStrictOrderedRing S] [ConvexSpace R X] [ConvexSpace R Y] [ConvexSpace R Z] [ConvexSpace S Z] [IsConvexCombComm S R Z] (f : ConvexSpace.AffineMap R X Y) :
IsAffineMap S fun (g : ConvexSpace.AffineMap R Y Z) => g.comp f