Public CI Verification (40/40 GitHub Actions Jobs Passing): Executed on fresh public Ubuntu runners (Python 3.12 + pinned Lean 4.34.1 trustLevel = 0) — inspect live GitHub Actions CI logs → · Public Verification Receipts API (/receipts/).
Certifies single-erasure recovery, arbitrary finite-reference entanglement preservation over any FieldWithHalf K and ComplexPair R, and all six two-erasure plus wrong-codeword obstructions for the four-carrier [[4, 1, 2]] quantum erasure subcode in standalone zero-Mathlib Lean 4.34.1 (4 modules, 167 constants, 25/25 pinned targets, 78 pinned helpers, 2 zero-axiom, 0 Classical.choice, 3 Lean + 6 Python controls rejected) plus pure-Python stdlib replay (Zenodo DOI 10.5281/zenodo.24631812). Physical hardware realization and higher-distance codes remain OPEN.
Abstract & Certified Findings
Offline-reproducible, standalone zero-Mathlib Lean 4.34.1 verification deposit (gcy-p20-quantum-erasure-recovery-v1, Zenodo DOI 10.5281/zenodo.24631812, Concept DOI 10.5281/zenodo.24631811) certifying single-erasure recovery, arbitrary finite-reference entanglement preservation, and complete six-pair two-erasure plus wrong-codeword obstructions for the four-carrier [[4, 1, 2]] quantum erasure subcode ( with columns and , stabilizers XXXX, ZZII, IIZZ):
- PROVED Exact Knill–Laflamme Compression & Erasure Completeness (
lean/QuantumErasureData.lean,lean/QuantumErasureKL.lean): Certifies , Kraus completeness across all four single-carrier erasure channels, and all16scaled Knill–Laflamme identities . - PROVED Four-CNOT Permutation Decoders & Arbitrary Finite-Reference Entanglement Preservation (
lean/QuantumErasureRecovery.lean,lean/QuantumErasureFieldRecovery.lean): Certifies bijectivity and two-sided unitarity () of explicit four-CNOT recovery circuits on three surviving carriers plus a fresh ancilla, exact matrix-unit recovery, and exact normalized density-matrix restoration over anyFieldWithHalf K(such as ) andComplexPair Rwith arbitrary finite external referenceFin d. - PROVED + COMPUTED Six-Pair Two-Erasure Obstructions, Wrong-Codeword Obstruction & Correlated-Loss Grid: Proves non-scalar Knill–Laflamme obstructions for all
6erased pairs (all_six_two_erasure_obstructions) and mutated codeword (wrong_codeword_obstruction) with3/3planted Lean controls refuted by kerneldecide. Pure-Python stdlibscripts/verify_bundle.pyindependently dual-verifies all6surviving classical Pauli algebras, all7exact rational correlated-loss entries at , and rejects6/6planted Python controls (167replayed Lean constants,25/25targets,78/78pinned helpers,0 Classical.choice). Physical optical device realization, hardware gate-error fault tolerance, false erasure flags, and higher-distance erasure families remain strictly OPEN.
Offline Verification Command
cd gcy-p20-quantum-erasure-recovery-v1 && python -O -I scripts/verify_bundle.py --exact-stdlib --skip-lean
Community Replay & Audit Receipts
Copy the 4-line prompt into any AI assistant or run the offline verifier yourself, then log what you checked and what you did not check. Community replays (SELF_ATTESTED_EXTERNAL and LINKED_PUBLIC_ARTIFACT) are tracked separately from specialist peer review on /review/; BLOCKER_FOUND and FAILED findings receive co-equal permanent hash-chained receipts.
No replay receipts yet for this deposit. JSON
Submit a Verification Receipt (L1–L4 · Pass, Partial, Failed, or Blocker Found)
Formal-to-Informal Bridge & Evidence Boundaries
| Evidence | Scope & Verification Boundary |
|---|---|
| Proved (Lean 4) | 4 standalone zero-Mathlib Lean 4.34.1 modules, 25 target declarations (2 strictly axioms = []), trustLevel = 0 kernel replay, planted negative controls rejected: 3 Lean + 6 Python. |
| Computed | 4 certified empirical tables; standing: Exact Structural · [[4,1,2]] Erasure (25 Lean Targets); baseline compared: Grassl–Beth–Pellizzari (1997), Knill–Laflamme (1997), Lean-QEC & QECLean (2026). |
| Cited | M. Grassl, T. Beth & T. Pellizzari (1997, Phys. Rev. A 56, 33–38); E. Knill & R. Laflamme (1997, Phys. Rev. A 55, 900–911); D. W. Leung, M. A. Nielsen, I. L. Chuang & Y. Yamamoto (1997, Phys. Rev. A 56, 2567–2573); E. Knill, R. Laflamme & G. J. Milburn (2001), D. E. Browne & T. Rudolph (2005) & T. C. Ralph, A. J. F. Hayes & A. Gilchrist (2005); C.-Y. Lu, W.-B. Gao, J. Zhang, X.-Q. Zhou, T. Yang & J.-W. Pan (2008, PNAS 105, 11050–11054); Ehatamm, Lee, Wu & Tao (2026, Lean-QEC, arXiv:2605.16523) & Jain, Raveendran & Albarghouthi (2026, QECLean, arXiv:2611.21236) |
| Open / Boundary |
|
Lean 4.34.1 Modules & Declarations (4 modules, 25 targets, 2 zero-axiom) 25 declarations
| Declaration | Module | Axiom Footprint | Status |
|---|---|---|---|
| scaled_isometry_entries | QuantumErasureKL.lean | [] (zero axioms) | Proved |
| scaled_isometry | QuantumErasureKL.lean | Quot.sound | Proved |
| erasure_complete_entries | QuantumErasureKL.lean | Quot.sound, propext | Proved |
| all_knill_laflamme_entries | QuantumErasureKL.lean | [] (zero axioms) | Proved |
| all_knill_laflamme | QuantumErasureKL.lean | Quot.sound | Proved |
| two_erasure_obstruction | QuantumErasureKL.lean | propext | Proved |
| two_erasure_obstruction_01 | QuantumErasureKL.lean | propext | Proved |
| two_erasure_obstruction_03 | QuantumErasureKL.lean | propext | Proved |
| two_erasure_obstruction_12 | QuantumErasureKL.lean | propext | Proved |
| two_erasure_obstruction_13 | QuantumErasureKL.lean | propext | Proved |
| two_erasure_obstruction_23 | QuantumErasureKL.lean | propext | Proved |
| all_six_two_erasure_obstructions | QuantumErasureKL.lean | Quot.sound, propext | Proved |
| wrong_codeword_obstruction | QuantumErasureKL.lean | propext | Proved |
| inverse_injective | QuantumErasureRecovery.lean | propext | Proved |
| inverse_surjective | QuantumErasureRecovery.lean | Quot.sound, propext | Proved |
| unitary_early_entries | QuantumErasureRecovery.lean | propext | Proved |
| unitary_late_entries | QuantumErasureRecovery.lean | propext | Proved |
| recovery_unitary_entries | QuantumErasureRecovery.lean | propext | Proved |
| recovery_basis_entries | QuantumErasureRecovery.lean | Quot.sound, propext | Proved |
| recovery_basis | QuantumErasureRecovery.lean | Quot.sound, propext | Proved |
| recovery_all_matrices_field | QuantumErasureFieldRecovery.lean | Quot.sound, propext | Proved |
| recovery_arbitrary_reference_field | QuantumErasureFieldRecovery.lean | Quot.sound, propext | Proved |
| exists_exact_recovery_field | QuantumErasureFieldRecovery.lean | Quot.sound, propext | Proved |
| recovery_complex_pair | QuantumErasureFieldRecovery.lean | Quot.sound, propext | Proved |
| recovery_complex_pair_reference | QuantumErasureFieldRecovery.lean | Quot.sound, propext | Proved |
Certified Tables & Numerical Ledgers
2. Lean 4.34.1 Theorem Inventory (PROVED, trustLevel = 0)
| Module | Target Declaration | Core Statement |
|---|---|---|
QuantumErasureKL.lean | QuantumErasure.scaled_isometry_entries | W^T W = 2I entrywise (axioms = []) |
QuantumErasureKL.lean | QuantumErasure.scaled_isometry | W^T W = 2I as matrix equality |
QuantumErasureKL.lean | QuantumErasure.erasure_complete_entries | Kraus completeness sum_b E_{jb}^T E_{jb} = I_16 for all j : Fin 4 |
QuantumErasureKL.lean | QuantumErasure.all_knill_laflamme_entries | All 16 Knill–Laflamme identities W^T localUnit(j,a,b) W = delta_{ab} I (axioms = []) |
QuantumErasureKL.lean | QuantumErasure.all_knill_laflamme | Functional form of all 16 Knill–Laflamme compression identities |
QuantumErasureKL.lean | QuantumErasure.two_erasure_obstruction | Exact non-scalar compression for erased pair {0, 2} |
QuantumErasureKL.lean | QuantumErasure.wrong_codeword_obstruction | Exact population leakage for mutated codeword |0011> -> |0101> |
QuantumErasureRecovery.lean | QuantumErasure.inverse_injective | Recovery permutation index map is injective for all j : Fin 4 |
QuantumErasureRecovery.lean | QuantumErasure.inverse_surjective | Recovery permutation index map is surjective for all j : Fin 4 |
QuantumErasureRecovery.lean | QuantumErasure.unitary_early_entries | Two-sided unitarity U^T U = U U^T = I for erasures j in {0, 1} |
QuantumErasureRecovery.lean | QuantumErasure.unitary_late_entries | Two-sided unitarity U^T U = U U^T = I for erasures j in {2, 3} |
QuantumErasureRecovery.lean | QuantumErasure.recovery_unitary_entries | Unified two-sided unitarity across all four erasure locations j : Fin 4 |
QuantumErasureRecovery.lean | QuantumErasure.recovery_basis_entries | Matrix-unit recovery recover j (erase j (encodedScaled E_ab)) = 2 E_ab |
QuantumErasureRecovery.lean | QuantumErasure.recovery_basis | Functional matrix-unit recovery across all j, a, b |
QuantumErasureFieldRecovery.lean | QuantumErasure.recovery_all_matrices_field | Exact recovery of every 2 x 2 logical matrix over any FieldWithHalf K |
QuantumErasureFieldRecovery.lean | QuantumErasure.recovery_arbitrary_reference_field | Exact blockwise entanglement preservation for any finite reference Fin d |
QuantumErasureFieldRecovery.lean | QuantumErasure.exists_exact_recovery_field | Explicit existential recovery-channel witness over any FieldWithHalf K |
QuantumErasureFieldRecovery.lean | QuantumErasure.recovery_complex_pair | Explicit recovery over complex-pair density matrices ComplexPair R |
QuantumErasureFieldRecovery.lean | QuantumErasure.recovery_complex_pair_reference | Explicit complex-pair arbitrary finite-reference entanglement preservation |
3.1 Explicit Four-CNOT Location-Dependent Recovery Circuits
Erased Wire j | CNOT Sequence (Original Wire Labels) | Syndrome Wire | Permutation Unitarity |
|---|---|---|---|
0 | 2->3, 1->2, 2->4, 4->2 | Wire 1 | PROVED (U^T U = U U^T = I) |
1 | 2->3, 0->2, 2->4, 4->2 | Wire 0 | PROVED (U^T U = U U^T = I) |
2 | 0->1, 3->0, 0->4, 4->0 | Wire 3 | PROVED (U^T U = U U^T = I) |
3 | 0->1, 2->0, 0->4, 4->0 | Wire 2 | PROVED (U^T U = U U^T = I) |
3.2 Complete Two-Erasure Classification Across All Six Carrier Pairs
| Erased Pair (0-Based) | Preserved Logical Algebra | Survivor Observable | Full Qubit Recoverable? |
|---|---|---|---|
{0, 1} | span(I, X) | X otimes X | No (PROVED) |
{0, 2} | span(I, Z) | Z otimes Z | No (PROVED + Lean two_erasure_obstruction) |
{0, 3} | span(I, Z) | Z otimes Z | No (PROVED) |
{1, 2} | span(I, Z) | Z otimes Z | No (PROVED) |
{1, 3} | span(I, Z) | Z otimes Z | No (PROVED) |
{2, 3} | span(I, X) | X otimes X | No (PROVED) |
3.3 Exact Rational Correlated-Loss Acceptance Grid (eta = 8986318767 / 10^10, COMPUTED)
p_pair per Edge | Exact Rational A (14 d.p.) | Conditional Fidelity | Marginal Carrier Survival eta(1 - p_pair)^2 |
|---|---|---|---|
0/1 | 0.94636312629738 | 1 | 0.89863187670000 |
1/10000 | 0.94598463782486 | 1 | 0.89845215931098 |
1/1000 | 0.94258334818644 | 1 | 0.89683551157848 |
1/100 | 0.90907264313239 | 1 | 0.88074910235367 |
1/20 | 0.77081868113875 | 1 | 0.81101526872175 |
1/10 | 0.62090884716371 | 1 | 0.72789182012700 |
1/4 | 0.29943520793003 | 1 | 0.50548043064375 |
Verification Receipt & SHA-256 Manifest (16 sealed entries) manifest
SHA256_OK (16/16 sealed files + 0 extra; zip 49,866 B)
PYTHON_EXACT_OK W^T W = 2I | 4/4 Kraus | 16/16 KL | 4/4 4-CNOT decoders | 6/6 surviving Pauli algebras | 7/7 correlated-loss grid
KERNEL_REPLAY_OK 4 modules | 167 constants | 25/25 pinned targets | 78/78 pinned helpers | trustLevel=0 (0 Classical.choice)
CONTROLS_OK 3/3 Lean + 6/6 Python planted negative controls rejected | ALL_BUNDLE_CHECKS_PASSED
| Bundle File | SHA-256 Digest |
|---|---|
| lean/CheckReplay.lean | 055a9f83a020fa1eb04fd70fc8f99aec4308ce4bbd93c9f0064333f66bf7c977 |
| lean/mathlib/QuantumErasure.lean | 3b5cebae6b4c862b3b2311ec733c8f176af34e97c2ccd417c5f7b796cc7899bc |
| lean/mathlib/QuantumErasureComplex.lean | 458b9288a4fe1cd8aef77d108ec6237db6a088e4ef2f5fdcc82806f1f0607003 |
| lean/mathlib/QuantumErasureStates.lean | 636096fc3f18eeb64c7af2c0b92aee3afc75598acaea8ede8d2a3ada970658fe |
| lean/QuantumErasureData.lean | 62f76b918f67a477bab75d6be98b11cb2d17bfaa7c44da71e068b61218d1c4e5 |
| lean/QuantumErasureFieldRecovery.lean | d78b2ccd2842ec30dadc86690d795f00ea409b9158e0ee2d8b7325e552bdac39 |
| lean/QuantumErasureKL.lean | 5af45dd387e26c4de0cf35e96238b734d4ef607cba21c5e45010ffbf502f7fb1 |
| lean/QuantumErasureRecovery.lean | 85acb6f6fa2bbc9c491f1645900f16758de048e83a5aad9bc7c0e9b672e08896 |
| lean/TwoErasureControl_planted_fail.lean | a483130fd8cdf3dbc72e6f7a5e48f0b15b926206935828c3749c567d423fd56d |
| lean/WrongCodewordControl_planted_fail.lean | 323bb3a15582b41eb2a24aa2108aea5dfe5a897e20452d553e79185f61a4c1d8 |
| PAPER20.md | e51253c7da111fbe5ece46d92dfb391dcadb0e84689931027d19bfb9a35726c7 |
| README.md | c212b662df42c73abe2f8dd9572a87a063cbea094e49b29f46160038e5bf57c9 |
| scripts/verify_bundle.py | 463b8735a8dc67f336d759655952ba3adba8e9b2889a62f3117d4b1ac4ec808e |
Where this came from, and how to check it
- Archive
- gcy-p20-quantum-erasure-recovery-v1.zip (49,866 bytes)
- SHA-256
aa2808d01ccc9adfa4948356a7d5bd4a64900aeb6bf50db31cbf25fd5d8d4961- MD5
b4f014f94a8d8bf95bd538789aba28c4- Zenodo DOI & versions
- v1.0.0 (this version): 10.5281/zenodo.24631812
- All versions (concept DOI): 10.5281/zenodo.24631811
- Zenodo record
- Review record
- Standing: Exact Structural / No-Go Certificate
- No refereed venue recorded in the registry (unrefereed).
- Venues: Zenodo: published · GitHub Releases: published · arXiv: not submitted · Journal (Quantum): not submitted
- Replay receipts: live ledger · review log
- How to verify
- Hash
sha256sum gcy-p20-quantum-erasure-recovery-v1.zipmust print the SHA-256 above (Windows:certutil -hashfile gcy-p20-quantum-erasure-recovery-v1.zip SHA256) - Replay
cd gcy-p20-quantum-erasure-recovery-v1 && python -O -I scripts/verify_bundle.py --exact-stdlib --skip-lean
- Hash
Cite this report
Plain text
Sonny (2026). Machine-Checked Single-Erasure Recovery, Arbitrary Finite-Reference Entanglement Preservation, and Exact Two-Erasure Obstructions for Four-Carrier Quantum Codes. Version 1.0.0. Zenodo. https://doi.org/10.5281/zenodo.24631812
BibTeX
@misc{sonny2026paper20,
author = {Sonny},
title = {{Machine-Checked Single-Erasure Recovery, Arbitrary Finite-Reference Entanglement Preservation, and Exact Two-Erasure Obstructions for Four-Carrier Quantum Codes}},
year = {2026},
month = nov,
version = {1.0.0},
publisher = {Zenodo},
doi = {10.5281/zenodo.24631812},
url = {https://doi.org/10.5281/zenodo.24631812},
note = {Go Check Yourself report paper-20, https://gocheckyourself.org/reports/paper-20/}
}