# The 48 Lean theorems: plain statements

All 48 theorems are in the Lean package shipped in this book (the library ArraysLean). Status of every row: **PROVED-Lean**. Each was compiled with Lean 4.34.1 against the Mathlib revision pinned in the package's lockfile; each uses only the standard axioms (propext, Classical.choice, Quot.sound); and the exported proofs (6,174 declarations) were re-checked by a second kernel checker, nanoda. The checkers named for this package are therefore the Lean kernel, nanoda and Lean's own replay checker (leanchecker, passed); no lean4lean run is claimed. The exact types are in the theorem types page of the package.

Each row starts with the question the theorem answers, then the plain statement, then the register result it supports.

What Lean shows here: each formal statement about finite tables and set families follows from the definitions in the package. What it does not show: that those definitions match the plain statements below (read the definitions to judge that), anything about running time (polynomial time is proved in writing only, not in Lean; see the chapters), or anything beyond the formal statement. The last column names the register result whose formal part the theorem covers; 'supporting' means a step used by other theorems that has no register row of its own. The links between theorems and register results were assigned by hand from the theorem names and statements.

| # | Question it answers | Plain statement | Register result it supports |
|---|---|---|---|
| 1 | When can a finished table of strength t take one more column without adding any row? | A new column keeps the array at its strength exactly when, for every group of columns one smaller than the strength and every pattern on them, the rows showing that pattern use both 0 and 1 in the new column. | Class lemma: extension is proper two-colouring of the row-class hypergraph (every strength); Support criterion for strength 4; Pair-class formulation |
| 2 | When can a finished table of strength t take one more column without adding any row? | An array can take one more column exactly when the rows can be coloured 0/1 so that no required group of rows is all one colour. | Class lemma: extension is proper two-colouring of the row-class hypergraph (every strength); Pair-class formulation |
| 3 | At strength four, what exactly must a new column satisfy so that the table keeps strength four? | At strength four: a new column keeps strength four exactly when, for every choice of three old columns and every pattern on them, both 0 and 1 occur in the new column among the rows showing that pattern. | Support criterion for strength 4 |
| 4 | Why is the bound at a width the smallest row count among entries of that width or wider? | An array of a given strength also has every smaller strength (as long as it has enough columns). | Table lookup rule: dropping columns preserves coverage (supporting) |
| 5 | A step used by other theorems. | In an array of strength t, every pattern on any set of at most t columns occurs (under the stated size condition). | supporting lemma |
| 6 | How many columns can a binary strength-four array with N rows have at most? | After flipping columns so that a chosen row is all zeros, two different columns of a strength-two array stay different. | Width ceiling for a fixed number of rows; Normal form of a strength-2 prefix (supporting) |
| 7 | How many columns can a binary strength-four array with N rows have at most? | A strength-two binary array with N rows has at most 2^(N-1) columns. | Width ceiling for a fixed number of rows |
| 8 | How many columns can a binary strength-four array with N rows have at most? | The same bound, at most 2^(N-1) columns, holds for a binary array of strength four with at least four columns. | Width ceiling for a fixed number of rows |
| 9 | Does the hardness hold at every fixed strength from 3 up? | The raising construction (add one column, copy the rows under 0, and add copies of rows with few zeros under 1) gives an array of one higher strength. | Raising lemma: every fixed strength t >= 3 |
| 10 | Does the hardness hold at every fixed strength from 3 up? | The raised array can take one more column at the higher strength exactly when the original array can take one more column at its strength. | Raising lemma: every fixed strength t >= 3 |
| 11 | Does the hardness hold at every fixed strength from 3 up? | The raised array has exactly one more column and the stated number of rows. | Raising lemma: every fixed strength t >= 3 |
| 12 | Does the hardness hold at every fixed strength from 3 up? | For a fixed strength, the number of padding rows the raising construction uses is bounded by a polynomial in the number of columns. | Raising lemma: every fixed strength t >= 3 |
| 13 | Does the hardness hold at every fixed strength from 3 up? | The raised array has at most the stated polynomial number of rows. | Raising lemma: every fixed strength t >= 3 |
| 14 | How does an antichain being maximal relate to a list of minimal hitting sets being complete? | Every set that hits all the given sets contains a smallest such set (one with nothing removable). | Maximality of an antichain is completeness of a list of minimal hitting sets (supporting) |
| 15 | How hard is it to decide whether a strength-2 table can take one more column? | A set hits the primal family exactly when it meets every given set and also every complement of a given set. | Strength-2 extension reduces to N-1 duality questions; Strength-2 extension and monotone non-duality are equivalent (supporting) |
| 16 | How hard is it to decide whether a strength-2 table can take one more column? | Under the stated conditions, a valid column exists exactly when the list of blockers is incomplete (a strength-two array extends exactly when a duality check fails). | Strength-2 extension reduces to N-1 duality questions; Strength-2 extension and monotone non-duality are equivalent |
| 17 | How hard is it to decide whether a strength-2 table can take one more column? | The families built in that reduction, and the candidate bad list, are within the stated size bounds. | Strength-2 extension reduces to N-1 duality questions |
| 18 | At strength 2, what does a table look like once one row is made the reference row and columns are flipped? | For a strength-two array written with one row all zeros, it extends exactly when its family of sets has a valid support. | Normal form of a strength-2 prefix; Strength-2 extension reduces to N-1 duality questions |
| 19 | At strength 2, what does a table look like once one row is made the reference row and columns are flipped? | That array has strength two exactly when every two different sets meet in both required ways. | Normal form of a strength-2 prefix |
| 20 | How hard is it to decide whether a strength-2 table can take one more column? | For such an array, extension is equivalent to the blocker list being different from the transversal family. | Strength-2 extension reduces to N-1 duality questions |
| 21 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | A set hits every minimal transversal exactly when it contains an original edge. | Strength-2 extension and monotone non-duality are equivalent; Maximality of an antichain is completeness of a list of minimal hitting sets |
| 22 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | Under the stated hypotheses, the symmetric family has a valid support exactly when the blocker list is incomplete. | Strength-2 extension and monotone non-duality are equivalent; Structured duality: the reverse reduction is one instance |
| 23 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | Two nonempty families that minimally hit each other give a strength-two array of the symmetric form. | Strength-2 extension and monotone non-duality are equivalent; Structured duality: the reverse reduction is one instance |
| 24 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | The symmetric array has strength two, and the statement that the blocker list is incomplete translates exactly into the statement that the array extends. | Strength-2 extension and monotone non-duality are equivalent; Structured duality: the reverse reduction is one instance |
| 25 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | The reverse construction has exactly the stated numbers of rows and columns. | Strength-2 extension and monotone non-duality are equivalent |
| 26 | At strength 2, what does a table look like once one row is made the reference row and columns are flipped? | Flipping the 0/1 labels of any chosen columns does not change the strength. | Normal form of a strength-2 prefix (supporting); Projection rule (complementing a column) |
| 27 | At strength 2, what does a table look like once one row is made the reference row and columns are flipped? | Flipping chosen columns does not change whether the array can be extended. | Normal form of a strength-2 prefix (supporting) |
| 28 | At strength 2, what does a table look like once one row is made the reference row and columns are flipped? | Reordering the rows does not change the strength. | Normal form of a strength-2 prefix (supporting) |
| 29 | At strength 2, what does a table look like once one row is made the reference row and columns are flipped? | Reordering the rows does not change whether the array can be extended. | Normal form of a strength-2 prefix (supporting) |
| 30 | At strength 2, what does a table look like once one row is made the reference row and columns are flipped? | The normalised family is the original array after the stated column flips and row reordering. | Normal form of a strength-2 prefix |
| 31 | How hard is it to decide whether a strength-2 table can take one more column? | Every strength-two input reduces, after normalising at a chosen row, to the question whether a blocker list is complete. | Strength-2 extension reduces to N-1 duality questions |
| 32 | How hard is it to decide whether a strength-2 table can take one more column? | The normalised reduction removes one row and the families stay within the displayed size bounds. | Strength-2 extension reduces to N-1 duality questions |
| 33 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | Deleting the non-minimal edges of a family leaves a family that is no larger and has the same hitting sets. | Strength-2 extension and monotone non-duality are equivalent (supporting) |
| 34 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | Deleting non-minimal edges does not change the minimal transversals. | Strength-2 extension and monotone non-duality are equivalent (supporting) |
| 35 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | The minimal transversals of a family form a clutter (no edge contains another). | Strength-2 extension and monotone non-duality are equivalent (supporting) |
| 36 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | Taking minimal transversals twice gives back the clutter you started with. | Strength-2 extension and monotone non-duality are equivalent (supporting) |
| 37 | How hard is it to decide whether a strength-2 table can take one more column? | The forward reduction produces two clutters, keeps the yes/no answer, and stays within the stated size bounds. | Strength-2 extension reduces to N-1 duality questions; Strength-2 extension and monotone non-duality are equivalent |
| 38 | How hard is it to decide whether a strength-2 table can take one more column? | Both families in that reduction contain only nonempty edges. | Strength-2 extension reduces to N-1 duality questions (supporting) |
| 39 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | If a family equals the blocker family, a stated local pair condition holds. | Strength-2 extension and monotone non-duality are equivalent; Local minimality is checkable; completeness is not (12 versus 14) |
| 40 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | A fixed small table has strength two and does extend (used as the yes instance). | Strength-2 extension and monotone non-duality are equivalent |
| 41 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | For the stated input, the total reverse construction represents the statement that the blocker list differs from the family, correctly. | Strength-2 extension and monotone non-duality are equivalent; Structured duality: the reverse reduction is one instance |
| 42 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | The total reverse table obeys the displayed bounds on rows, columns and their product. | Strength-2 extension and monotone non-duality are equivalent |
| 43 | Is strength-2 extension the same question as a famous hitting-set puzzle (monotone duality)? | Every total reverse table has at least four rows and two columns. | Strength-2 extension and monotone non-duality are equivalent (supporting) |
| 44 | If an outside column already splits a class of rows, how many classes can fail to be split? | If two rows of an array are equal, some extension gives those two rows opposite values. | Transfer lemma: outside columns colour every class; Distinct-row version stays NP-complete (supporting) |
| 45 | If an outside column already splits a class of rows, how many classes can fail to be split? | Every required class of rows shows both values in any column outside the columns that define the class. | Transfer lemma: outside columns colour every class |
| 46 | If an outside column already splits a class of rows, how many classes can fail to be split? | If the required classes cannot all be split by one new column, the sets of columns that define them cover every column. | Transfer lemma: outside columns colour every class |
| 47 | If an outside column already splits a class of rows, how many classes can fail to be split? | An unsplittable family of classes, each defined by at most s columns, forces the number of columns to be at most s times the number of classes. | Transfer lemma: outside columns colour every class |
| 48 | If every set in a list passes the local test, is the whole list complete? | A hitting set is minimal exactly when each of its elements has an edge that meets the set only at that element. | Local minimality is checkable; completeness is not (12 versus 14) |

