{
  "artifactId": "artifact.library.mathlib.jensen-inequality.v001",
  "candidateOnly": false,
  "category": "Analysis",
  "claimBoundary": "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.",
  "collectionSlug": "landmark-theorems-in-mathlib",
  "exactFormalStatement": "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)",
  "family": "Convex analysis",
  "id": "library.mathlib.jensen-inequality.v001",
  "links": {
    "collection": "/collections/landmark-theorems-in-mathlib/",
    "collectionData": "/data/collections/mathlib-landmarks.json",
    "entry": "/library-theorems/jensen-inequality/",
    "entryData": "/data/library-theorems/jensen-inequality.json",
    "evidence": "/proofs/artifact.library.mathlib.jensen-inequality.v001.html",
    "evidenceData": "/data/proofs/artifact.library.mathlib.jensen-inequality.v001.evidence.json",
    "source": "/sources/upstream/jensen-inequality/"
  },
  "landmark": {
    "completeFormalType": "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)",
    "concepts": [
      "convex functions",
      "finite weighted sums",
      "nonnegative weights",
      "barycenters",
      "ordered modules",
      "convex combinations"
    ],
    "plainLanguage": "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.",
    "poster": {
      "alt": "An ivory Jensen inequality poster places the exact finite weighted-sum inequality above a convex bowl, where several weighted source values balance over a lower value at their barycenter, followed by the convexity, nonnegativity, normalization, and membership hypotheses.",
      "byteSize": 2728292,
      "caption": "A convex function evaluated at a normalized finite weighted sum does not exceed the corresponding weighted sum of its values.",
      "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.",
      "derivatives": [
        {
          "byteSize": 124754,
          "height": 960,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/jensen-inequality/theorem-poster-v1-640.webp",
          "sha256": "sha256:53bec5f9050051b5ccdda36122373d91c332bd19060fe4ad2dd7481dad58475d",
          "width": 640
        },
        {
          "byteSize": 280138,
          "height": 1536,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/jensen-inequality/theorem-poster-v1-1024.webp",
          "sha256": "sha256:b6aed153ac4737b533abe6967d880ceddacef26b99ecf9084363ded9a57763ad",
          "width": 1024
        }
      ],
      "generatedAt": "2026-07-27T10:31:13-04:00",
      "height": 1536,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/jensen-inequality/theorem-poster-v1.png",
      "sha256": "sha256:ae2880a71ae847e3cbf6e444f84e6c0f3fa8f56ee9be5323e2a890890dd42ae1",
      "title": "Jensen's inequality at a glance",
      "width": 1024,
      "kind": "theorem_poster",
      "transcript": "ANALYSIS · CONVEXITY\nJENSEN'S INEQUALITY\nNONNEGATIVE WEIGHTS · TOTAL WEIGHT 1\nf(∑ i ∈ t, w i • p i) ≤ ∑ i ∈ t, w i • f(p i)\nTHE VALUE AT A WEIGHTED BARYCENTER\nDOES NOT EXCEED THE WEIGHTED AVERAGE OF THE VALUES\nCONVEX ON s\n0 ≤ w i\n∑ i ∈ t, w i = 1\np i ∈ s\nEXACT SCOPE\nFinite weighted sums. Non-strict convex inequality. Not the integral, strict, equality-case, or concave form."
    },
    "visual": {
      "alt": "Several differently sized source points inside a convex domain send weighted gold strands to one emerald barycenter; their lifted cobalt values combine at an upper marker while the barycenter's emerald value remains below it on a convex surface.",
      "byteSize": 3515813,
      "caption": "Nonnegative normalized weights combine points in the convex domain, and convexity keeps the value at their barycenter below the weighted combination of their values.",
      "description": "A dark engraved field pairs a lower convex domain with an upper convex surface. Cobalt source points of different visual weights converge to an emerald barycenter in the domain. Their lifted values converge to a central cobalt weighted-average marker; directly beneath it, the emerald value at the barycenter sits lower, with an ivory less-than-or-equal motif between them. Shape, strand thickness, height, and grouping preserve the relationship without relying on color.",
      "derivatives": [
        {
          "byteSize": 53406,
          "height": 427,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/jensen-inequality/theorem-schematic-v1-640.webp",
          "sha256": "sha256:289fdca40dfd5291e8bdb007fd2795ee3273ea1cdb09b53f9ee47c96c9b22f7e",
          "width": 640
        },
        {
          "byteSize": 236000,
          "height": 800,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/jensen-inequality/theorem-schematic-v1-1200.webp",
          "sha256": "sha256:1fcb5b5879175a483cb4b511c6341cd61fbcb3dd2da8b4594b5ba28e36de27a3",
          "width": 1200
        }
      ],
      "generatedAt": "2026-07-27T10:31:13-04:00",
      "height": 1024,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/jensen-inequality/theorem-schematic-v1.png",
      "sha256": "sha256:cf005a4f773c3b1cc555747359bc2a3ffcd58c881ac0ce89cff261c1596015d8",
      "title": "Weighted points, one barycenter, and the convexity bound",
      "width": 1536
    },
    "walkthrough": null,
    "whyLandmark": "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."
  },
  "nonClaims": [
    "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."
  ],
  "publicExportEligible": true,
  "relationship": "upstream_direct",
  "schemaVersion": "library-theorem-entry-data.v1",
  "statementId": "statement.library.mathlib.jensen-inequality.v001",
  "statusAxes": {
    "acceptedAtlasResult": "Not recorded for the preferred artifact",
    "locallyReproduced": "Exact upstream declaration replayed",
    "reviewedPage": "Current public presentation reviewed",
    "upstreamIndexed": "Pinned source bytes verified locally"
  },
  "summary": "Convexity bounds the value at a normalized finite weighted sum by the corresponding weighted sum of the values.",
  "targetId": "target.library.mathlib.jensen-inequality.v001",
  "title": "Jensen's Inequality",
  "upstreamOrigin": {
    "declarationName": "ConvexOn.map_sum_le",
    "immutableSourceUrl": "https://github.com/leanprover-community/mathlib4/blob/5e932f97dd25535344f80f9dd8da3aab83df0fe6/Mathlib/Analysis/Convex/Jensen.lean#L67",
    "packageName": "mathlib",
    "repositoryUrl": "https://github.com/leanprover-community/mathlib4",
    "sourceArtifactHash": "sha256:0621fdda1103259f6ead0b7e9973f1cb9d0a38a7f89f316e8481dc60937f4404",
    "sourceByteLength": 18407,
    "sourceCommit": "5e932f97dd25535344f80f9dd8da3aab83df0fe6",
    "sourceFile": "Mathlib/Analysis/Convex/Jensen.lean",
    "sourceLine": 67,
    "verificationKind": "git_worktree"
  },
  "publicPresentationReview": {
    "status": "reviewed"
  }
}
