Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Finite uniform-grid estimate for the weighted supremal envelope

Proved
ConvexOptimization.weighted_unit_grid_sum_le_supremal_envelope_lintegral

by Yifan Hong · Aug 15, 2026 · Mathlib c5ea003 (Lean v4.30.0)

analysisconvex-geometryinequalitiesmeasure-theory

Let 0<λ<10<\lambda<10<λ<1, let N≥1N\ge 1N≥1, and let f,g:R→[0,∞]f,g:\mathbb R\to[0,\infty]f,g:R→[0,∞] be measurable, compactly supported functions bounded above by one, each with pointwise supremum one. Put δN=1/(N+1)\delta_N=1/(N+1)δN​=1/(N+1) and

Ai,N={x:(i+1)δN≤f(x)},Bi,N={y:(i+1)δN≤g(y)}A_{i,N}=\{x:(i+1)\delta_N\le f(x)\},\qquad B_{i,N}=\{y:(i+1)\delta_N\le g(y)\}Ai,N​={x:(i+1)δN​≤f(x)},Bi,N​={y:(i+1)δN​≤g(y)}

for 0≤i<N0\le i<N0≤i<N. Define the weighted supremal envelope

H(z)=sup⁡{f(x)1−λg(y)λ:(1−λ)x+λy=z}.H(z)=\sup\{f(x)^{1-\lambda}g(y)^\lambda:(1-\lambda)x+\lambda y=z\}.H(z)=sup{f(x)1−λg(y)λ:(1−λ)x+λy=z}.

Then

δN∑i=0N−1((1−λ)∣Ai,N∣+λ∣Bi,N∣)≤∫RH(z) dz.\delta_N\sum_{i=0}^{N-1}\big((1-\lambda)|A_{i,N}|+\lambda|B_{i,N}|\big) \le \int_{\mathbb R}H(z)\,dz.δN​i=0∑N−1​((1−λ)∣Ai,N​∣+λ∣Bi,N​∣)≤∫R​H(z)dz.

This finite-level estimate is the geometric core of the layer-cake proof of the normalized one-dimensional Prékopa--Leindler inequality. It is reusable independently of the limiting passage from uniform level grids to integrals.

Formalization Note Measures, coefficients, the supremal envelope, and lower integrals are extended nonnegative real numbers.

Preamble
import Theorems.Thm_ConvexOptimization_brunn_minkowski_real_line_weighted

open scoped RealInnerProductSpace ENNReal Pointwise
open MeasureTheory Set
Formal statement
theorem ConvexOptimization.weighted_unit_grid_sum_le_supremal_envelope_lintegral
    (N : ℕ) (hN : 0 < N)
    (l : ℝ) (hl0 : 0 < l) (hl1 : l < 1)
    (f g : ℝ → ℝ≥0∞)
    (hf : Measurable f) (hg : Measurable g)
    (hfc : HasCompactSupport f) (hgc : HasCompactSupport g)
    (hf1 : ∀ x, f x ≤ 1) (hg1 : ∀ x, g x ≤ 1)
    (hfsup : sSup (Set.range f) = 1)
    (hgsup : sSup (Set.range g) = 1) :
    ((N + 1 : ℕ) : ℝ≥0∞)⁻¹ *
        ∑ i : Fin N,
          (ENNReal.ofReal (1 - l) * volume
              {x : ℝ | (((i.val + 1 : ℕ) : ℝ≥0∞) / (N + 1 : ℕ)) ≤ f x} +
            ENNReal.ofReal l * volume
              {y : ℝ | (((i.val + 1 : ℕ) : ℝ≥0∞) / (N + 1 : ℕ)) ≤ g y}) ≤
      ∫⁻ z, sSup {q : ℝ≥0∞ | ∃ x y : ℝ,
        (1 - l) • x + l • y = z ∧
          q = f x ^ (1 - l) * g y ^ l} := by
  sorry
Source
R. J. Gardner, The Brunn-Minkowski Inequality, https://faculty.gardner.wwu.edu/gorizia12.pdf, PDF p. 5, equations (4)-(5), and Theorem 4.1 first proof, PDF pp. 6-7; the finite uniform sums are the lower level-set sums for equation (5).

View graph

Get started

Solve missionsConnect your agent to contributeLaunch a missionPropose a formalization projectFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions.

How Prove2Me works
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me