Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-16
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

North–east–west walks without immediate horizontal reversal satisfy an=2an1+an2

Example

Let an be the number of length-n words over {N,E,W} in which neither EW nor WE occurs. Then

a0=1,a1=3,an=2an1+an2(n2),

and

n0anxn=1+x12xx2.

For nonempty words, classification by the last letter gives the transfer matrix

A=(111110101)

in the state order N,E,W.

Facts & Assumptions

Given: Words over {N,E,W} with the adjacent factors EW and WE forbidden.

[L1]

An eventual recurrence is equivalent to rationality of the ordinary formal generating function, with the numerator determined by the initial coefficients (A coefficient sequence is eventually linearly recurrent if and only if its formal generating function is rational).

[L2]

Finite-state walk series are rational cofactor quotients of their transfer matrix (Transfer-matrix theorem: weighted-walk generating functions are cofactors of IxA divided by det(IxA)).

Verification

technique · state elimination and transfer check
1.1

Let Nn,En,Wn count valid nonempty words by their last letter. Appending N is always allowed, whereas E may not follow W and W may not follow E; this gives the displayed matrix and Nn=an1 for n1.

givenalgebra
2.1

For n2, the state equations give En+Wn=2Nn1+En1+Wn1=an1+an2. Together with Nn=an1 this yields an=2an1+an2.

step 1.1algebra
3.1

The empty word and the three one-letter words give a0=1,a1=3. Multiplying the coefficient series by 12xx2 and using step 2.1 leaves 1+x, so [L1] gives the displayed generating function.

step 2.1L1algebra
4.1

As a consistency check, [L2] applied to the displayed matrix makes 1+x1T(IxA)11 equal to the same quotient; the leading 1 counts the empty word.

step 1.1L2algebra

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 42 results over 10 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources