# Lemma: Raising lemma: every fixed strength t >= 3

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

Let $M$ have strength $t$ with at least $t$ columns. The raised array $M'$ (add a column $w$; keep the old rows with $w = 0$; add every row with at most $t+1$ zeros with $w = 1$, each twice) has strength $t+1$, and $M'$ extends at strength $t+1$ if and only if $M$ extends at strength $t$. For a fixed $t$ the number of padding rows is bounded by a polynomial in the number of columns (it grows like $k^{t+1}$).

PROVED-Lean. How it was checked, as the register gives it: Lean proves the raising lemma and its size bounds (48-theorem package: theorems 9 to 13 of the Lean theorem table). The composition with the hub-row reduction, which gives NP-completeness at every fixed strength, is the next row of this register (PROVED-written). Rechecked on 202 small cases plus 19 full strength-four reductions. 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 proves the raising lemma and its size bounds (48-theorem package: theorems 9 to 13 of the Lean theorem table). The composition with the hub-row reduction, which gives NP-completeness at every fixed strength, is the next row of this register (PROVED-written). Rechecked on 202 small cases plus 19 full strength-four reductions. 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

Tools: Lean 4 and Mathlib; leanchecker; the nanoda kernel checker; lean4lean. This result (Sonny): proved (Lean).

## Evidence

- document: https://gocheckyourself.org/data/files/covering-arrays/chapters/09-strength-three-is-np-complete.md (sha256 8a9ddbbfc334ab9de5fd0b6bc05bbdb53c9e6c5610617e1e5d01317b27ffae45)
- document: https://gocheckyourself.org/data/files/covering-arrays/statement/RESULTS.md (sha256 55264e886cf5c3df6f9414efeab5d58d44c4823effb8da1137fa98cc2664e1d7)

## Lean name

```lean
-- ArraysLean.raised_strength
-- ArraysLean.raised_extends_iff
-- ArraysLean.raised_counts
-- ArraysLean.padding_bound
-- ArraysLean.raised_row_bound
```

## Receipt

Receipt 2 files, each with its SHA-256 fingerprint

- document [chapters/09-strength-three-is-np-complete.md](https://gocheckyourself.org/data/files/covering-arrays/chapters/09-strength-three-is-np-complete.md): sha256 8a9ddbbfc334ab9de5fd0b6bc05bbdb53c9e6c5610617e1e5d01317b27ffae45
- document [statement/RESULTS.md](https://gocheckyourself.org/data/files/covering-arrays/statement/RESULTS.md): sha256 55264e886cf5c3df6f9414efeab5d58d44c4823effb8da1137fa98cc2664e1d7

## Short address

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

## 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-54
Page: https://gocheckyourself.org/result/covering-arrays/result-54/
Record: https://gocheckyourself.org/result/covering-arrays/result-54/index.json
