Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Existence of a strict-gap CSS instance

Proved
ZengPryadkoConjecture18Counterexample.strictGapDataExists

by Rui Chao · Sep 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

codingtheorycounterexamplehomologicalalgebraquantumerrorcorrectiontensorproducts

There exist natural numbers n,rX,rZn,r_X,r_Zn,rX​,rZ​, surjective binary CSS check maps HX:F2n→F2rXH_X:\mathbb F_2^n\to\mathbb F_2^{r_X}HX​:F2n​→F2rX​​ and HZ:F2n→F2rZH_Z:\mathbb F_2^n\to\mathbb F_2^{r_Z}HZ​:F2n​→F2rZ​​, and a paired logical X/ZX/ZX/Z vector pair satisfying all conditions of the mission definition, such that the associated three-term complexes A,BA,BA,B obey

rZ+n+rX<d1(A)d1(B).r_Z+n+r_X<d_1(A)d_1(B).rZ​+n+rX​<d1​(A)d1​(B).

This is an unconditional existence assertion: completing it requires an actual CSS instance, rather than assuming the strict gap. The quantum Golay [[23,1,7]][[23,1,7]][[23,1,7]] code and the three-level concatenated Steane code are candidate realizations.

Preamble
import Definitions.Def_ZengPryadkoConjecture18Counterexample

open ZengPryadko2019
Formal statement
namespace ZengPryadkoConjecture18Counterexample

theorem strictGapDataExists :
    ∃ (n rX rZ : ℕ) (D : CSSSwapProductData n rX rZ),
      (↑(rZ + n + rX) : WithTop ℕ) <
        chainDistanceAt (leftComplex D) 1 *
          chainDistanceAt (rightComplex D) 1 := by sorry

end ZengPryadkoConjecture18Counterexample
Source
Rui Chao, counterexample construction (unpublished note, 2026); candidate instances include the binary quantum Golay [[23,1,7]] code and the three-level concatenated Steane [[343,1,27]] code
Read-back

What the Lean code literally says, in plain math · gpt-5.6-sol

There exist natural numbers n,rX,rZn,r_X,r_Zn,rX​,rZ​, binary linear maps

X:F2n→F2rX,Z:F2n→F2rZ,X:\mathbb F_2^n\to\mathbb F_2^{r_X}, \qquad Z:\mathbb F_2^n\to\mathbb F_2^{r_Z},X:F2n​→F2rX​​,Z:F2n​→F2rZ​​,

and vectors xlog,zlog∈F2nx_{\mathrm{log}},z_{\mathrm{log}}\in\mathbb F_2^nxlog​,zlog​∈F2n​, such that XXX and ZZZ are surjective, XZT=0X Z^{\mathsf T}=0XZT=0, ZXT=0Z X^{\mathsf T}=0ZXT=0, Zxlog=0Zx_{\mathrm{log}}=0Zxlog​=0, Xzlog=0Xz_{\mathrm{log}}=0Xzlog​=0, and ∑i=0n−1xlog,izlog,i=1\sum_{i=0}^{n-1}x_{\mathrm{log},i}z_{\mathrm{log},i}=1∑i=0n−1​xlog,i​zlog,i​=1 in F2=Z/2Z\mathbb F_2=\mathbb Z/2\mathbb ZF2​=Z/2Z. Here the transposes are taken with respect to the standard finite coordinate bases. Define

dL=inf⁡{wt⁡(v) | v∈F2n, Xv=0, v∉im⁡(ZT)}d_L=\inf\left\{\operatorname{wt}(v)\ \middle|\ v\in\mathbb F_2^n,\ Xv=0,\ v\notin\operatorname{im}(Z^{\mathsf T})\right\}dL​=inf{wt(v) ​ v∈F2n​, Xv=0, v∈/im(ZT)}

and

dR=inf⁡{wt⁡(v) | v∈F2n, Zv=0, v∉im⁡(XT)},d_R=\inf\left\{\operatorname{wt}(v)\ \middle|\ v\in\mathbb F_2^n,\ Zv=0,\ v\notin\operatorname{im}(X^{\mathsf T})\right\},dR​=inf{wt(v) ​ v∈F2n​, Zv=0, v∈/im(XT)},

where wt⁡(v)\operatorname{wt}(v)wt(v) is the Hamming weight and both infima are taken in N∪{⊤}\mathbb N\cup\{\top\}N∪{⊤}, with the infimum of an empty set equal to ⊤\top⊤. Equivalently, dLd_LdL​ is the degree-111 homological distance of the three-term complex with dimensions rX,n,rZr_X,n,r_ZrX​,n,rZ​ in degrees 0,1,20,1,20,1,2, boundaries XXX and ZTZ^{\mathsf T}ZT, and zero-dimensional groups above degree 222; dRd_RdR​ is the corresponding distance for the complex with dimensions rZ,n,rXr_Z,n,r_XrZ​,n,rX​ and boundaries ZZZ and XTX^{\mathsf T}XT. These data satisfy the strict inequality

rZ+n+rX<dLdRr_Z+n+r_X<d_Ld_RrZ​+n+rX​<dL​dR​

in N∪{⊤}\mathbb N\cup\{\top\}N∪{⊤}, where rZ+n+rXr_Z+n+r_XrZ​+n+rX​ is first added in N\mathbb NN and then embedded into N∪{⊤}\mathbb N\cup\{\top\}N∪{⊤}. The quantified parameters initially range over all natural numbers, including zero; the condition xlog⋅zlog=1x_{\mathrm{log}}\cdot z_{\mathrm{log}}=1xlog​⋅zlog​=1 rules out n=0n=0n=0, while rX=0r_X=0rX​=0 or rZ=0r_Z=0rZ​=0 is not explicitly excluded.

Human review
  • Endorsed by Shuze Chen · Sep 11, 2026

  • Endorsed by Rui Chao · Sep 11, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me