GCY Go Check Yourself
Archive Reports Quantum & Verification paper-20 Tag /t/0020 MSC 81P68 · 03F20 · 68Q15 DOI 10.5281/zenodo.24631812

Machine-Checked Single-Erasure Recovery, Arbitrary Finite-Reference Entanglement Preservation, and Exact Two-Erasure Obstructions for Four-Carrier Quantum Codes

Lean-Checked Core · Primary status: Lean-Checked Finite/Algebraic Core + Paper Proof (Unrefereed) for prose bridges in MANUSCRIPT.md Also tagged: Computed Cited Open
By Sonny ReplayExactKernelExternal (0) JSON Card
Claim Key: Lean-Checked finite/algebraic Lean 4.34.1 kernel replay (trustLevel = 0) Paper Proof (Unrefereed) author's prose proof in MANUSCRIPT.md Computed exact/interval machine check Conditional relies on cited external result or unrefereed bridge Cited prior scholarship Open unreached boundary
Reading Level: Experts (Technical Report · v1.0.0)

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/).

Version 1.0.0 (4 Lean Mods · 167 Consts · 25/25 Targets + 78 Helpers · 0 Classical.choice · DOI 10.5281/zenodo.24631812) — Scope & Overview Tag /t/0020

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 (WW with columns e0+e15e_0 + e_{15} and e3+e12e_3 + e_{12}, stabilizers XXXX, ZZII, IIZZ):

  • PROVED Exact Knill–Laflamme Compression & Erasure Completeness (lean/QuantumErasureData.lean, lean/QuantumErasureKL.lean): Certifies WTW=2IW^T W = 2I, Kraus completeness across all four single-carrier erasure channels, and all 16 scaled Knill–Laflamme identities WT(∣a⟩⟨b∣)jW=δabIW^T (|a\rangle\langle b|)_j W = \delta_{ab} I.
  • PROVED Four-CNOT Permutation Decoders & Arbitrary Finite-Reference Entanglement Preservation (lean/QuantumErasureRecovery.lean, lean/QuantumErasureFieldRecovery.lean): Certifies bijectivity and two-sided unitarity (UjTUj=UjUjT=IU_j^T U_j = U_j U_j^T = I) of explicit four-CNOT recovery circuits on three surviving carriers plus a fresh ∣0⟩|0\rangle ancilla, exact matrix-unit recovery, and exact normalized density-matrix restoration over any FieldWithHalf K (such as Q,R,C\mathbb{Q}, \mathbb{R}, \mathbb{C}) and ComplexPair R with arbitrary finite external reference Fin d.
  • PROVED + COMPUTED Six-Pair Two-Erasure Obstructions, Wrong-Codeword Obstruction & Correlated-Loss Grid: Proves non-scalar Knill–Laflamme obstructions for all 6 erased pairs (all_six_two_erasure_obstructions) and mutated codeword ∣0011⟩→∣0101⟩|0011\rangle \to |0101\rangle (wrong_codeword_obstruction) with 3/3 planted Lean controls refuted by kernel decide. Pure-Python stdlib scripts/verify_bundle.py independently dual-verifies all 6 surviving classical Pauli algebras, all 7 exact rational correlated-loss entries at η=8986318767/1010\eta = 8986318767/10^{10}, and rejects 6/6 planted Python controls (167 replayed Lean constants, 25/25 targets, 78/78 pinned 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
Independent Verification & Hash-Chained Receipts

Community Replay & Audit Receipts

Verify Kit JSON · Full Ledger →

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.

0Self-Attested Replays
0Linked Public Artifacts
0Blocker / Disputed
0Named Specialist Review (Separate)

No replay receipts yet for this deposit. JSON

Submit a Verification Receipt (L1–L4 · Pass, Partial, Failed, or Blocker Found)
Or paste a complete gcy-verification-receipt/1 JSON payload directly
Pinned SHA-256: aa2808d01ccc9adf…

Formal-to-Informal Bridge & Evidence Boundaries

EvidenceScope & 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.
Computed4 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).
CitedM. 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
  • Physical optical device realization, hardware gate-error fault tolerance, false erasure flags, and unflagged multi-error decoding remain strictly OPEN.
  • Higher-distance or qLDPC erasure families and external specialist peer review remain OPEN; archival lean/mathlib/ companion sources are not compiled by the zero-Mathlib offline verifier.
