Metadata
slug: hardin233157
bibkey: hardin2013a233157
doi: null
url: https://oeis.org/A233157
triage: theorem
motivation_gids:
- D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233157Row.result
Hardin’s recurrence for the 4-row three-state sum-exclusion strip
Problem
OEIS A233157, by R. H. Hardin, has NAME (verbatim from the text export):
Number of 4 X n 0..2 arrays with no element x(i,j) adjacent to value 2-x(i,j) horizontally or antidiagonally.
The empirical recurrence in that export is, verbatim:
Empirical: a(n) = 9*a(n-1) - 15*a(n-2) + 6*a(n-3) for n>7.
This is row 4 of the table A233155: the height is fixed and the width grows. A bond joins horizontal neighbours (i,j),(i,j+1) or antidiagonal neighbours (i,j+1),(i+1,j); its values must have natural-number sum different from 2. Every labelled function counts, without normalization. No vertical or main-diagonal bond condition is imposed.
Statement echo
| Source clause | Lean counterpart | Fidelity |
|---|---|---|
| 4\times n arrays over 0..2 | U4 n: cardinality of the filtered Finset of all Fin 4 × Fin n → Fin 3 | Literal count of every labelled function; U4 n delegates to HardinA233155RowTransfer.T n 4 |
| No horizontal adjacency to 2-x | HardinA233155RowTransfer.Legal on the horizontal pairs | Natural-number sum \ne2 |
| No antidiagonal adjacency to 2-x | The same Legal on (i,j+1),(i+1,j) | The source orientation is retained |
| Empirical recurrence for m>7 | HardinA233157Row.result (n : ℕ) at m=n+8, with all counts cast to \mathbb Z | Every and exactly every source index m\ge8; no extra hypothesis |
Motivation
The settling declaration is
D5.S3.Combinatorics.TraceAvoidingArrays.HardinA233157Row.result.
The external assertion is preregistered in
issue #29231.
The source note is Library/Automata/hardin2013a233157.md.
The compiled result has exactly this statement in its local namespace:
theorem result (n : ℕ) : (U4 (n + 8) : ℤ) =
9 * (U4 (n + 7) : ℤ) - 15 * (U4 (n + 6) : ℤ) + 6 * (U4 (n + 5) : ℤ)
U4 denotes D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233157Row.U4. The natural parameter n is an
index shift; the recurrence is an equality of integers.
Gap
The OEIS recurrence is labelled empirical and its export supplies no proof.
A finite match leaves the all-index assertion unresolved by itself. The
settling obligation is the displayed recurrence for the literal array count
at every source index, including its first index 8. Worldwide proof
absence and priority remain ASSUMED-UNVERIFIED.
Route
- Literal-count equivalence.
U4 nisHardinA233155RowTransfer.T n 4, whose filtered cardinality counts all labelledFin 4 × Fin n → Fin 3functions.HardinA233155ColumnTransfer.properEquiv 4 napplies powers ofFin.revPermto the column labels. Exchanging the row binders and reversing the corresponding equalities identifies its target predicate withHardinA233259PairTransferCore.Proper. Cardinality is preserved. - Frozen all-length count. The private
counting_bridgedirectly appliesHardinA233259PairTransferCount.count_transferand proves(U4 (n + 2) : ℤ) = dotProduct HardinA233259PairTransferCore.weights ((HardinA233259PairTransferCore.Q ^ n).mulVec 1). The exponent isn; the weights count compatible pairs of columns. - Finite relation in the existing matrix.
finite_certificateusesHardinA233259PairTransferPowers.Wand itspowers_tableforFin 9to establish Q^7\mathbf1=6Q^4\mathbf1-15Q^5\mathbf1+9Q^6\mathbf1, with Q equal toHardinA233259PairTransferCore.Q. - All source indices. At width 8, the frozen power table evaluates
powers three through six. For each later width,
TransferMatrix.scalarRelationShiftpropagates the finite relation; the frozen counting bridge and index normalization yieldresult. Bothcounting_bridgeandresultare bind-only against the frozen A233259 owners. The conclusion settles the external assertion underopen-problem-resolutionpreregistered in #29231; this route supplies no new continuation-induction escape witness.
Falsifier
A width m\ge8 at which the literal 4-row count violates the quoted
recurrence would contradict result, with its natural parameter set to
m-8. A mismatch in a model with additional bonds or label
normalization would test a different count.
Evidence
The kernel declaration is
D5.S3.Combinatorics.TraceAvoidingArrays.HardinA233157Row.result;
its recorded axiom closure is contained in
{propext, Classical.choice, Quot.sound}.
The Legal predicate and filtered-cardinality definition specify the source
count. The all-length interpretation comes from the frozen A233259 count
theorem through the predicate equivalence in Route. The finite relation
and propagation use its existing matrix and power table.
Triage
- [proved: D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233157Row.result] Hardin’s order-3 recurrence for the literal 4-row count at every width m\ge8, with the quoted signed coefficients and source starting index.
- [open] The row recurrences at heights R\ge7 and the general table A233155 remain outside this settlement. The height-seven sequence A233160 is owned separately by registration #29560.
What the settlement shows
-
[proved: D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233157Row.result] The all-width recurrence is a theorem about the literal count, extending the source’s empirical formula throughout its stated range.
-
[proved: D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233157Row.counting_bridge] At every width
n + 2, the literal count equals the frozen pair weights dotted withQ ^ napplied to the all-ones vector. This is a direct consequence ofproperEquivandHardinA233259PairTransferCount.count_transfer. -
[open] These Lean declarations establish the displayed recurrence. They do not establish minimal recurrence order, sharpness of its onset, agreement with every b-file entry, or worldwide priority.
-
[open] The general A233155 table and row heights R\ge7 are not settled here; A233160 has its separate registration #29560.
ASSUMED-UNVERIFIED
Literature completeness, global openness before settlement and worldwide priority are unverified. The bounded literature findings in #29231 do not establish those claims.