# Theorem: Lean theorem 3 of 48, support criterion

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

A strength-four column extension is equivalent to both colors occurring in every specified three-column class.

PROVED-Lean. Compiled with Lean 4.34.1 against the pinned Mathlib with only the standard axioms (propext, Classical.choice, Quot.sound); the exported proofs of the whole 48-theorem package were re-checked by nanoda (6,174 declarations); leanchecker passed; no lean4lean run is claimed. The table of plain statements gives: question "At strength four, what exactly must a new column satisfy so that the table keeps strength four?"; register result it supports: Support criterion for strength 4.

## Status, part by part

PROVED-Lean. Compiled with Lean 4.34.1 against the pinned Mathlib with only the standard axioms (propext, Classical.choice, Quot.sound); the exported proofs of the whole 48-theorem package were re-checked by nanoda (6,174 declarations); leanchecker passed; no lean4lean run is claimed. The table of plain statements gives: question "At strength four, what exactly must a new column satisfy so that the table keeps strength four?"; register result it supports: Support criterion for strength 4.

## 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. This result (Sonny): proved (Lean).

## Evidence

- document: https://gocheckyourself.org/data/files/covering-arrays/statement/LEAN-THEOREMS.md (sha256 08ad4f4267939bcc602545caccf47f2fc6904f951c68327936731479b980ac58)

## Lean name

```lean
-- name: ArraysLean.support_criterion
-- ArraysLean/Core.lean, line 60
theorem support_criterion {R C : Type*} (M : R → C → Bool) (c : R → Bool)
    (hM : Strength M 4) : Strength (append M c) 4 ↔
      ∀ S : Finset C, S.card = 3 → ∀ x : C → Bool,
        (∃ r, (∀ j ∈ S, M r j = x j) ∧ c r = false) ∧
        (∃ r, (∀ j ∈ S, M r j = x j) ∧ c r = true)
```

## Receipt

Receipt 1 files, each with its SHA-256 fingerprint

- document [statement/LEAN-THEOREMS.md](https://gocheckyourself.org/data/files/covering-arrays/statement/LEAN-THEOREMS.md): sha256 08ad4f4267939bcc602545caccf47f2fc6904f951c68327936731479b980ac58

## Short address

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

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