Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Gradient bound for the comparison difference, with constants independent of δ\deltaδ

Proved
OAI.SmoothLocal.Perturbation.exists_actual_uniform_comparison_gradient

by wurtle · Nov 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

differential-geometryisometric-immersion

Notation. S=[−3,3]2S=[-3,3]^2S=[−3,3]2 is the model square; a metric is a smooth positive matrix field ggg; zzz is a scalar height; H=∇g2zH=\nabla_g^2zH=∇g2​z is its covariant Hessian; KgK_gKg​ is the Gaussian curvature; E=det⁡g (1−∣dz∣g2)E=\det g\,(1-|dz|_g^2)E=detg(1−∣dz∣g2​); q=Hxy/Hyyq=H_{xy}/H_{yy}q=Hxy​/Hyy​ is the Hessian quotient; κ(x2−h(y))\kappa(x^2-h(y))κ(x2−h(y)) is the model curvature; the patch box and the central box are the squares [−1/10,1/10]2[-1/10,1/10]^2[−1/10,1/10]2 and [−1/5,1/5]2[-1/5,1/5]^2[−1/5,1/5]2; the sheared coordinates are ξ=x, θ=y+q0x\xi=x,\ \theta=y+q_0xξ=x, θ=y+q0​x, with sheared height zsz_szs​; LLL and v∗v_*v∗​ are the class width and speed of (4.2); g~τ\tilde g_\taug~​τ​ is the test metric (4.12) built from g∗g_*g∗​; a bounded admissible height of bound MMM is an admissible height with (4.1).

Let g∗g_*g∗​ be smooth and positive on an open V⊇SV\supseteq SV⊇S with C2C^2C2 bound GGG and det⁡g∗≥d\det g_*\ge ddetg∗​≥d on SSS, and fix κ,q0,M\kappa,q_0,Mκ,q0​,M. There is r∈(0,1/2)r\in(0,1/2)r∈(0,1/2) with Lr≤1/20Lr\le1/20Lr≤1/20 and rrr small such that for every N>2N>2N>2 there are Cres,Csource,CgradientC_{\mathrm{res}},C_{\mathrm{source}},C_{\mathrm{gradient}}Cres​,Csource​,Cgradient​ such that for 0<δ≤1/20<\delta\le1/20<δ≤1/2 and all large τ\tauτ: for every patch perturbation η\etaη, flow data and bounded admissible height zzz of bound MMM with the usual bounds and ggg within τ−τ\tau^{-\tau}τ−τ of the test metric, the Taylor approximation PPP of the sheared height has residual of size ≤Cresτ−N\le C_{\mathrm{res}}\tau^{-N}≤Cres​τ−N with weighted moment at most 2Cres(∫χ)δ τ−(N+1)2C_{\mathrm{res}}\big(\int\chi\big)\delta\,\tau^{-(N+1)}2Cres​(∫χ)δτ−(N+1), the source satisfies ∣F∣≤Csourceτ2−N|F|\le C_{\mathrm{source}}\tau^{2-N}∣F∣≤Csource​τ2−N, and for ∣θ∣≤δ/τ|\theta|\le\delta/\tau∣θ∣≤δ/τ, i∈{1,2}i\in\{1,2\}i∈{1,2},

(∫∣x∣≤Lr/16(∂i(P−zs))2(x,θ) dx)1/2≤Cgradient δ τ1−N.\Big(\int_{|x|\le Lr/16}\big(\partial_i(P-z_s)\big)^2(x,\theta)\,dx\Big)^{1/2}\le C_{\mathrm{gradient}}\,\delta\,\tau^{1-N}.(∫∣x∣≤Lr/16​(∂i​(P−zs​))2(x,θ)dx)1/2≤Cgradient​δτ1−N.

Formalization Note. This is the upstream Lean declaration OAI.SmoothLocal.Perturbation.exists_actual_uniform_comparison_gradient in lean/OAI/Geometry/IsometricImmersion/Comparison/ActualUniformComparisonGradient.lean, stated verbatim; the Lean statement is authoritative for the precise hypotheses. It is an intermediate result of OpenAI's formalization.

Preamble
import Mathlib
import Definitions.Def_IsometricImmersion
import Definitions.Def_SmoothLocalIsometricSupport

namespace OAI

noncomputable section
open Set Filter Function MeasureTheory
open scoped ContDiff Topology Matrix Matrix.Norms.Elementwise

namespace SmoothLocal.Perturbation
open SmoothLocal.Geometry SmoothLocal.Pulse SmoothLocal.HighEquation SmoothLocal.Flow
open SmoothLocal.ODE SmoothLocal.Weighted SmoothLocal.Hyperbolic SmoothLocal.Taylor

