Documentation

Mathlib.Geometry.Convex.AffineMap.Defs

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]
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) :
(sConvexComb w) x = iConvexComb w fun (x_1 : ConvexSpace.AffineMap R X Y) => x_1 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) :
(iConvexComb w f) x = iConvexComb w fun (i : I) => (f i) 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) :
(convexCombPair a b ha hb hab f g) x = convexCombPair a b ha hb hab (f x) (g x)