Go check yourself

Curiosities / Covering arrays

Status: Lean-checked (second-kernel)covering-arrays/result-158

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

Theorem: Lean theorem 37 of 48, forward clutter reduction

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.

The normalized forward reduction produces two clutters, preserves the decision equivalence, and satisfies the stated size bounds.

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 "How hard is it to decide whether a strength-2 table can take one more column?"; register result it supports: Strength-2 extension reduces to N-1 duality questions; Strength-2 extension and monotone non-duality are equivalent.

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).

Short address: gocheckyourself.org/r/225/

Id: covering-arrays/result-158

Receipt 1 files, each with its SHA-256 fingerprint

Evidence

  1. document statement/LEAN-THEOREMS.md
    sha256 08ad4f4267939bcc602545caccf47f2fc6904f951c68327936731479b980ac58

Lean name

-- name: ArraysLean.forward_clutter_reduction
-- ArraysLean/Clutters.lean, line 68
theorem forward_clutter_reduction {R C : Type*} [Fintype R] [Fintype C]
    [DecidableEq R] (M : R → C → Bool) (r0 : R)
    (hk : 2 ≤ Fintype.card C) (hM : Strength M 2) :
    Clutter (minimize (primal (normalizedFamily M r0))) ∧
    Clutter (badList (normalizedFamily M r0)) ∧
    (Extends M 2 ↔ transversals (minimize (primal (normalizedFamily M r0))) ≠
      badList (normalizedFamily M r0)) ∧
    (minimize (primal (normalizedFamily M r0))).card ≤ 2 * Fintype.card C ∧
    (badList (normalizedFamily M r0)).card ≤ Fintype.card C * (Fintype.card R - 1)

How to check this