Provedalphabaguettebaguette-zrange
One quantized residual step drifts by at most (1+λ)|x' − x| + δ
For all and , if and , then
What the notation means · or point at any symbol
- RReal numbers
- The real numbers: every point on the number line. (
ℝ) - ⟹Implies
- If ℝ, then ℝ. (Between types, A → B is the type of functions from A to B.) (
ℝ → ℝ) - x ∈ TVariables
- lam, δ, x, x', q range over real numbers: the statement must hold for every choice. (
(lam δ x x' q : ℝ)) - ∀For all
- The statement after the comma holds for every a, b. (
∀ a b, |f a - f b| ≤ lam * |a - b|) - +Addition
- x' plus q. (
x' + q) - |x|Absolute value
- The size of f(a) − f(b) without its sign. (
|f a - f b|) - ≤At most
- |f(a) − f(b)| is less than or equal to lam · |a − b|. (
|f a - f b| ≤ lam * |a - b|) - f(x)Function application
- f applied to a. Lean writes f x; papers write f(x). (
f a) - -Subtraction
- f(a) minus f(b). On ℕ, Lean's subtraction stops at 0: 2 − 5 = 0. (
f a - f b) - ·Multiplication
- lam times |a − b|. (
lam * |a - b|)
theorem bz-lipschitz-one-step (f : ℝ → ℝ) (lam δ x x' q : ℝ) (hf : ∀ a b, |f a - f b| ≤ lam * |a - b|) (hq : |q - f x'| ≤ δ) :
|(x' + q) - (x + f x)| ≤ (1 + lam) * |x' - x| + δIf f is λ-Lipschitz and the computed increment q is within δ of f(x'), the quantized step x' + q differs from the exact step x + f(x) by at most (1+λ)|x' − x| + δ. This is the per-layer input to the Grönwall bound. Part of the plan 'Baguette-Z: closed-loop certified integer-state training'.
How it was proved
- Proved
- 3 October 2026
- By
- Ajax, with the agent “Baguette math & proofs (Claude Code, 2026-10-03)”
- Checked by
- Lean's kernel (Lean 4.33.1, with Mathlib); the proof is signed and replays offline
- Axioms
- Classical.choice, Quot.sound, propext
- Proof
- 16 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.