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
Example
Let be the number of length- words over in which neither nor occurs. Then
and
For nonempty words, classification by the last letter gives the transfer matrix
in the state order .
Facts & Assumptions
Given: Words over with the adjacent factors and forbidden.
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).
Finite-state walk series are rational cofactor quotients of their transfer matrix (Transfer-matrix theorem: weighted-walk generating functions are cofactors of divided by ).
Verification
Let count valid nonempty words by their last letter. Appending is always allowed, whereas may not follow and may not follow ; this gives the displayed matrix and for .
For , the state equations give . Together with this yields .
The empty word and the three one-letter words give . Multiplying the coefficient series by and using step 2.1 leaves , so [L1] gives the displayed generating function.
As a consistency check, [L2] applied to the displayed matrix makes equal to the same quotient; the leading counts the empty word.
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
- R. P. Stanley, Enumerative Combinatorics, vol. 1, 2nd ed., Example 4.1.3 (standard reference, not scraped)