Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 5 (second part) — J_xF_l(θ; ·) is β_l(θ)-Lipschitz in operator norm

Proved
CertDRO.NNSmooth.proposition_5_part_2

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

jacobianneural-networksp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1smoothness

Let a network of depth LLL satisfy Assumption E with layer constants Ll0,Ll1L^0_l, L^1_lLl0​,Ll1​, and let

αl(θ)=∏j=1lLj0∥θj∥op,βl(θ)=αl(θ)∑j=1lLj1(Lj0)2 αj(θ)\alpha_l(\theta)=\prod_{j=1}^{l}L^0_j\|\theta_j\|_{\mathrm{op}},\qquad\beta_l(\theta)=\alpha_l(\theta)\sum_{j=1}^{l}\frac{L^1_j}{(L^0_j)^2}\,\alpha_j(\theta)αl​(θ)=j=1∏l​Lj0​∥θj​∥op​,βl​(θ)=αl​(θ)j=1∑l​(Lj0​)2Lj1​​αj​(θ)

as in (21). Then for every l=0,…,Ll=0,\dots,Ll=0,…,L and all inputs x,x′x,x'x,x′,

∥JxFl(θ;x)−JxFl(θ;x′)∥op≤βl(θ) ∥x−x′∥2,\big\|J_xF_l(\theta;x)-J_xF_l(\theta;x')\big\|_{\mathrm{op}}\le\beta_l(\theta)\,\|x-x'\|_2 ,​Jx​Fl​(θ;x)−Jx​Fl​(θ;x′)​op​≤βl​(θ)∥x−x′∥2​,

where ∥⋅∥op\|\cdot\|_{\mathrm{op}}∥⋅∥op​ is the ℓ2\ell_2ℓ2​-operator (spectral) norm.

This is the smoothness half of Proposition 5: it bounds the input-smoothness constant of a deep network, the quantity LzzL_{zz}Lzz​ that the paper's certificates require to be smaller than the penalty γ\gammaγ.

Formalization Note The Jacobian is the Fréchet derivative fderiv ℝ (F l), a continuous linear map, with the operator norm. The case l=0l=0l=0 (identity map, β0=0\beta_0=0β0​=0) is included and trivial. The positivity Ll0>0L^0_l>0Ll0​>0 of Assumption E makes the quotients in (21) well defined.

Preamble
import Mathlib
import Definitions.Def_CertDRO_NNSmooth_Network
Formal statement
namespace CertDRO.NNSmooth

open Network

/-- Proposition 5, second part (p. 13; proof pp. 45–46). Under Assumption E for the first `L`
layers, the Jacobian `x ↦ J_x F_l(θ; x)` of every `F_l(θ; ·)`, `l ≤ L`, is `β_l(θ)`-Lipschitz
from the ℓ²-norm on inputs to the ℓ²-operator norm on Jacobians, with `β_l(θ)` given by (21). -/
theorem proposition_5_part_2 (N : Network) (L : ℕ) (L0 L1 : ℕ → ℝ)
    (hE : N.AssumptionE L L0 L1) :
    ∀ l ≤ L, ∀ x x' : E (N.dO 0),
      ‖fderiv ℝ (N.F l) x - fderiv ℝ (N.F l) x'‖ ≤ N.β L0 L1 l * ‖x - x'‖ := by sorry

end CertDRO.NNSmooth
Source
Sinha, Namkoong, Volpi, Duchi, Certifying Some Distributional Robustness with Principled Adversarial Training, arXiv:1710.10571v5, p. 13, Proposition 5 (second part); proof pp. 45–46, §B.8
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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