Formal statement
theorem exists_actual_uniform_comparison_gradient
    {gStar : MetricField} {V : Set Coord}
    (hgStar : SmoothPositiveOn gStar V) (hV : IsOpen V) (hSV : modelSquare ⊆ V)
    {G d kappa q0 : ℝ} (M : ℕ) (hG : 0 ≤ G) (hd : 0 < d)
    (hgStarB : ∀ i j k, k ≤ 2 → ∀ p ∈ modelSquare,
      ‖iteratedFDeriv ℝ k (fun q => gStar q i j) p‖ ≤ G)
    (hdStar : ∀ p ∈ modelSquare, d ≤ (gStar p).det)
    (hkappa : 0 < kappa) (hM : 0 < M) (hq0 : |q0| ≤ 1/20) :
    ∃ r : ℝ, 0 < r ∧ r < 1/2 ∧ boundedClassWidth kappa M*r ≤ 1/20 ∧
      heightQuotientJetBound G (M : ℝ) d (1/(M : ℝ))*
        (r+107*(boundedClassWidth kappa M*r)/100) ≤ 9/(100*boundedClassWidth kappa M) ∧
      ∀ N : ℕ, 2 < N → ∃ Cres Csource Cgradient : ℝ,
        0 ≤ Cres ∧ 0 < Csource ∧ 0 ≤ Cgradient ∧
        ∀ delta : ℝ, 0 < delta → delta ≤ 1/2 →
        ∀ᶠ tau : ℕ in atTop,
          ∀ (g0 : MetricField) (eta : metricPatchSet g0 kappa) (U W : Set Coord)
            (z : Coord → ℝ) (Y : ℝ → ℝ → ℝ),
            SmoothPositiveOn (perturbedMetric g0 eta.val) U → IsOpen U →
            CapInductionHeight (perturbedMetric g0 eta.val) U (M : ℝ) (1/(M : ℝ)) (1/(M : ℝ)) z →
            CapInductionFlow (perturbedMetric g0 eta.val) U G (M : ℝ) d (1/(M : ℝ)) (1/(M : ℝ)) kappa z Y W →
            BoundedAdmissibleHeight (perturbedMetric g0 eta.val) M z →
            (∀ i j k, k ≤ 4 → ∀ p ∈ modelSquare,
              ‖iteratedFDeriv ℝ k (fun q => perturbedMetric g0 eta.val q i j) p‖ ≤ G) →
            (∀ p ∈ modelSquare, d ≤ |(perturbedMetric g0 eta.val p).det|) →
            |hessianQuotient (perturbedMetric g0 eta.val) z 0-q0| ≤ 1/(100*boundedClassWidth kappa M) →
            (∀ i j : Fin 2, ∀ k ≤ tau, ∀ p ∈ modelSquare,
              ‖iteratedFDeriv ℝ k (fun q => perturbedMetric g0 eta.val q i j-
                testMetric gStar q0 (boundedClassWidth kappa M*r/16) N delta (tau : ℝ) q i j) p‖ ≤
                  metricApproximationAccuracy tau) →
            let zs := heightInShearCoordinates z q0
            let gs := metricInShearCoordinates gStar q0
            let P := taylorApproximation gs (-delta/(tau : ℝ))
              (heightCauchyValue zs (-delta/(tau : ℝ)))
              (heightCauchyVelocity zs (-delta/(tau : ℝ))) N
            ContDiffOn ℝ ∞ P (spatialStrip (Ioo (-(boundedClassWidth kappa M*r)) (boundedClassWidth kappa M*r))) ∧
            (∀ x ∈ Ioo (-(boundedClassWidth kappa M*r)) (boundedClassWidth kappa M*r),
              P ![x,-delta/(tau : ℝ)] = zs ![x,-delta/(tau : ℝ)] ∧
              coordPartial 1 P ![x,-delta/(tau : ℝ)] = coordPartial 1 zs ![x,-delta/(tau : ℝ)]) ∧
            (∀ x, ∃ Q : Polynomial ℝ, Q.natDegree ≤ N+1 ∧ ∀ t, Q.eval t = P ![x,t]) ∧
            (∀ x : ℝ, |x| ≤ boundedClassWidth kappa M*r/2 →
              ∀ t ∈ Icc (-delta/(tau : ℝ)) (delta/(tau : ℝ)),
                (boundedClassSpeed kappa M)^2/(8*(M : ℝ)) ≤ |covHessian gs P ![x,t] 0 0| ∧
                |qResidual gs P ![x,t]| ≤ Cres/(tau : ℝ)^N) ∧
            ContinuousOn (qResidual gs P)
              (pulseStrip (boundedClassWidth kappa M*r/16) delta (tau : ℝ)) ∧
            |pulseWeightedMoment (boundedClassWidth kappa M*r/16) delta (tau : ℝ) (qResidual gs P)| ≤
              (2*Cres*(∫ x : ℝ, axisBump (boundedClassWidth kappa M*r/16) x))*delta/(tau : ℝ)^(N+1) ∧
            (∀ p ∈ pulseStrip (boundedClassWidth kappa M*r/2) delta (tau : ℝ),
              |actualComparisonSource gStar (perturbedMetric g0 eta.val) z q0 P p| ≤
                Csource*(tau : ℝ)^2/(tau : ℝ)^N) ∧
            (∀ theta ∈ Icc (-(delta/(tau : ℝ))) (delta/(tau : ℝ)), ∀ i : Fin 2,
              Real.sqrt (∫ x in Icc (-(boundedClassWidth kappa M*r/16)) (boundedClassWidth kappa M*r/16),
                (coordPartial i (comparisonDifference P zs) (boxPoint x theta))^2) ≤
                Cgradient*delta*(tau : ℝ)/(tau : ℝ)^N) := by
  sorry

end SmoothLocal.Perturbation
end
end OAI
Source
OpenAI, A Smooth Metric with No Local Isometric Immersion into Three-Space, September 24, 2026, https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-Smooth-Metric-with-No-Local-Isometric-Immersion-into-Three-Space-September-24-2026/paper.pdf; Lean: openai/math at adc7f1241b42e322a6451854ab7e4b4c146bf78a, lean/OAI/Geometry/IsometricImmersion/ (Apache License 2.0), file lean/OAI/Geometry/IsometricImmersion/Comparison/ActualUniformComparisonGradient.lean; Section 4.4, (4.19)

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me