Go check yourself

Covering arrays: tests, tables, and room for one more column

checked by two separately written checkers: all 29 strength-four arrays pass the full strength-four check; at each of the 29 widths the array supplied is below the upper bound in the pinned comparison table and below the smallest size in Smolen's living table at commit 0fc74c0. Further material with its own statuses in the register of results: a theory of adding one column (Lean-proved, written and computed results), 48 Lean theorems built and re-checked by a second kernel checker, further arrays of strength 2 and small exact cases that pass the definition-based check, and a ledger of failed items

proved in writing 68 (61 written proofs on request) (of these, by their own register label: unconditional bound 2, special cases 1) · Lean-checked 60 (1 with files on request) · computed 26 (20 with files on request) · open 4 · conditional 2 (2 with files on request)

Overview

Suppose a machine has hundreds of on/off switches and you want to test it. A binary covering array of strength four is a table of 0s and 1s, one row per test and one column per switch, in which every choice of four switches shows all 16 on/off patterns somewhere. Fewer rows mean a cheaper test plan, and nobody knows the smallest possible number of rows at the widths in this book. The book supplies 29 such tables, with 200 to 206, 223 and 325 to 345 columns and 143 to 170 rows. Two separately written programs tested every choice of four columns, so their status is computed. At each width the table has fewer rows than the upper bound in one fixed snapshot of Colbourn's published tables, by 3 to 11 rows, and than the smallest size in Smolen's living table at one fixed commit, by 1 to 7 rows. In the version we read of Smolen's ca-tools table, all 29 of our arrays are listed there, each the smallest listed at its width (credited Sonny). The book also asks whether a finished table can take one more column. That question is NP-complete from strength 3 up, with written proofs, and 48 related theorems are proved in Lean. The smallest possible sizes stay open. The check guide gives recipes, and the files carry fingerprints, so you can verify the tables with your own code.

Check it yourself

The check guide for this book · How to check a result yourself

Cite: Sonny (2026). Covering arrays: tests, tables, and room for one more column (preliminary). Go check yourself. https://gocheckyourself.org/read/covering-arrays/everyone/

Start here

Sonny

What this book shows

The question

Suppose a machine has 200 switches, each on or off, and you want to test it. Trying every setting is impossible, so you aim for less: whichever four switches you pick, every one of their 16 on/off patterns should show up in at least one test. A table of 0s and 1s that does this is called a binary covering array of strength four. Each row is one test, each column is one switch, and the number of rows is the cost.

How few rows are enough? For the widths in this book (200 to 206, 223 and 325 to 345 columns), nobody knows the smallest possible number of rows. What exists are tables of upper bounds, kept for many years by Charles J. Colbourn, and counting arguments for lower bounds that go back to Rao (1947) and to Kleitman and Spencer (1973).