Lean 4.34.1 Modules & Declarations (4 modules, 25 targets, 2 zero-axiom) 25 declarations
DeclarationModuleAxiom FootprintStatus
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)

ModuleTarget DeclarationCore Statement
QuantumErasureKL.leanQuantumErasure.scaled_isometry_entriesW^T W = 2I entrywise (axioms = [])
QuantumErasureKL.leanQuantumErasure.scaled_isometryW^T W = 2I as matrix equality
QuantumErasureKL.leanQuantumErasure.erasure_complete_entriesKraus completeness sum_b E_{jb}^T E_{jb} = I_16 for all j : Fin 4
QuantumErasureKL.leanQuantumErasure.all_knill_laflamme_entriesAll 16 Knill–Laflamme identities W^T localUnit(j,a,b) W = delta_{ab} I (axioms = [])
QuantumErasureKL.leanQuantumErasure.all_knill_laflammeFunctional form of all 16 Knill–Laflamme compression identities
QuantumErasureKL.leanQuantumErasure.two_erasure_obstructionExact non-scalar compression for erased pair {0, 2}
QuantumErasureKL.leanQuantumErasure.wrong_codeword_obstructionExact population leakage for mutated codeword |0011> -> |0101>
QuantumErasureRecovery.leanQuantumErasure.inverse_injectiveRecovery permutation index map is injective for all j : Fin 4
QuantumErasureRecovery.leanQuantumErasure.inverse_surjectiveRecovery permutation index map is surjective for all j : Fin 4
QuantumErasureRecovery.leanQuantumErasure.unitary_early_entriesTwo-sided unitarity U^T U = U U^T = I for erasures j in {0, 1}
QuantumErasureRecovery.leanQuantumErasure.unitary_late_entriesTwo-sided unitarity U^T U = U U^T = I for erasures j in {2, 3}
QuantumErasureRecovery.leanQuantumErasure.recovery_unitary_entriesUnified two-sided unitarity across all four erasure locations j : Fin 4
QuantumErasureRecovery.leanQuantumErasure.recovery_basis_entriesMatrix-unit recovery recover j (erase j (encodedScaled E_ab)) = 2 E_ab
QuantumErasureRecovery.leanQuantumErasure.recovery_basisFunctional matrix-unit recovery across all j, a, b
QuantumErasureFieldRecovery.leanQuantumErasure.recovery_all_matrices_fieldExact recovery of every 2 x 2 logical matrix over any FieldWithHalf K
QuantumErasureFieldRecovery.leanQuantumErasure.recovery_arbitrary_reference_fieldExact blockwise entanglement preservation for any finite reference Fin d
QuantumErasureFieldRecovery.leanQuantumErasure.exists_exact_recovery_fieldExplicit existential recovery-channel witness over any FieldWithHalf K
QuantumErasureFieldRecovery.leanQuantumErasure.recovery_complex_pairExplicit recovery over complex-pair density matrices ComplexPair R
QuantumErasureFieldRecovery.leanQuantumErasure.recovery_complex_pair_referenceExplicit complex-pair arbitrary finite-reference entanglement preservation

3.1 Explicit Four-CNOT Location-Dependent Recovery Circuits

