How Hard Is Adding One More Column to a Test Table?
A standalone zero-Mathlib Lean 4 core and pure-Python verifier formalize why extending a binary covering array by one column mirrors monotone hypergraph duality at strength 2, becomes NP-complete with exact cubic padding at strength 3 and above, and breaks at threshold 4.
The Puzzle
Software and hardware engineers use covering arrays to test combinations of settings without running every possible configuration. A binary covering array of strength t is a table of 0s and 1s where every choice of t columns displays all 2^t possible patterns at least once.
Suppose you already have a valid strength-t table with N rows and k columns, and someone asks: can you tack on one more column of 0s and 1s while keeping strength t, without adding a single extra row? That crisp yes-or-no question is called one-column covering-array extension (EXT-t). How hard is it as t rises from 2 to 3 and beyond?
What We Checked and Found
This theoretical deposit (strictly disjoint from the companion computational covering-array deposit gcy-p35-covering-arrays-can4-v1, 10.5281/zenodo.24574179, and containing zero array-search software) maps the exact complexity boundary:
- Splitting equivalence & structural bounds (
Lean-Checked, Lean4.34.1,trustLevel = 0): Proves that adding a valid column is equivalent to colouring the rows0/1so that every(t - 1)-column full pattern class is split, proves the exact strength-4 definition bridge, proves the exponential width boundk <= 2^(N - 1) - 1, proves repeated-row deletion, and proves the uncolorable-class cover boundk <= s * m(k <= 2mfor pair classes). - Strength 2 equals monotone hypergraph non-duality (
Lean-Checked+Paper Proof (Unrefereed)+Cited): Proves constructive minimal hitting-set core existence and clutter involution with0 Classical.choice, and builds two-way polynomial-size reductions betweenEXT-2and monotone hypergraph non-duality (NON-DUAL, crediting Eiter and Gottlob 1995 / Seymour). Combined with Fredman and Khachiyan (1996,Cited),EXT-2runs in quasi-polynomial timeM^{o(log M)}, so polynomial-time NP-hardness ofEXT-2would forceNP <= DTIME(n^{O(log n)})— an ETH-free conclusion. (A secondary remark notes what ETH would also imply, flagging that OpenAI's 26 October 2026 claimed ETH refutation remains under external review and unconfirmed as of2026-11-28.) - Strength 3 and above: hub-row NP-completeness & exact cubic bounds (
Lean-Checked+Paper Proof (Unrefereed)+Computed): Formalizes a totalized hub-row reduction from Positive NAE-3SAT (k = 4m + 2) with double-padding strength raisingt -> t + 1lifting hardness to every fixedt >= 3, and proves exact cubic padding boundsP <= (k^3 + 5k + 6)/6andR <= n + (k^3 + 8k + 6)/3alongsideP_exact(m) = (32m^3 - 12m^2 + 16m + 9)/3across11benchmarks up to the Fano plane (7,043 × 30, NO) andK_5^(3)(20,693 × 42, NO). - Threshold-4 counterexample & small witnesses (
Lean-Checked+Computed): Proves thePaddingFourcounterexample atm = 4, k = 18where1,120valid size-4 independent subsets strictly break the unchanged cubic ceilings (1,120 > 988and2,258 > 1,994), and verifiesCA(12; 3, 6, 2)rep7is strength-3 non-extendible both by constructive backtracking in Lean and by checking all4,096candidate columns in Python.
Why You Can Trust the Check
Standalone zero-Mathlib Lean 4.34.1 (lean/CoveringArrayExtensionCertified.lean, trustLevel = 0, 948 constants, 12/12 pinned target theorems, 188/188 pinned local helpers, 0 Classical.choice, 0 sorry) checks every combinatorial theorem and refutes 6/6 planted broken Lean files via kernel decide.
The zero-install pure-Python verifier (scripts/verify_bundle.py, zero AST asserts, zero writes inside the unpacked folder) replays all 11 hub-row benchmarks, the m = 1..6 raising table, the 1,120-mask PaddingFour check, all 4,096 columns for CA(12; 3, 6, 2), and 8 strength-2 duality witnesses while rejecting 9/9 isolated planted Python controls.
What This Does NOT Claim
Mechanizing Turing-machine bit-time bounds inside Lean, the distinct-row variant of strength-3 NP-completeness, whether EXT-2 / monotone dualization lies in P, proof-system cost transfer, direct full-text inspection of Seroussi and Bshouty (1988), exact CAN(t, k, 2) tables, and independent external specialist peer review all remain strictly Open.
Receipt Strip
- Evidence Label:
Lean-Checked(zero-Mathlib Lean4.34.1,trustLevel = 0,12/12pinned targets,188/188pinned helpers,0 Classical.choice);Paper Proof (Unrefereed)(dense-table bit-time NP-completeness & ETH-free Fredman–Khachiyan implication);Computed(pure-Python stdlib replay,9/9Python and6/6Lean planted controls rejected);Conditional(secondary ETH remark);Cited;Open(Lean bit-time mechanization, distinct-row strength-3 hardness,EXT-2inP, external peer review). - Standing on the Shoulders of Giants: Kleitman and Spencer (1973), Lovász (1973), Schaefer (1978), Eiter and Gottlob (1995, Theorem 4.13 / Seymour), Fredman and Khachiyan (1996), Colbourn et al. (2010), Lawrence et al. (2011), Kokkala (2017), Garn and Simos (2017), Garn (2019), Kampel et al. (2023), Kampel (2024), Hiess (2024), Hiess and Kampel (2025), and Kobayashi, Kurita, and Wasa (2026,
arXiv:2610.11473). - Check It Yourself: Zero-install pure Python:
python -O -I scripts/verify_bundle.py --exact-stdlib --skip-lean(full Python + Lean4.34.1:python -O -I scripts/verify_bundle.py). - Archive & Identifiers:
gcy-p71-covering-array-extension-v1.zip(110.50 KiB,113,153bytes; published live on Zenodo (CC BY 4.0)) | Version DOI