Existing in Mathlib · Analysis
Jensen's Inequality
For finitely many points in a convex domain, nonnegative weights that add to one produce a weighted barycenter; a convex function's value there is no greater than the same weighted average of its values at the original points.
- convex functions
- finite weighted sums
- nonnegative weights
- barycenters
- ordered modules
- convex combinations
Exact theorem
Exact Mathlib statement
theorem ConvexOn.map_sum_le {𝕜 E β ι : Type*} [Field 𝕜] [LinearOrder 𝕜] [IsStrictOrderedRing 𝕜] [AddCommGroup E] [AddCommGroup β] [PartialOrder β] [IsOrderedAddMonoid β] [Module 𝕜 E] [Module 𝕜 β] [IsStrictOrderedModule 𝕜 β] {s : Set E} {f : E → β} {t : Finset ι} {w : ι → 𝕜} {p : ι → E} (hf : ConvexOn 𝕜 s f) (h₀ : ∀ i ∈ t, 0 ≤ w i) (h₁ : ∑ i ∈ t, w i = 1) (hmem : ∀ i ∈ t, p i ∈ s) : f (∑ i ∈ t, w i • p i) ≤ ∑ i ∈ t, w i • f (p i)The theorem at a glance
Jensen's inequality at a glance
A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.
Jensen's inequality at a glance

Detailed visual description
The poster leads with the finite Jensen formula. Beneath it, several cobalt source-value markers on a convex bowl send antique-gold weighted threads to one emerald barycenter value; a separate vertical bracket keeps that value at or below the weighted-value level. Four hypothesis cards retain convexity on s, nonnegative weights, total weight one, and membership of every indexed point in s. The footer excludes integral, strict, equality-case, and concave variants.
Statement structure
From hypotheses to conclusion
This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.
Weighted barycenter below the weighted value

Detailed visual description
Inside a softly bounded lower domain, a circle, square, triangle, and diamond send forward blue strands of different positive widths into one braided green central knot. Matching outlined shapes sit on a charcoal upward-convex curve above. Four patterned blue paths converge from those curve points to a gold weighted-value marker, while a dashed vertical guide descends to a green marker on the curve directly above the barycenter. A pale gold echo ring around the lower marker keeps coincidence visually available, so the representative spacing does not turn the non-strict comparison into a strict theorem.
Why it matters
A mathematical landmark
Jensen's inequality is one of the central organizing principles of convex analysis, converting geometric convexity into a quantitative bound for averages. Mathlib's selected declaration gives a broad finite weighted-sum form over ordered modules, making the normalization and domain-membership hypotheses explicit.
ProofAtlas record
What has been checked
Mathlib is the source of the theorem; the local Lean replay and page review are separate.
Claim boundary
No new theorem is claimed
This page indexes Mathlib's finite weighted-sum form of Jensen's inequality. The selected declaration assumes a convex function on s, finitely many points p i in s, nonnegative weights w i, and the exact normalization ∑ i ∈ t, w i = 1; it concludes f (∑ i ∈ t, w i • p i) ≤ ∑ i ∈ t, w i • f (p i). It is not integral or expectation Jensen, the strict inequality or equality case, the concave reverse inequality, or a special theorem for a fixed number of points.
- The selected declaration is the finite Finset.sum form; it does not state an integral, expectation, or probability-measure form of Jensen's inequality.
- The conclusion is non-strict and does not characterize equality; Mathlib records strict and equality-case variants separately under stronger hypotheses.
- The selected declaration is convex and has the ≤ direction; it is not the concave reverse inequality.
- The representative visuals use finitely many drawn points for intuition, but the theorem is not restricted to that number of points or to a one-dimensional real-valued setting.
- ProofAtlas is indexing an existing Mathlib theorem, and generated explanations and visuals are not proof evidence.
Source and local evidence
Where the theorem comes from
- Existing declaration
ConvexOn.map_sum_lein mathlib- Relationship
- The checked artifact is the upstream declaration itself
- Local Lean evidence
artifact.library.mathlib.jensen-inequality.v001