Can a finished table take one more column? Once a table is finished, someone asks for a 201st switch. Can you add it without adding a single new test? We call this one-column extension, and Chapter 5 explains it. The question was posed in the literature as decisional parameter extension (Garn and Simos, 2017, Problem 6; Garn's 2019 thesis, Problem 5.1.6) with its complexity left open there. Kokkala (2017) and Hiess (2024) gave the criterion that decides it.

A plain answer to both, in one line each: for the question about rows, we supply 29 tables that are smaller than the upper bounds in one pinned snapshot of Colbourn's tables and in Smolen's living table, and we do not know whether they are the smallest; for the question about columns, deciding it is easy to state and, from strength 3 up, NP-complete (written proofs, with Lean checking the construction).

Where to go next: can a finished table really take one more column, and how would you tell? See Chapter 5: room for one more column. Could the tables be smaller still? See Chapter 10: strength four rules and bounds.

Why it matters

Each row of a covering array is one test run, so a table with fewer rows is a cheaper test plan for the same coverage. Covering arrays are used to plan tests of systems with many on/off settings, and the question of how small they can be has been studied for about fifty years without being settled. The second question matters because test plans change: if a new setting must be added, it helps to know whether the old tests can be reused as they are.

Where to go next: what is a covering array, in plain words? See Chapter 1: covering arrays in plain words. Where do the 29 tables come from? Chapter 2 (seeds and changes) is held from this release; chapter 5 says how they were made.

What answering it would help with

Smaller covering arrays cut the cost of testing a configurable system without giving up the coverage. A reliable answer to the extension question lets a planner decide whether a new setting can be added to an existing test plan without new tests. The result that the question is NP-complete from strength 3 up (a written proof) guides the choice of methods for a quick exact check that works for a given table; it does not rule out good methods for particular tables. The link between strength 2 and a well-known hitting-set puzzle (monotone duality; given a list of groups and a proposed list of the smallest-possible sets of items that each touch every group, deciding whether the proposed list is complete), whose complexity is still open, connects that puzzle to test design. The arrays are plain text with fingerprints, so others may reuse them or compare them with other tables.

Where to go next: Chapter 5: room for one more column explains the second question, and Chapter 9: strength three is NP-complete explains why it is hard.

What our research shows

Status
a 13 by 13 locating array and 29 covering arrays checked exhaustively, with written proofs and Lean theorems for the theory of adding one column; checked within this project; not yet refereed.
What this is
a binary (1-bar,2)-locating array with 13 rows and 13 columns, and 29 binary covering arrays of strength four, with 200 to 206, 223 and 325 to 345 columns, each checked exhaustively; at each of those 29 widths the array supplied has fewer rows than the upper bound in one pinned snapshot of Charles Colbourn's covering array tables and than the smallest size in Smolen's living table at commit 0fc74c0. Also in this book: a theory of adding one more column to a finished table (strengths 2, 3 and higher), 48 Lean theorems with their sources, further arrays of strength 2 and small exact cases, and a ledger of what failed.
Still open
the smallest possible size of each covering array; whether 13 rows is the minimum for the locating array (CONJECTURED: one solver found no 12-row array in a SAT encoding of the problem; a second solver has re-checked a sample of the search, not the whole search, and the search is not part of this book); and the literature beyond the snapshots and sources named in the book (the literature check for the locating array is incomplete).
Checked by
For the covering arrays: two separately written programs of ours (Python and C#), which are not part of this book, tested every choice of four columns, and a general check of the definition covers other strengths; the recipes in the check guide let you do the same with your own code. For the 13 by 13 locating array: two separately written checkers of ours, and recipe 11 of the check guide, which you can follow with a few lines of your own code. For the Lean files: the Lean kernel, Lean's own replay checker (leanchecker) and a second kernel checker (nanoda), run on the 48 theorems and on the two further Lean folders alike. For each result, the register of results says what kind of check it had. Supporting files available on request.
Why it's public
If you can check further, or find a mistake, please tell us.

In plain words. Each strength-four array here grows from R. E. A. C. Paley's 1933 construction from quadratic residues. The arrays for widths 200 to 206 start from Christopher Smolen's 141 × 199 array (ca-tools, CC BY 4.0), built from that construction, to which I added columns and rows by the rule of chapter 5, and for widths 202 to 206 removed and repaired rows. This row-removal-and-repair step follows the post-optimization approach of Nayeri, Colbourn and Konjevod (2009; 2013): adjust a covering array to reduce its rows while keeping full coverage (Peyman Nayeri, Charles Colbourn and Goran Konjevod, Randomized postoptimization of covering arrays, IWOCA 2009, Lecture Notes in Computer Science, doi:10.1007/978-3-642-10217-2_40; journal version, Randomized post-optimization of covering arrays, European Journal of Combinatorics 34 (2013) 91-103, doi:10.1016/j.ejc.2012.07.017). The comparison table this book links lists post-optimization constructions for many of its rows (postop NCK, postop TJ-SA). No priority is claimed for this step. The arrays for widths 325 to 328 start in the same way from his 165 × 324 array (ca-tools, CC BY 4.0), with columns and rows added by the same rule. The arrays for width 223 and widths 329 to 345 start from the half-Paley array of order 359, which I computed from Paley's formula, cut to width and then trimmed by removing and repairing rows. This row-removal-and-repair step follows the post-optimization approach of Nayeri, Colbourn and Konjevod (2009; 2013): adjust a covering array to reduce its rows while keeping full coverage (Peyman Nayeri, Charles Colbourn and Goran Konjevod, Randomized postoptimization of covering arrays, IWOCA 2009, Lecture Notes in Computer Science, doi:10.1007/978-3-642-10217-2_40; journal version, Randomized post-optimization of covering arrays, European Journal of Combinatorics 34 (2013) 91-103, doi:10.1016/j.ejc.2012.07.017). The comparison table this book links lists post-optimization constructions for many of its rows (postop NCK, postop TJ-SA). No priority is claimed for this step. Chapter 5 gives the details, and each array's data file gives its exact construction. We stand on the shoulders of giants: the construction, the starting table, the column criterion (Kokkala and Hiess), the comparison tables and the bounds are other people's work, credited in the credits page. There is one array at each width, and all 29 are free to share, redistribute and build on under CC BY 4.0, with credit to Sonny (gocheckyourself.org), and to Christopher Smolen as well for widths 200 to 206 and 325 to 328 (his CC BY 4.0 licence allows building on his tables with credit).

The second half of the book asks about a finished table: can it take one more column, keeping every row? At strength 2 it is the same question as a famous hitting-set puzzle; at strength 3 and above it is NP-complete (written proofs, with Lean checking the construction); at strength four we used the exact rule to build the arrays above, and whether the widest one can take a 346th column is open.

What's in this book

All counts are computed from the files of the book (the results data file for the register, the folders for the rest).

Count
Results in the register of results (its nine status counts add up to 117)117
PROVED-Lean (a Lean proof is shipped)12
PROVED-written (a proof on paper, in the proofs folder)65
COMPUTED (a finite computation, with sizes)27
CONJECTURED (believed, with the basis stated, and not yet confirmed by a check anyone can run)1
CONDITIONAL (valid only under a stated condition)2
OPEN (stated as open)4
REFUTED (tested and found false; in the ledger, chapter 16)3
SPECIAL CASES (covered by a more general result; in the ledger)1
UNCONDITIONAL BOUND (a bound that stands without a stronger conditional one; in the ledger)2
Lean theorems in the verified package48
Further Lean declarations with an axiom check: rules folder, hardness folder, bridge file29, 12 and 4
Lean source files27
Arrays (strength four: 29; strength two: 20 plateau tips and the alphabet-7 pair; small exact cases: 2; locating array: 1)54
Fixture tables, DRAT proofs5, 1
Written check recipes11
Chapters15
Written proofs (the proofs folder and the hub-row folder)7 and 2 files
Files in the book (147 of them online; the fingerprint list certificates/SHA256SUMS.txt covers the 113 files in the certificates folder, and the check recipe prints the fingerprint of each other file it uses)206

The Lean-proved results in the register depend on the theorems named in the Lean theorem table; a PROVED-Lean row states only what its Lean theorems cover; a written or computed step beside it (for example a running time, or a comparison over many arrays) has its own row with its own status. The strength-2 collection of chapter 15 is a summary: 22 of its arrays are shipped and the rest are listed.

Yesterday, today, tomorrow

Yesterday. R. E. A. C. Paley (1933) built orthogonal matrices from quadratic residues, and tables cut from them serve as starting tables for binary covering arrays of strength four; Christopher Smolen built a 141 × 199 array and a 165 × 324 array from that construction and placed them in his ca-tools table under CC BY 4.0. Charles Colbourn kept public tables of upper bounds on the smallest covering arrays, Ulrike Groemping preserved the November 2024 version, and Christopher Smolen turned it into a CSV file and grew it into a living table. Locating arrays are studied by Colbourn and McClary (2008) and by Konishi, Kojima, Nakagawa and Tsuchiya (2019, 2020), who report 14 rows for 13 columns (chapter 13).

Today. I started from those two tables (chapter 5; chapter 2, seeds and changes, is held from this release), tested all 29 arrays on every choice of four columns with two separately written programs (chapter 4), ran all 29 through the living table's own check script, check_submission.py, and compared their sizes with the pinned snapshot and the living table (chapter 3). Still open: the literature beyond these two versions of the table, and the smallest possible size. What was shown about adding one more column is in chapters 5 to 12, with statuses, and the 13 by 13 locating array is in chapter 13.

Tomorrow. The arrays are plain text with checksums, so others may reuse them, compare them with other tables, or try the same route from the half-Paley arrays of other primes. The smallest possible numbers of rows stay unknown, width 346 and above is not covered, and the 13-row minimum for 13 locating-array columns is CONJECTURED, on the result of one solver in one SAT encoding. Recommended further research: reading the one unread locating-array paper, a full replay of the 12-row search with a second solver, Lean proofs of the running-time parts, outside review of the proofs that are only written, a search for a 346th column whose power has been tested, and a full second check of the older strength-2 collection.

Where to go next: can the widest array take a 346th column? See Chapter 11: the 346th column. What did not work along the way? See Chapter 16: the ledger.

Check it yourself

The check guide says what is claimed, what is not, and gives a written recipe for each check: the exact file format, the exact condition to test, the expected answer, and a standard public tool or a few lines you can write yourself. In short:

How I direct this work, and my own tools, are not part of this book. What ships: the 29 strength-four arrays and the further arrays, the 13 by 13 locating array, the Lean package of the 48 theorems, the written proof and data of the hub-row construction, a SHA-256 fingerprint for each file and a written recipe for each check. What is not online, and is available on request: the pinned comparison table, the two further Lean folders (hardness and rules), the written proofs for chapters 6 to 13, the solver outputs and search logs, the proof files behind the exact 14-row minimum and the four-isolated-models theorem, and the arrays of the Ladder.

Where to go next

How is an array checked, and why does the check take minutes? See Chapter 4: how the check works. The chapters:

Go check yourself.

Have a question about this? Ask it

Covering arrays, the short version

Covering arrays, the short version

The question: how few tests can check every combination of a machine's switches, and can a finished test table take one more switch? The answer in brief: I found a 13 by 13 locating array. I built 29 strength-four covering arrays, each with fewer rows than the upper bound in one pinned snapshot (fixed to one exact version) of Charles Colbourn's tables at its width. And deciding whether a table has room for one more column is NP-complete (among the hardest problems whose answers can be checked quickly; no quick method is known for them) from strength 3 up.

Tests as tables

Suppose a machine has 200 switches, each on or off, and you want to test it. Trying every setting is impossible, so you aim for less: whichever four switches you pick, every one of their 16 on/off patterns should show up in at least one test. A table of 0s and 1s that does this is called a binary covering array of strength four. Each row is one test, each column is one switch, and the number of rows is the cost.

The 13 by 13 locating array

A locating array is a test table in which the failing tests tell you which pair of switch settings is faulty. I found a binary (1-bar,2)-locating array with 13 rows and 13 columns. The tables we found in the literature we checked have 14 rows. Two separately written checkers of ours confirm the table. One paper (Shi, Fu, Wang and Yan, 2021) is unread, so a table that small may already exist there. That 13 rows is the minimum for 13 columns is conjectured: one solver found no 12-row table, and a second solver has re-checked a sample of that search.

29 strength-four arrays

For the widths in this book (200 to 206, 223 and 325 to 345 columns), nobody knows the smallest possible number of rows. The 29 arrays grow from R. E. A. C. Paley's 1933 construction. Each has fewer rows than the upper bound in one pinned snapshot of Colbourn's tables and than the smallest size in Smolen's living table at its width. Two separately written programs of ours tested every choice of four columns, and the living table's own check script, check_submission.py, passes all 29. The arrays are free to share under CC BY 4.0 (a licence that lets anyone share and build on the work with credit).

Room for one more column

Once a table is finished, someone asks for one more switch. Can you add it without adding a single test? Garn and Simos posed this in 2017, and Kokkala (2017) and Hiess (2024) gave the criterion that decides it. Deciding it is NP-complete from strength 3 up: written proofs, with Lean (a program that checks every step of a proof) checking the construction. So no quick exact method is expected for every table, though good methods may exist for particular tables.

Status

Checked within this project.

Experts: the files and checks are here: check guide.

We hope these arrays help others find more results and keep their curiosity going. We'd love to collaborate with anyone.

Try it yourself

The figures of this chapter are the interactive checks on the tools page (they need JavaScript).

Each result on its own page