Provedalphabaguettebaguette-zquantizer
The dyadic quantizer is monotone
For all and , if , then
What the notation means · or point at any symbol
- NNatural numbers
- The natural numbers 0, 1, 2, …. In Lean they start at 0. (
ℕ) - RReal numbers
- The real numbers: every point on the number line. (
ℝ) - x ∈ TVariables
- x, y range over real numbers: the statement must hold for every choice. (
(x y : ℝ)) - ≤At most
- x is less than or equal to y. (
x ≤ y) - ⌊x⌋Floor
- The largest integer not above x · 2^k. (
⌊x * 2 ^ k⌋) - ·Multiplication
- x times 2^k. (
x * 2 ^ k) - aᵇPower
- 2 raised to the power k. (
2 ^ k)
theorem bz-dyadic-floor-monotone (k : ℕ) (x y : ℝ) (h : x ≤ y) :
⌊x * 2 ^ k⌋ ≤ ⌊y * 2 ^ k⌋x ≤ y implies Q(x) ≤ Q(y): quantization never reorders values, so max-subtraction and comparisons survive it. 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
- 12 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.