QEC formalization pipeline

Catalog-driven Lean 4 formalization of quantum error-correcting codes. Last scored 2026-07-18.

New here? What this dashboard tracks

This is a progress tracker for a Lean 4 formalization of stabilizer-formalism quantum error-correcting codes (QEC). The codes themselves come from the Error Correction Zoo — a community-maintained catalog of ~267 quantum codes. Formalization here means proving every claim about a code — parameters [[n,k,d]], stabilizer generators, logical operators, code distance — inside a proof assistant, so the end artifact is machine-checked mathematics rather than an informal write-up.

The pipeline scores every catalog entry on six axes (reuse: how directly existing infrastructure applies; canonicality: textbook/syllabus weight; hardware: appearance in published hardware demos; tractability: whether a clean distance proof is known; prerequisites: how much missing infrastructure stands in the way; effort: cheapness to formalize). Each axis is graded 0–10 and combined into a single composite score:

composite = 0.25·reuse + 0.15·canon + 0.15·hardware + 0.15·tract + 0.20·prereq + 0.10·effort

The composite sorts each code into one of four tracks: engineering (known proofs — let the agents grind) · moonshot (novel research — distance proof is the open problem) · defer (blocked on missing infrastructure) · skip (not worth pursuing in this repo). Claude Code agents draft Lean skeletons and close sorry markers; a human reviews at two gates — spec review (catch wrong theorem statements before proof effort) and PR review (final code).

Reading this dashboard:  Overview — counts, in-flight, queue head  ·  Queue — all 267 codes, sortable  ·  Research — moonshots; failures are first-class outputs

Deeper reading: docs/pipeline.md (architecture) · docs/pipeline-usage.md (operator's manual)

268
Total scored
14
Done →
0
In-flight
65
Engineering
3
Moonshot
13
Deferred
187
Skip

Engineering queue head top of queue, not yet done

CodeNameScoreAxes
bb72 [[72,12,6]] BB6 code [[72,12,6]] 8.65
stab_8_3_3 [[8, 3, 3]] Eight-qubit Gottesman code [[8,3,3]] 8.30
xzzx XZZX surface code 8.25
stab_8_2_3 [[8,2,3]] Hermitian code [[8,2,3]] 8.00
stab_10_2_3 [[10,2,3]] binarized Galois-qudit code [[10,2,3]] 7.95
stab_9_3_3 [[9,3,3]] Quadric code [[9,3,3]] 7.95
stab_10_1_2 [[10,1,2]] Vasmer-Kubica code [[10,1,2]] 7.90
stab_12_2_2 [[12,2,2]] CSS code [[12,2,2]] 7.90

Full queue →

Moonshots research-track candidates

CodeScoreStatus
bb288 6.15 not started
honeycomb_floquet 5.20 not started
kitaev_honeycomb 5.05 not started

Research log →

Recent activity latest commits touching pipeline/, catalog/, or (in QECLean) QEC/Stabilizer/Codes/


See docs/pipeline.md for the architectural overview, and docs/pipeline-usage.md for the task-oriented recipes.