Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2, p. 81 — ‖f_j − f₀‖_F ≤ L·D₀ under the Lipschitz condition

Proved
StochOptForest.ApxRisk.fnorm_le_lip_diam

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

lipschitzp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1perturbation-analysissplitting-criterion

Let μ\muμ be a probability measure on Rp\mathbb R^pRp and cˉ\bar ccˉ a regression cost that is twice continuously differentiable in zzz and xxx-Lipschitz with constant LLL (in cˉ\bar ccˉ, ∇zcˉ\nabla_z\bar c∇z​cˉ and ∇z2cˉ\nabla^2_z\bar c∇z2​cˉ, uniformly in zzz). Let Rj⊆R0⊆RpR_j\subseteq R_0\subseteq\mathbb R^pRj​⊆R0​⊆Rp be measurable, R0R_0R0​ bounded with diameter D0=sup⁡x,x′∈R0∥x−x′∥2\mathcal D_0=\sup_{x,x'\in R_0}\|x-x'\|_2D0​=supx,x′∈R0​​∥x−x′∥2​, and μ(Rj)>0\mu(R_j)>0μ(Rj​)>0. Then for every z∈Rdz\in\mathbb R^dz∈Rd

∣fj(z)−f0(z)∣≤LD0,∥∇fj(z)−∇f0(z)∥2≤LD0,∥∇2fj(z)−∇2f0(z)∥≤LD0,|f_j(z)-f_0(z)|\le L\mathcal D_0,\qquad \|\nabla f_j(z)-\nabla f_0(z)\|_2\le L\mathcal D_0,\qquad \|\nabla^2 f_j(z)-\nabla^2 f_0(z)\|\le L\mathcal D_0,∣fj​(z)−f0​(z)∣≤LD0​,∥∇fj​(z)−∇f0​(z)∥2​≤LD0​,∥∇2fj​(z)−∇2f0​(z)∥≤LD0​,

that is, ∥fj−f0∥F≤LD0\|f_j-f_0\|_{\mathcal F}\le L\mathcal D_0∥fj​−f0​∥F​≤LD0​.

This bound is the input that converts the o(∥fj−f0∥F2)o(\|f_j-f_0\|^2_{\mathcal F})o(∥fj​−f0​∥F2​) error of Theorem 9 into the o(D02)o(\mathcal D_0^2)o(D02​) error of Theorem 2.

Formalization Note The paper writes ∥fj−f0∥F=O(D02)\|f_j-f_0\|_{\mathcal F}=O(\mathcal D_0^2)∥fj​−f0​∥F​=O(D02​); the correct order is O(D0)O(\mathcal D_0)O(D0​) (for cˉ(x,z)=(z−x)2/2\bar c(x,z)=(z-x)^2/2cˉ(x,z)=(z−x)2/2 the gradients differ by the difference of the region means of XXX), and O(D0)O(\mathcal D_0)O(D0​) is what the conclusion of Theorem 2 needs. Condition 4 of Theorem 2 is read as the xxx-Lipschitz bound on cˉ\bar ccˉ and its first two zzz-derivatives, which is how the proof uses it. The Hessian difference is measured in operator norm.

Preamble
import Mathlib
import Definitions.Def_StochOptForest_ApxRisk_Model
Formal statement
namespace StochOptForest.ApxRisk

open MeasureTheory

theorem fnorm_le_lip_diam {p d : ℕ} (μ : Measure (Xp p)) [IsProbabilityMeasure μ]
    (cbar : Xp p → Ed d → ℝ) (L : ℝ) (hC2 : ∀ x, ContDiff ℝ 2 (cbar x))
    (hLip : XLipschitz cbar L) (R0 Rj : Set (Xp p)) (hR0 : MeasurableSet R0)
    (hRj : MeasurableSet Rj) (hsub : Rj ⊆ R0) (hR0b : Bornology.IsBounded R0)
    (hpos : 0 < μ Rj) :
    FNormLE (fun z => regionAvg μ cbar Rj z - regionAvg μ cbar R0 z) (L * Metric.diam R0) := by sorry

end StochOptForest.ApxRisk
Source
Kallus & Mao, arXiv:2008.07473v6, p. 81, Proof for Theorem 2 (and p. 65, last paragraph of §D.4)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 23, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

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, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me