Erased Wire jCNOT Sequence (Original Wire Labels)Syndrome WirePermutation Unitarity
02->3, 1->2, 2->4, 4->2Wire 1PROVED (U^T U = U U^T = I)
12->3, 0->2, 2->4, 4->2Wire 0PROVED (U^T U = U U^T = I)
20->1, 3->0, 0->4, 4->0Wire 3PROVED (U^T U = U U^T = I)
30->1, 2->0, 0->4, 4->0Wire 2PROVED (U^T U = U U^T = I)

3.2 Complete Two-Erasure Classification Across All Six Carrier Pairs

Erased Pair (0-Based)Preserved Logical AlgebraSurvivor ObservableFull Qubit Recoverable?
{0, 1}span(I, X)X otimes XNo (PROVED)
{0, 2}span(I, Z)Z otimes ZNo (PROVED + Lean two_erasure_obstruction)
{0, 3}span(I, Z)Z otimes ZNo (PROVED)
{1, 2}span(I, Z)Z otimes ZNo (PROVED)
{1, 3}span(I, Z)Z otimes ZNo (PROVED)
{2, 3}span(I, X)X otimes XNo (PROVED)

3.3 Exact Rational Correlated-Loss Acceptance Grid (eta = 8986318767 / 10^10, COMPUTED)

p_pair per EdgeExact Rational A (14 d.p.)Conditional FidelityMarginal Carrier Survival eta(1 - p_pair)^2
0/10.9463631262973810.89863187670000
1/100000.9459846378248610.89845215931098
1/10000.9425833481864410.89683551157848
1/1000.9090726431323910.88074910235367
1/200.7708186811387510.81101526872175
1/100.6209088471637110.72789182012700
1/40.2994352079300310.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 FileSHA-256 Digest
lean/CheckReplay.lean055a9f83a020fa1eb04fd70fc8f99aec4308ce4bbd93c9f0064333f66bf7c977
lean/mathlib/QuantumErasure.lean3b5cebae6b4c862b3b2311ec733c8f176af34e97c2ccd417c5f7b796cc7899bc
lean/mathlib/QuantumErasureComplex.lean458b9288a4fe1cd8aef77d108ec6237db6a088e4ef2f5fdcc82806f1f0607003
lean/mathlib/QuantumErasureStates.lean636096fc3f18eeb64c7af2c0b92aee3afc75598acaea8ede8d2a3ada970658fe
lean/QuantumErasureData.lean62f76b918f67a477bab75d6be98b11cb2d17bfaa7c44da71e068b61218d1c4e5
lean/QuantumErasureFieldRecovery.leand78b2ccd2842ec30dadc86690d795f00ea409b9158e0ee2d8b7325e552bdac39
lean/QuantumErasureKL.lean5af45dd387e26c4de0cf35e96238b734d4ef607cba21c5e45010ffbf502f7fb1
lean/QuantumErasureRecovery.lean85acb6f6fa2bbc9c491f1645900f16758de048e83a5aad9bc7c0e9b672e08896
lean/TwoErasureControl_planted_fail.leana483130fd8cdf3dbc72e6f7a5e48f0b15b926206935828c3749c567d423fd56d
lean/WrongCodewordControl_planted_fail.lean323bb3a15582b41eb2a24aa2108aea5dfe5a897e20452d553e79185f61a4c1d8
PAPER20.mde51253c7da111fbe5ece46d92dfb391dcadb0e84689931027d19bfb9a35726c7
README.mdc212b662df42c73abe2f8dd9572a87a063cbea094e49b29f46160038e5bf57c9
scripts/verify_bundle.py463b8735a8dc67f336d759655952ba3adba8e9b2889a62f3117d4b1ac4ec808e
Provenance

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
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
  • Hashsha256sum gcy-p20-quantum-erasure-recovery-v1.zip must print the SHA-256 above (Windows: certutil -hashfile gcy-p20-quantum-erasure-recovery-v1.zip SHA256)
  • Replaycd gcy-p20-quantum-erasure-recovery-v1 && python -O -I scripts/verify_bundle.py --exact-stdlib --skip-lean
Cite this

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/}
}