## Lean names, files and lines

```
 1  class_lemma                      Core.lean, line 23
 2  extension_iff_two_coloring       Core.lean, line 56
 3  support_criterion                Core.lean, line 60
 4  strength_mono                    Core.lean, line 74
 5  strength_on_small_set            Core.lean, line 84
 6  normalized_injective             Width.lean, line 11
 7  width_bound                      Width.lean, line 30
 8  strength_four_width_bound        Width.lean, line 40
 9  raised_strength                  Raising.lean, line 17
10  raised_extends_iff               Raising.lean, line 47
11  raised_counts                    Raising.lean, line 101
12  padding_bound                    RaisingSize.lean, line 7
13  raised_row_bound                 RaisingSize.lean, line 45
14  minimal_hit_subset               Hypergraph.lean, line 38
15  hits_primal                      Hypergraph.lean, line 43
16  forward_nonddual                 Hypergraph.lean, line 57
17  forward_size_bounds              Hypergraph.lean, line 124
18  anchored_extension_iff           Anchored.lean, line 9
19  anchored_strength_iff            Anchored.lean, line 63
20  anchored_forward_reduction       Anchored.lean, line 94
21  hits_transversals_iff            Reverse.lean, line 7
22  reverse_support_iff              Reverse.lean, line 36
23  sym_strength                     Reverse.lean, line 146
24  reverse_reduction                Reverse.lean, line 216
25  reverse_counts                   Reverse.lean, line 224
26  strength_flip_iff                Normalization.lean, line 9
27  extension_flip_iff               Normalization.lean, line 24
28  strength_row_equiv               Normalization.lean, line 35
29  extension_row_equiv              Normalization.lean, line 45
30  normalized_array_eq              Normalization.lean, line 81
31  full_forward_reduction           Normalization.lean, line 93
32  normalized_reduction_sizes       Normalization.lean, line 107
33  minimize_correct                 Clutters.lean, line 13
34  transversals_minimize            Clutters.lean, line 33
35  transversals_clutter             Clutters.lean, line 40
36  transversals_involution          Clutters.lean, line 48
37  forward_clutter_reduction        Clutters.lean, line 68
38  forward_nonempty_edges           Clutters.lean, line 88
39  dual_implies_local               TotalReverse.lean, line 8
40  fixed_yes_correct                TotalReverse.lean, line 40
41  total_reverse_correct            TotalReverse.lean, line 86
42  total_reverse_sizes              TotalReverse.lean, line 99
43  reverse_promise_sizes            TotalReverse.lean, line 116
44  repeated_row_lemma               FiniteConsequences.lean, line 7
45  outside_column_transfer          FiniteConsequences.lean, line 33
46  uncolorable_classes_cover        FiniteConsequences.lean, line 46
47  uncolorable_class_count          FiniteConsequences.lean, line 60
48  minimal_transversal_local_test   LocalTests.lean, line 5
```

## Where to go next

- How to build and check the Lean package: [recipe 9 of the check guide](../VERIFY.md).
- What each Lean-proved result means in plain words: [the register of results](RESULTS.md).
