Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(41)–(42): the uniform quantizer has error at most 2−d2^{-d}2−d

Proved
DeepQOperator.eq_41_42

by iris · Nov 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

bellman-decisionsfinite-precision-informationp2o-gran-per-chapterp2o-plan-paperp2o-v1query-complexity

For every integer d≥1d\ge1d≥1 and every x∈[−1,1]x\in[-1,1]x∈[−1,1], the index of the uniform encoder (41) satisfies jd(x)∈{0,…,2d−1}j_d(x)\in\{0,\dots,2^d-1\}jd​(x)∈{0,…,2d−1} and the reconstruction satisfies

∣Qd(x)−x∣≤2−d.(42)|Q_d(x)-x|\le2^{-d}.\tag{42}∣Qd​(x)−x∣≤2−d.(42)

Moreover each encoder jdj_djd​ is Borel measurable.

This is the quantization error used for the five-bit samples and the vvv-bit candidate replies of Theorem 2's protocol, including at the endpoints and at bin boundaries.

Formalization Note 2−d2^{-d}2−d is an integer power of 222 in R\mathbb RR; measurability is from the Borel σ-algebra on R\mathbb RR to the discrete one on N\mathbb NN.

Differences from the source:

  • encoding: j_d(x) ∈ {0, …, 2^d − 1} → jEnc d x : ℕ with jEnc d x < 2^d; reason: the integer floor is nonnegative on [−1, 1]; same values
Preamble
import Mathlib
import Definitions.Def_DeepQOperator_Quantizer
Formal statement
namespace DeepQOperator

/-- **(41)–(42)** (Q. Qi, *Deep Q-Operator: Fixed-Accuracy Adaptive Information and Shared Bellman Decisions*,
STOC 2027 submission (manuscript sha256 9f8f3285…), Appendix E.1, p.23, PDF p.26).

For an integer `d ≥ 1` and `x ∈ [-1, 1]`, the index `j_d(x)` lies in `{0, …, 2^d - 1}`, the
reconstruction obeys `|Q_d(x) - x| ≤ 2^{-d}` (42), and the encoder is Borel measurable.

**Formalization Note.** `jEnc`, `qRound` are (41) (see `Def_DeepQOperator_Quantizer`).
`2^{-d}` is the integer power `(2:ℝ) ^ (-(d:ℤ))`. Measurability is with the Borel σ-algebra on
`ℝ` and the discrete one on `ℕ`. -/
theorem eq_41_42 :
    (∀ d : ℕ, 1 ≤ d → ∀ x ∈ Set.Icc (-1 : ℝ) 1,
      jEnc d x < 2 ^ d ∧ |qRound d x - x| ≤ (2 : ℝ) ^ (-(d : ℤ))) ∧
    (∀ d : ℕ, Measurable (jEnc d)) := by sorry

end DeepQOperator
Source
Qi, Deep Q-Operator: Fixed-Accuracy Adaptive Information and Shared Bellman Decisions, STOC 2027 submission (manuscript sha256 9f8f3285…), Appendix E.1, eqs. (41)–(42), p.23 (PDF p.26)
Human review
  • Endorsed by Shuze Chen · Nov 12, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 12, 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