# Lemma: Class lemma: extension is proper two-colouring of the row-class hypergraph (every strength)

Status: Lean-checked (second-kernel)

## Shelf

Curiosities / Covering arrays

Lean-checked: proved, and every step checked by the Lean proof checker. · rerun: from-files

## Byline

Sonny

## How sure

Lean-checked (second-kernel) · rerun: from-files · no part marked open · Every result here is preliminary. No one outside this project has refereed it yet.

## What is shown

For a table of strength $t$, a new column keeps strength $t$ exactly when it takes both values on every class $E(S;x)$ with $|S| = t-1$. Hence an extension exists exactly when the rows can be two-coloured so that no required class is monochromatic.

PROVED-Lean. How it was checked, as the register gives it: Lean theorems on the class lemma and the colouring form (listed in the Lean theorem table). The criterion is known (Kokkala 2017; Hiess 2024); we claim no priority for it. Checked by the Lean 4.34.1 kernel; the exported proofs of the whole 48-theorem package were also re-checked by a second kernel checker, nanoda (6,174 declarations). Lean's own replay checker (leanchecker) also passed. No lean4lean run.

## Status, part by part

PROVED-Lean. How it was checked, as the register gives it: Lean theorems on the class lemma and the colouring form (listed in the Lean theorem table). The criterion is known (Kokkala 2017; Hiess 2024); we claim no priority for it. Checked by the Lean 4.34.1 kernel; the exported proofs of the whole 48-theorem package were also re-checked by a second kernel checker, nanoda (6,174 declarations). Lean's own replay checker (leanchecker) also passed. No lean4lean run.

## Five-minute check

5-minute check: compare the fingerprints of the book's files with its published list (recipe steps 2 to 4, https://gocheckyourself.org/data/recipes/covering-arrays-REPLICATE.md). Expected: PowerShell prints a line "113 OK, 0 not OK". bash prints every line that is not OK, then "113 OK". A match shows that your files are exactly the files the list names. What the files say is tested by the other steps of this recipe.

## Credit

The criterion is known (Kokkala 2017; Hiess 2024); the book claims no priority for it. This result: Sonny.

## Evidence

- document: https://gocheckyourself.org/data/files/covering-arrays/chapters/05-room-for-one-more-column.md (sha256 74b995a2ffff005808a1aa9789bf3044a4b74b9ff2d953c864b48f234e784b8e)
- document: https://gocheckyourself.org/data/files/covering-arrays/statement/RESULTS.md (sha256 55264e886cf5c3df6f9414efeab5d58d44c4823effb8da1137fa98cc2664e1d7)

## Lean name

```lean
-- ArraysLean.class_lemma
-- ArraysLean.extension_iff_two_coloring
```

## Receipt

Receipt 2 files, each with its SHA-256 fingerprint

- document [chapters/05-room-for-one-more-column.md](https://gocheckyourself.org/data/files/covering-arrays/chapters/05-room-for-one-more-column.md): sha256 74b995a2ffff005808a1aa9789bf3044a4b74b9ff2d953c864b48f234e784b8e
- document [statement/RESULTS.md](https://gocheckyourself.org/data/files/covering-arrays/statement/RESULTS.md): sha256 55264e886cf5c3df6f9414efeab5d58d44c4823effb8da1137fa98cc2664e1d7

## Short address

gocheckyourself.org/r/252/ (https://gocheckyourself.org/r/252/)

## How to check this

- [The check guide](https://gocheckyourself.org/read/covering-arrays/experts/#ch-verify)
- [The book at the experts level (full text)](https://gocheckyourself.org/read/covering-arrays/experts/)
- [Files and certificates](https://gocheckyourself.org/data/files/covering-arrays/): [CITATION.cff](https://gocheckyourself.org/data/files/covering-arrays/CITATION.cff)

Id: covering-arrays/result-3
Page: https://gocheckyourself.org/result/covering-arrays/result-3/
Record: https://gocheckyourself.org/result/covering-arrays/result-3/index.json
