The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.Convex.Jensen
36 declarations. Mathlib docs ยท Source
Jensen's inequality and maximum principle for convex functions
In this file, we prove the finite Jensen inequality and the finite maximum principle for convex
functions. The integral versions are to be found in Analysis.Convex.Integral.
Main declarations
Jensen's inequalities:
ConvexOn.map_centerMass_le,ConvexOn.map_sum_le: Convex Jensen's inequality. The image of a convex combination of points under a convex function is less than the convex combination of the images.ConcaveOn.le_map_centerMass,ConcaveOn.le_map_sum: Concave Jensen's inequality.StrictConvexOn.map_sum_lt: Convex strict Jensen inequality.StrictConcaveOn.lt_map_sum: Concave strict Jensen inequality.
As corollaries, we get:
StrictConvexOn.map_sum_eq_iff: Equality case of the convex Jensen inequality.StrictConcaveOn.map_sum_eq_iff: Equality case of the concave Jensen inequality.ConvexOn.exists_ge_of_mem_convexHull: Maximum principle for convex functions.ConcaveOn.exists_le_of_mem_convexHull: Minimum principle for concave functions.
Jensen's inequality
Strict Jensen inequality
Equality case of Jensen's inequality
Maximum principle
theorem ConvexOn.map_centerMass_le E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
ConvexOn ๐ s f โ
(โ i โ t, 0 โค w i) โ 0 < โ i โ t, w i โ (โ i โ t, p i โ s) โ f (t.centerMass w p) โค t.centerMass w (f โ p)
Convex Jensen's inequality, Finset.centerMass version.
theorem ConcaveOn.le_map_centerMass E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
ConcaveOn ๐ s f โ
(โ i โ t, 0 โค w i) โ 0 < โ i โ t, w i โ (โ i โ t, p i โ s) โ t.centerMass w (f โ p) โค f (t.centerMass w p)
Concave Jensen's inequality, Finset.centerMass version.
theorem ConvexOn.map_sum_le E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
ConvexOn ๐ s f โ
(โ i โ t, 0 โค w i) โ โ i โ t, w i = 1 โ (โ i โ t, p i โ s) โ f (โ i โ t, w i โข p i) โค โ i โ t, w i โข f (p i)
Convex Jensen's inequality, Finset.sum version.
theorem ConcaveOn.le_map_sum E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
ConcaveOn ๐ s f โ
(โ i โ t, 0 โค w i) โ โ i โ t, w i = 1 โ (โ i โ t, p i โ s) โ โ i โ t, w i โข f (p i) โค f (โ i โ t, w i โข p i)
Concave Jensen's inequality, Finset.sum version.
theorem ConvexOn.map_add_sum_le E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E} {v : ๐} {q : E},
ConvexOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
v + โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ 0 โค v โ q โ s โ f (v โข q + โ i โ t, w i โข p i) โค v โข f q + โ i โ t, w i โข f (p i)
Convex Jensen's inequality where an element plays a distinguished role.
theorem ConcaveOn.map_add_sum_le E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E} {v : ๐} {q : E},
ConcaveOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
v + โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ 0 โค v โ q โ s โ v โข f q + โ i โ t, w i โข f (p i) โค f (v โข q + โ i โ t, w i โข p i)
Concave Jensen's inequality where an element plays a distinguished role.
theorem StrictConvexOn.map_sum_lt E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ (โ j โ t, โ k โ t, p j โ p k) โ f (โ i โ t, w i โข p i) < โ i โ t, w i โข f (p i)
Convex strict Jensen inequality.
If the function is strictly convex, the weights are strictly positive and the indexed family of points is non-constant, then Jensen's inequality is strict.
See also StrictConvexOn.map_sum_eq_iff.
theorem StrictConcaveOn.lt_map_sum E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ (โ j โ t, โ k โ t, p j โ p k) โ โ i โ t, w i โข f (p i) < f (โ i โ t, w i โข p i)
Concave strict Jensen inequality.
If the function is strictly concave, the weights are strictly positive and the indexed family of points is non-constant, then Jensen's inequality is strict.
See also StrictConcaveOn.map_sum_eq_iff.
theorem StrictConvexOn.map_sum_eq_iff_of_pos E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) โ โ โฆj : ฮนโฆ, j โ t โ โ โฆk : ฮนโฆ, k โ t โ p j = p k)
A form of the equality case of Jensen's equality for the case of strict convex and positive weights.
theorem StrictConcaveOn.map_sum_eq_iff_of_pos E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) โ โ โฆj : ฮนโฆ, j โ t โ โ โฆk : ฮนโฆ, k โ t โ p j = p k)
A form of the equality case of Jensen's equality for the case of strict concave and positive weights.
theorem StrictConvexOn.map_sum_eq_iff_of_nonneg E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) โ
โ โฆj : ฮนโฆ, j โ t โ w j โ 0 โ โ โฆk : ฮนโฆ, k โ t โ w k โ 0 โ p j = p k)
A form of the equality case of Jensen's equality for the case of strict convex and non-negative weights.
theorem StrictConcaveOn.map_sum_eq_iff_of_nonneg E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) โ
โ โฆj : ฮนโฆ, j โ t โ w j โ 0 โ โ โฆk : ฮนโฆ, k โ t โ w k โ 0 โ p j = p k)
A form of the equality case of Jensen's equality for the case of strict concave and non-negative weights.
theorem StrictConvexOn.map_sum_lt_iff_of_pos E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ (f (โ i โ t, w i โข p i) < โ i โ t, w i โข f (p i) โ โ j โ t, โ k โ t, p j โ p k)
theorem StrictConcaveOn.lt_map_sum_iff_of_pos E1 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ (โ i โ t, w i โข f (p i) < f (โ i โ t, w i โข p i) โ โ j โ t, โ k โ t, p j โ p k)
theorem StrictConvexOn.map_sum_lt_iff_of_nonneg E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(f (โ i โ t, w i โข p i) < โ i โ t, w i โข f (p i) โ โ j โ t, โ k โ t, w j โ 0 โง w k โ 0 โง p j โ p k)
theorem StrictConcaveOn.lt_map_sum_iff_of_nonneg E1 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(โ i โ t, w i โข f (p i) < f (โ i โ t, w i โข p i) โ โ j โ t, โ k โ t, w j โ 0 โง w k โ 0 โง p j โ p k)
theorem StrictConvexOn.map_sum_eq_iff E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ (f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) โ โ j โ t, p j = โ i โ t, w i โข p i)
Canonical form of the equality case of Jensen's equality.
For a strictly convex function f and positive weights w, we have
f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) if and only if the points p are all equal
(and in fact all equal to their center of mass w.r.t. w).
theorem StrictConcaveOn.map_sum_eq_iff E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ (f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) โ โ j โ t, p j = โ i โ t, w i โข p i)
Canonical form of the equality case of Jensen's equality.
For a strictly concave function f and positive weights w, we have
f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) if and only if the points p are all equal
(and in fact all equal to their center of mass w.r.t. w).
theorem StrictConvexOn.map_sum_eq_iff' E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) โ โ j โ t, w j โ 0 โ p j = โ i โ t, w i โข p i)
Canonical form of the equality case of Jensen's equality.
For a strictly convex function f and nonnegative weights w, we have
f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) if and only if the points p with nonzero
weight are all equal (and in fact all equal to their center of mass w.r.t. w).
theorem StrictConcaveOn.map_sum_eq_iff' E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) โ โ j โ t, w j โ 0 โ p j = โ i โ t, w i โข p i)
Canonical form of the equality case of Jensen's equality.
For a strictly concave function f and nonnegative weights w, we have
f (โ i โ t, w i โข p i) = โ i โ t, w i โข f (p i) if and only if the points p with nonzero
weight are all equal (and in fact all equal to their center of mass w.r.t. w).
theorem StrictConvexOn.map_sum_lt_iff_of_pos' E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ (f (โ i โ t, w i โข p i) < โ i โ t, w i โข f (p i) โ โ j โ t, p j โ โ i โ t, w i โข p i)
Canonical form of the strict Jensen's inequality.
theorem StrictConcaveOn.lt_map_sum_iff_of_pos' E2 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 < w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ (โ i โ t, w i โข f (p i) < f (โ i โ t, w i โข p i) โ โ j โ t, p j โ โ i โ t, w i โข p i)
Canonical form of the strict Jensen's inequality.
theorem StrictConvexOn.map_sum_lt_iff_of_nonneg' E0 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConvexOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(f (โ i โ t, w i โข p i) < โ i โ t, w i โข f (p i) โ โ j โ t, w j โ 0 โง p j โ โ i โ t, w i โข p i)
Canonical form of the strict Jensen's inequality.
theorem StrictConcaveOn.lt_map_sum_iff_of_nonneg' E2 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : PartialOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{t : Finset ฮน} {w : ฮน โ ๐} {p : ฮน โ E},
StrictConcaveOn ๐ s f โ
(โ i โ t, 0 โค w i) โ
โ i โ t, w i = 1 โ
(โ i โ t, p i โ s) โ
(โ i โ t, w i โข f (p i) < f (โ i โ t, w i โข p i) โ โ j โ t, w j โ 0 โง p j โ โ i โ t, w i โข p i)
Canonical form of the strict Jensen's inequality.
theorem ConvexOn.le_sup_of_mem_convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ]
[inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ} {x : E}
{t : Finset E}, ConvexOn ๐ s f โ โt โ s โ โ (hx : x โ (convexHull ๐) โt), f x โค t.sup' โฏ f
theorem ConvexOn.inf_le_of_mem_convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ]
[inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ} {x : E}
{t : Finset E}, ConcaveOn ๐ s f โ โt โ s โ โ (hx : x โ (convexHull ๐) โt), t.inf' โฏ f โค f x
theorem ConvexOn.exists_ge_of_centerMass E1 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{w : ฮน โ ๐} {p : ฮน โ E} {t : Finset ฮน},
ConvexOn ๐ s f โ (โ i โ t, 0 โค w i) โ 0 < โ i โ t, w i โ (โ i โ t, p i โ s) โ โ i โ t, f (t.centerMass w p) โค f (p i)
If a function f is convex on s, then the value it takes at some center of mass of points of
s is less than the value it takes on one of those points.
theorem ConcaveOn.exists_le_of_centerMass E1 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} {ฮน : Type u_4} [inst : Field ๐] [inst_1 : LinearOrder ๐]
[IsStrictOrderedRing ๐] [inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ]
[IsOrderedAddMonoid ฮฒ] [inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ}
{w : ฮน โ ๐} {p : ฮน โ E} {t : Finset ฮน},
ConcaveOn ๐ s f โ (โ i โ t, 0 โค w i) โ 0 < โ i โ t, w i โ (โ i โ t, p i โ s) โ โ i โ t, f (p i) โค f (t.centerMass w p)
If a function f is concave on s, then the value it takes at some center of mass of points of
s is greater than the value it takes on one of those points.
theorem ConvexOn.exists_ge_of_mem_convexHull E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ]
[inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ} {x : E} {t : Set E},
ConvexOn ๐ s f โ t โ s โ x โ (convexHull ๐) t โ โ y โ t, f x โค f y
Maximum principle for convex functions. If a function f is convex on the convex hull of
s, then the eventual maximum of f on convexHull ๐ s lies in s.
theorem ConcaveOn.exists_le_of_mem_convexHull E3 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ]
[inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ} {x : E} {t : Set E},
ConcaveOn ๐ s f โ t โ s โ x โ (convexHull ๐) t โ โ y โ t, f y โค f x
Minimum principle for concave functions. If a function f is concave on the convex hull of
s, then the eventual minimum of f on convexHull ๐ s lies in s.
theorem ConvexOn.le_max_of_mem_segment E2 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ]
[inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ} {x y z : E},
ConvexOn ๐ s f โ x โ s โ y โ s โ z โ segment ๐ x y โ f z โค max (f x) (f y)
Maximum principle for convex functions on a segment. If a function f is convex on the
segment [x, y], then the eventual maximum of f on [x, y] is at x or y.
theorem ConcaveOn.min_le_of_mem_segment E2 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ]
[inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {s : Set E} {f : E โ ฮฒ} {x y z : E},
ConcaveOn ๐ s f โ x โ s โ y โ s โ z โ segment ๐ x y โ min (f x) (f y) โค f z
Minimum principle for concave functions on a segment. If a function f is concave on the
segment [x, y], then the eventual minimum of f on [x, y] is at x or y.
theorem ConvexOn.le_max_of_mem_Icc E2 #
โ {๐ : Type u_1} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup ฮฒ] [inst_4 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ] [inst_6 : Module ๐ ฮฒ]
[IsStrictOrderedModule ๐ ฮฒ] {s : Set ๐} {f : ๐ โ ฮฒ} {x y z : ๐},
ConvexOn ๐ s f โ x โ s โ y โ s โ z โ Set.Icc x y โ f z โค max (f x) (f y)
Maximum principle for convex functions on an interval. If a function f is convex on the
interval [x, y], then the eventual maximum of f on [x, y] is at x or y.
theorem ConcaveOn.min_le_of_mem_Icc E2 #
โ {๐ : Type u_1} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup ฮฒ] [inst_4 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ] [inst_6 : Module ๐ ฮฒ]
[IsStrictOrderedModule ๐ ฮฒ] {s : Set ๐} {f : ๐ โ ฮฒ} {x y z : ๐},
ConcaveOn ๐ s f โ x โ s โ y โ s โ z โ Set.Icc x y โ min (f x) (f y) โค f z
Minimum principle for concave functions on an interval. If a function f is concave on the
interval [x, y], then the eventual minimum of f on [x, y] is at x or y.
theorem ConvexOn.bddAbove_convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ]
[inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {f : E โ ฮฒ} {s t : Set E},
s โ t โ ConvexOn ๐ t f โ BddAbove (f '' s) โ BddAbove (f '' (convexHull ๐) s)
theorem ConcaveOn.bddBelow_convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} {ฮฒ : Type u_3} [inst : Field ๐] [inst_1 : LinearOrder ๐] [IsStrictOrderedRing ๐]
[inst_3 : AddCommGroup E] [inst_4 : AddCommGroup ฮฒ] [inst_5 : LinearOrder ฮฒ] [IsOrderedAddMonoid ฮฒ]
[inst_7 : Module ๐ E] [inst_8 : Module ๐ ฮฒ] [IsStrictOrderedModule ๐ ฮฒ] {f : E โ ฮฒ} {s t : Set E},
s โ t โ ConcaveOn ๐ t f โ BddBelow (f '' s) โ BddBelow (f '' (convexHull ๐) s)