Quantum minimum description of density matrices¶
Lean 4 proofs of Article Theorems 1 and 2, by Patrick Hayden, Alexander Maloney, Jinzhao Wang and Yuxiang Yang. The formalization was developed with assistance from Codex. The current Article and Letter are included in the repository.
The frozen v0.1.0-rc1 release includes the source archive, checksums and verification reports. Software: Apache-2.0, credited to Jinzhao Wang and contributors; manuscript and third-party rights are retained. See the release guide for the frozen reproducer.
Use Proof for the dependency map, correspondence, theorem guides and Lean explorer; Verification for reproducing the checks and reviewing their scope. Background groups the mathematical topics, historical arguments and open questions. Papers collects the Article, Letter and historical Notes.
What is proved¶
A known-spectrum state has an unknown eigenbasis. One pair of quantum channels must compress and recover its entire \(n\)-copy state for every basis, with vanishing global trace-distance error. All retained quantum and classical registers count toward the memory.
For fixed dimension \(d\), rank \(r\), and distinct positive eigenvalues \(x_1>\cdots>x_r>0\) summing to one, with all remaining eigenvalues zero, define
| Result | Conclusion | Exact Lean statement |
|---|---|---|
| Article Theorem 1: achievability | Constructed CPTP codes attain \(L_{d,r}(n,x)+o(1)\) memory, with worst-case error \(O(\log n/\sqrt n)\). | theorem1_achievability |
| Article Theorem 1: converse | Every physical code with vanishing Haar-average error satisfies \(\liminf(\log_2\dim M_n-L_{d,r}(n,x))\ge0\). The worst-case criterion is also covered. | theorem1_converse |
| Article Theorem 2: cloning | Both original Choi-projector channels have trace error at most \(C_{d,x}\|\nu-\mu\|_1/(b_\mu+1)\). | theorem2_cloning_accuracy_choi |
Theorem 1 includes every positive rank and \(d=1\). Theorem 2 requires \(d\ge2\), partitions supported on the first \(r\) rows, and a dominant integral difference, which may have negative entries. Its channels, representations, dimensions, concentration and covariance facts are constructed or proved in the library. The introduction explains these statements; the proof route connects each step to its Lean module.
Verification¶
The recorded local check covers 270 proof modules, 1,873 proved declarations
and 2,499 public declarations. The proof library has no unresolved placeholders
or custom axioms. Its transitive axiom audit permits only propext,
Classical.choice and Quot.sound.
| Check | Recorded result | What it checks |
|---|---|---|
| Lean build and axiom audit | Passed locally | Types, proof terms and transitive axioms of every indexed public declaration. |
| Local Comparator diagnostic | Passed for three configurations / four endpoints | Expected statements and referenced definitions, allowed axioms, and Lean kernel replay. |
| Nanoda, a separate Rust kernel | Passed for all three solution exports | The exported endpoint dependency closures, including required theorem roots. |
The release-tag clean-source CI also passed
Lean, Comparator and Nanoda for exact commit
4ce43849fba096ec2174097625711323f1ce5ee8. Comparator and Nanoda were
unsandboxed in both the local and hosted checks. Independent human review and a
Linux-sandboxed Comparator run are not established. The scope and evidence
page identifies the actual records; fresh verification checks your checkout.
With the prerequisites listed in the verification guide installed:
git clone --branch v0.1.0-rc1 --single-branch https://github.com/JWang226/Quantum-Minimum-Description-Length.git
cd Quantum-Minimum-Description-Length
bash scripts/verify.sh all
Success ends with VERIFICATION PASSED: all. Each invocation saves fresh logs
under .verify-work/; a failed command returns a nonzero exit status.
Separate checker commands and expected verdicts are also documented.
What remains outside this formalization¶
The current Letter expresses the optimal memory as \(\tfrac12\chi_{\mathrm{phy}}(\rho;n^{-1})+C_{d,r}+o(1)\) using an ambient Hilbert–Schmidt tube-volume convention. The Article certificates prove its memory formula. The Letter's geometric volume calculation, offset identity and conditional large-dimension bridge have no separate Lean certificates. Repeated positive eigenvalues and broader programming extensions are outside these endpoints; repeated zeros are already covered.
See the paper-to-Lean correspondence, the Letter, the full scope, and the manuscript-to-Lean map. The mathematical wiki index collects the background definitions, lemmas, references and open questions. English explanations are reading aids; the exact Lean statements are what the checkers prove.