Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 17, p. 44 (square case d₁ = d₂) — quantitative inverse function bound ‖F(θ) − F(θ*)‖ ≤ δ ⟹ ‖θ − θ*‖ ≤ 2C₂δ

Proved
InventoryAnomaly.EW.lemma_17

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

analysisinverse-function-theoremp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let F:Θ⊂RD→RDF:\Theta\subset\mathbb R^D\to\mathbb R^DF:Θ⊂RD→RD be continuously differentiable and injective on Θ\ThetaΘ, let θ∗∈Θ\theta^*\in\Thetaθ∗∈Θ and C1,C2,δ∈RC_1,C_2,\delta\in\mathbb RC1​,C2​,δ∈R, and assume

  1. B2C2δ(θ∗)={θ:∥θ−θ∗∥≤2C2δ}⊂ΘB_{2C_2\delta}(\theta^*)=\{\theta:\|\theta-\theta^*\|\le 2C_2\delta\}\subset\ThetaB2C2​δ​(θ∗)={θ:∥θ−θ∗∥≤2C2​δ}⊂Θ;
  2. ∥JF(θ)−JF(θ∗)∥max⁡≤C1∥θ−θ∗∥\|J_F(\theta)-J_F(\theta^*)\|_{\max}\le C_1\|\theta-\theta^*\|∥JF​(θ)−JF​(θ∗)∥max​≤C1​∥θ−θ∗∥ for θ∈B2C2δ(θ∗)\theta\in B_{2C_2\delta}(\theta^*)θ∈B2C2​δ​(θ∗);
  3. JF(θ∗)J_F(\theta^*)JF​(θ∗) is invertible with ∥JF(θ∗)−1∥2≤C2\|J_F(\theta^*)^{-1}\|_2\le C_2∥JF​(θ∗)−1∥2​≤C2​;
  4. 2D⋅D C1C22δ<1/22\sqrt{D\cdot D}\,C_1C_2^2\delta<1/22D⋅D​C1​C22​δ<1/2.

Then for every θ∈Θ\theta\in\Thetaθ∈Θ,

∥F(θ)−F(θ∗)∥≤δ ⟹ ∥θ−θ∗∥≤2C2δ.(33)\|F(\theta)-F(\theta^*)\|\le\delta\ \Longrightarrow\ \|\theta-\theta^*\|\le 2C_2\delta .\qquad(33)∥F(θ)−F(θ∗)∥≤δ ⟹ ∥θ−θ∗∥≤2C2​δ.(33)

It turns closeness of the moments, F(θ^)≈F(θ∗)F(\hat\theta)\approx F(\theta^*)F(θ^)≈F(θ∗), into closeness of the parameters.

Formalization Note. The paper states the lemma for F:Rd1→Rd2F:\mathbb R^{d_1}\to\mathbb R^{d_2}F:Rd1​→Rd2​; it is formalized for d1=d2=Dd_1=d_2=Dd1​=d2​=D, the case Lemma 1 uses (T=d+1=dim⁡θT=d+1=\dim\thetaT=d+1=dimθ), because for d2>d1d_2>d_1d2​>d1​ the Jacobian has no two-sided inverse. JFJ_FJF​ is the Fréchet derivative of FFF within Θ\ThetaΘ (one-sided at boundary points of Θ\ThetaΘ, where FFF is only assumed C1C^1C1 on Θ\ThetaΘ), ∥⋅∥2\|\cdot\|_2∥⋅∥2​ the operator norm, and ∥⋅∥max⁡\|\cdot\|_{\max}∥⋅∥max​ the largest matrix entry ∣J(ej)i∣|J(e_j)_i|∣J(ej​)i​∣. θ∗∈Θ\theta^*\in\Thetaθ∗∈Θ is stated explicitly.

Preamble
import Mathlib

open MeasureTheory ProbabilityTheory
open scoped NNReal
Formal statement
namespace InventoryAnomaly.EW

theorem lemma_17 {D : ℕ} (F : EuclideanSpace ℝ (Fin D) → EuclideanSpace ℝ (Fin D))
    (Θ : Set (EuclideanSpace ℝ (Fin D))) (θs : EuclideanSpace ℝ (Fin D)) (C1 C2 δ : ℝ)
    (hF : ContDiffOn ℝ 1 F Θ) (hinj : Set.InjOn F Θ) (hθs : θs ∈ Θ)
    (hball : Metric.closedBall θs (2 * C2 * δ) ⊆ Θ)
    (hJ : ∀ θ ∈ Metric.closedBall θs (2 * C2 * δ), ∀ i j : Fin D,
      |(fderivWithin ℝ F Θ θ - fderivWithin ℝ F Θ θs) (EuclideanSpace.single j 1) i| ≤ C1 * ‖θ - θs‖)
    (Jinv : EuclideanSpace ℝ (Fin D) →L[ℝ] EuclideanSpace ℝ (Fin D))
    (hJinv : Jinv.comp (fderivWithin ℝ F Θ θs) = ContinuousLinearMap.id ℝ _ ∧
      (fderivWithin ℝ F Θ θs).comp Jinv = ContinuousLinearMap.id ℝ _)
    (hC2 : ‖Jinv‖ ≤ C2) (hsmall : 2 * Real.sqrt (D * D) * C1 * C2 ^ 2 * δ < 1 / 2) :
    ∀ θ ∈ Θ, ‖F θ - F θs‖ ≤ δ → ‖θ - θs‖ ≤ 2 * C2 * δ := by sorry

end InventoryAnomaly.EW
Source
Farias, Li & Peng, Fixing Inventory Inaccuracies at Scale, arXiv:2006.13126v3, p. 44, Lemma 17, eq. (33)
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