Eq. (21) — lies in the block of its weight
ProvedCleveDiVincenzo.Schumacher.eq_21combinatorial-number-systemp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1quantum-data-compressionreversible-computationschumacher-coding
Let and let be an -bit string with ones. Then satisfies
This is the inequality that lets the first loop of the inverse programs recover the weight of from alone.
Differences from the source:
- encoding: an n-bit string x_{n−1} … x_0 (x_{n−1} first, x_p the p-th bit) → the natural number x < 2^n, with x_k = Nat.testBit x k; reason: p.6 and Eq. (11), p.9: the string is the binary number; same strings
- reading: "preserve lexicographical ordering within each block" (p.8) → index n x = number of z < 2^n with weight z = weight x and z < x (numerical order); reason: for fixed-length strings written most significant bit first, lexicographic order is numerical order; Eqs. (7)–(9) and (11) use this order
- generalization: n ≥ 1 implicitly (n qubits) → every n : ℕ, including n = 0; reason: the n ≥ 1 cases are exactly the paper's claim; n = 0 (one empty string) holds as well
Preamble
import Mathlib import Definitions.Def_CleveDiVincenzo_Schumacher_schumacher
Formal statement
namespace CleveDiVincenzo.Schumacher
/-- **Eq. (21)** (Cleve, DiVincenzo, *Schumacher's quantum data compression as a quantum
computation*, arXiv:quant-ph/9603009v1, §III B, p.15): for an `n`-bit string `x` with
`m = Σ_{k=0}^{n−1} x_k` ones (Eq. (22)), its image `y = f(x)` satisfies
`Σ_{i=0}^{m−1} C(n,i) ≤ y < Σ_{i=0}^{m} C(n,i)`.
**Formalization Note** `x < 2^n` is the `n`-bit string `x_{n−1} … x_0`; `blockStart n m` is
`Σ_{i=0}^{m−1} C(n,i)`, so the upper bound is `blockStart n (m + 1)`. -/
theorem eq_21 (n x : ℕ) (hx : x < 2 ^ n) :
blockStart n (weight x) ≤ schumacher n x ∧
schumacher n x < blockStart n (weight x + 1) := by sorry
end CleveDiVincenzo.Schumacher
Source
Cleve, DiVincenzo, Schumacher's quantum data compression as a quantum computation, arXiv:quant-ph/9603009v1, §III B, Eqs. (21)–(22), p.15
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.