Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 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.

Binary words avoiding 101 have generating function (1+x2)/(1−2x+x2−x3)

Example

Let an be the number of binary words of length n that avoid 101. Then

∑n≥0anxn=1+x21−2x+x2−x3.

The first values are

a0,a1,…,a6=1,2,4,7,12,21,37.

Facts & Assumptions

Given: The singleton forbidden set B={101} over {0,1}.

[L1]

The prefix automaton uses the allowed proper-prefix states and the longest suffix transition (The longest-suffix prefix automaton for a finite set of forbidden factors).

[L2]

Its fixed-entry walk series are cofactors of I−xA divided by det⁡(I−xA) (Transfer-matrix theorem: weighted-walk generating functions are cofactors of I−xA divided by det⁡(I−xA)).

Verification

technique · transfer matrix with finite enumeration check
1.1givenL1

By [L1], the states are ε,1,10 and, in that order, their transfer matrix is A=(110011100). The missing transition from 10 on 1 is precisely the rejected factor 101.

2.1step 1.1L2algebra

Avoiding words are walks from ε to any state. Summing the three corresponding entries supplied by [L2], or solving (I−xA)y=1, gives (1+x2)/(1−2x+x2−x3).

3.1step 2.1algebra∎

Direct enumeration by length gives 1,2,4,7,12,21,37 through length six. These values also satisfy an=2an−1−an−2+an−3 for 3≤n≤6, as the denominator in step 2.1 requires.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

11 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.