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.
Examples: Linear Recurrences and Rational Generating Functions
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Finite Counting, Factorials and Binomial Coefficients
- Formal Power Series
- Foundations of the Real Numbers for Analysis
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Linear Independence, Bases and Dimension
- Linear Recurrences and Rational Generating Functions
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Polynomial Rings, the Division Algorithm and Roots
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Simple Field Extensions and the Construction of the Complex Numbers
- Splitting Fields
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The ZFC Axioms and the Basic Set Constructions
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
The Fibonacci generating function and Binet formula over
Example
Let be the Fibonacci sequence and put
Then, in ,
and, in the splitting field ,
Facts & Assumptions
Given: The Fibonacci initial values and recurrence.
The Fibonacci sequence satisfies , , and (The Fibonacci sequence and Lucas sequence ).
Multiplication by the reciprocal recurrence denominator converts a recurrence into its finite numerator (A coefficient sequence is eventually linearly recurrent if and only if its formal generating function is rational).
Over a characteristic-zero splitting field, distinct characteristic roots give a unique linear combination of their powers (Over a named splitting field in characteristic zero, repeated characteristic roots give polynomial-times-exponential closed forms).
The factors of the characteristic polynomial correspond to the factors of the reciprocal denominator (Reciprocal-root convention: corresponds to ).
Verification
If , coefficient extraction using [L1] gives ; [L2] therefore gives the displayed rational generating function.
The polynomial factors as in , in agreement with [L4].
By [L3], . The equations and give and .
Substitution in step 2.1 proves Binet's formula, including and .
The Lucas generating function and its two-root closed form
Example
With and , the Lucas sequence satisfies
in , and
in for every .
Facts & Assumptions
Given: The Lucas initial values and recurrence.
The Lucas sequence satisfies , , and (The Fibonacci sequence and Lucas sequence ).
A recurrence beginning at zero has a rational generating function whose numerator is obtained by multiplying by its reciprocal denominator (A coefficient sequence is eventually linearly recurrent if and only if its formal generating function is rational).
Distinct roots of a characteristic polynomial give a unique pure-exponential closed form over a characteristic-zero splitting field (Over a named splitting field in characteristic zero, repeated characteristic roots give polynomial-times-exponential closed forms).
Verification
For , [L1] gives , so [L2] proves the generating-function formula.
Since , [L3] gives .
The initial equations and have the solution , because .
Substitution in step 2.1 proves the displayed closed form for all .
The repeated pole produces the sequence
Example
In ,
The coefficient sequence satisfies
whose characteristic polynomial is . Thus the root of multiplicity two produces a polynomial factor of degree one.
Facts & Assumptions
Given: The repeated pole .
The repeated-pole expansion is (Repeated poles expand formally as ).
A factor in the characteristic polynomial corresponds to in the reciprocal denominator (Reciprocal-root convention: corresponds to ).
The characteristic polynomial of is (Constant-coefficient linear recurrences, their starting index and their characteristic polynomial).
Verification
Apply [L1] with and ; since , this gives the displayed series.
Direct substitution gives .
By [L3], the recurrence polynomial is , and [L2] matches it to the given double pole.
The Fibonacci companion matrix advances
Example
The companion matrix of the Fibonacci recurrence is
It satisfies
and, for ,
Facts & Assumptions
Given: The Fibonacci recurrence and its row-shift companion matrix.
The Fibonacci sequence has initial values and recurrence (The Fibonacci sequence and Lucas sequence ).
A recurrence companion matrix advances its state vector and its powers give all later states (The companion matrix advances the recurrence state vector by one step).
The characteristic polynomial of an order- recurrence companion matrix equals the recurrence characteristic polynomial (A recurrence companion matrix has the recurrence characteristic polynomial).
The row-shift companion matrix of has entries for and for , with all other entries zero (The row-shift companion matrix of a linear recurrence).
Verification
By [L1] the recurrence is , so and . Unfolding [L4] gives , and , with , which is the displayed matrix ; [L2] then gives its state-vector identity.
At , the proposed power formula reads , which follows from [L1].
Multiplying the proposed matrix for on the right by replaces each row by using [L1], so it gives the proposed matrix for .
By [L3], .
Steps 1.2 and 1.3 prove the power identity for every .
Monomer–domino tilings of a board give the Fibonacci recurrence and transfer matrix
Example
Let be the number of tilings of a row of labelled cells by monomers of length one and dominoes of length two. Then
Equivalently, with states (the current cell is already covered from the left) and (the current cell is free), the transfer matrix is
and .
Facts & Assumptions
Given: Linear boards tiled by monomers and dominoes, including the empty tiling at length zero.
The Fibonacci sequence is determined by , , and (The Fibonacci sequence and Lucas sequence ).
The entry of the th power of a transfer matrix counts length- walks from to when all edge weights are one (The entry of is the total weight of length- walks from to ).
A fixed-entry walk generating series is the corresponding cofactor of divided by (Transfer-matrix theorem: weighted-walk generating functions are cofactors of divided by ).
Verification
There is one empty tiling and one one-cell tiling, so . For , the last tile is uniquely a monomer after a tiling of length or a domino after one of length , so .
In the two-state encoding, places a monomer, starts a domino, and completes it. Thus board tilings are in bijection with length- walks from state back to state , and [L2] gives .
Comparing the initial values and recurrence in step 1.1 with [L1] gives for every .
Since has determinant and the relevant cofactor is , [L3] gives the displayed generating function.
Cyclic monomer–domino tilings are counted by Lucas numbers through a matrix trace
Example
Use the two-state Fibonacci graph with transfer matrix
A closed state walk of length encodes a monomer–domino tiling of cyclically arranged labelled cells, with state meaning that the next cell is free and state meaning that it is already covered by a domino started at the preceding cell. With the conventions inherited from closed walks, length zero has two empty boundary states, length one has one monomer tiling, and length two has three tilings. The number of these cyclic tilings is
Consequently,
Facts & Assumptions
Given: The Fibonacci transfer graph and the stated small-size cyclic convention.
The Lucas sequence begins and satisfies (The Fibonacci sequence and Lucas sequence ).
The closed-walk series of a transfer matrix is the generating series of the traces of its powers (Closed walks have trace and logarithmic-derivative generating functions).
Cayley–Hamilton makes the trace sequence of powers of an invertible matrix satisfy the recurrence given by its characteristic polynomial (For an invertible matrix over a field, Cayley-Hamilton makes every matrix-power entry and trace sequence linearly recurrent).
Verification
The transitions , , and respectively place a monomer, start a domino, and finish that domino. Closing the state walk matches the boundary conditions at the marked seam, giving the asserted cyclic-tiling encoding and the stated counts for .
The matrix is invertible, has characteristic polynomial , and has and . Thus [L3] and [L1] give for every .
By [L2], the cyclic-tiling series is the trace series. Directly, has trace and , so the trace formula in [L2] gives the displayed quotient.
Closed walks of length in are counted by
Example
For integers , the number of rooted closed walks of length in the complete graph is
Here an undirected edge is represented by one directed edge in each direction, every edge has weight , and a starting vertex is part of a rooted closed walk.
Facts & Assumptions
Given: Integers and the complete graph with transfer matrix over .
A finite unit-weighted directed graph has a transfer matrix whose rows are sources and columns are targets (Finite weighted directed multigraphs, weighted walks and their transfer matrices).
The diagonal entry counts length- walks from back to , so their total number is (The entry of is the total weight of length- walks from to ).
If over the base field, then (Let be a field, , and . If in , then the transfer-matrix trace series is ).
Verification
By [L1], . The all-ones vector satisfies , while for .
The list is linearly independent over : a relation has coordinates for and , hence . Since in , every coefficient is zero. It is therefore a basis of .
In the basis of step 1.2, is diagonal with entries , so in .
Apply [L3] to step 2.1 and then [L2] to obtain the displayed closed-walk count. When , the difference-vector list is empty and the formula gives because .
Binary words avoiding are counted by
Example
Let be the number of binary words of length that avoid . Then
The proper-prefix states have transfer matrix
Facts & Assumptions
Given: The singleton forbidden set over .
The Fibonacci numbers satisfy their recurrence and fixed initial values (The Fibonacci sequence and Lucas sequence ).
The prefix automaton sends a state and letter to the longest allowed proper-prefix suffix, rejecting a completed forbidden factor (The longest-suffix prefix automaton for a finite set of forbidden factors).
Fixed-entry walk generating functions are the corresponding cofactors of divided by its determinant (Transfer-matrix theorem: weighted-walk generating functions are cofactors of divided by ).
Verification
By [L2], state has transitions labelled to and to , while state has only the transition labelled to . This gives the displayed matrix.
Every avoiding word labels one walk from to either state. Since , summing the first-row entries of its inverse via [L3] gives .
Its coefficients begin and satisfy , so comparison with [L1] gives .
Binary words avoiding have generating function
Example
Let be the number of binary words of length that avoid . Then
The first values are
Facts & Assumptions
Given: The singleton forbidden set over .
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).
Its fixed-entry walk series are cofactors of divided by (Transfer-matrix theorem: weighted-walk generating functions are cofactors of divided by ).
Verification
By [L1], the states are and, in that order, their transfer matrix is . The missing transition from on is precisely the rejected factor .
Avoiding words are walks from to any state. Summing the three corresponding entries supplied by [L2], or solving , gives .
Direct enumeration by length gives through length six. These values also satisfy for , as the denominator in step 2.1 requires.
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.
A recurrence over can require a proper splitting field for its exponential closed form
Statement refuted
Every constant-coefficient recurrence over has its characteristic-root exponential closed form over , without passing to a proper splitting field.
Facts & Assumptions
Given: The sequence defined by , , and .
A recurrence beginning at zero is represented by its rational formal generating function (A coefficient sequence is eventually linearly recurrent if and only if its formal generating function is rational).
The polynomial-times-exponential form is asserted over a named splitting field of the recurrence characteristic polynomial (Over a named splitting field in characteristic zero, repeated characteristic roots give polynomial-times-exponential closed forms).
Counterexample
Multiplying by and using the recurrence leaves , so [L1] gives over .
The characteristic polynomial has no root in , but in it factors as . Thus a pure-exponential expression using its characteristic roots cannot be written with bases in .
Applying [L2] in the splitting field and matching gives . Its first four values are , which satisfy the given recurrence.
This rational recurrence over therefore requires the proper splitting field for its characteristic-root exponential form, refuting the claim.
FALSE: The recurrence coefficients alone determine the sequence
Statement
False claim. The coefficients of a constant-coefficient linear recurrence determine its sequence without any initial values.
Facts & Assumptions
Given: The recurrence .
For a fixed order- recurrence, every choice of initial values determines exactly one recurrence sequence ( initial values determine a sequence satisfying a fixed order- recurrence).
Refutation
With initial pair , the recurrence gives the zero sequence. With initial pair , it gives .
The two sequences obey exactly the same recurrence coefficients but differ at index one. This is consistent with [L1], which requires the two initial values in addition to the coefficients, and it refutes the claim.
FALSE: A split characteristic polynomial always gives a linear combination of pure exponentials
Statement
False claim. If the characteristic polynomial of a linear recurrence splits, then every solution is a linear combination of pure exponentials , with no polynomial factors in .
Facts & Assumptions
Given: The sequence over .
A root of multiplicity contributes a polynomial in of degree below times the corresponding exponential (Over a named splitting field in characteristic zero, repeated characteristic roots give polynomial-times-exponential closed forms).
The double pole has coefficients (Repeated poles expand formally as ).
Refutation
Direct calculation gives , so the characteristic polynomial is , which splits over .
A linear combination of pure exponentials supplied only by the characteristic root is constant, whereas is not. Thus no such pure-exponential expression exists.
The required degree-one factor is exactly the repeated-root term permitted by [L1]; equivalently, [L2] with gives coefficients , whose one-step shift yields .
is a formal power series that is not rational over
Statement refuted
Every formal power series over is rational.
The series is a counterexample.
Facts & Assumptions
Given: The formal series .
A formal series over a field is rational if and only if its coefficient sequence satisfies an eventual constant-coefficient recurrence (A coefficient sequence is eventually linearly recurrent if and only if its formal generating function is rational).
A nonzero polynomial of degree over an integral domain has at most distinct roots (A nonzero polynomial of degree over an integral domain has at most distinct roots).
Counterexample
Suppose were rational. By [L1] its coefficient sequence would satisfy an eventual constant-coefficient recurrence. That recurrence cannot have order zero, since an eventual order-zero recurrence makes the sequence eventually zero while in for every . So there would be , coefficients with , and an index such that for every .
Divide the relation by the nonzero integer . It says that the polynomial vanishes at every integer .
The polynomial has degree and leading coefficient , so it is nonzero. But step 2.1 gives it more than distinct rational roots, contradicting [L2].
Therefore the coefficient sequence is not eventually recurrent and [L1] shows that is not rational. This argument is entirely formal and uses no convergence claim.
FALSE: The transfer-matrix identity requires a spectral-radius or convergence hypothesis
Statement
False claim. The identity used by the transfer-matrix method requires an analytic convergence or spectral-radius hypothesis.
Facts & Assumptions
Given: A square matrix over an arbitrary commutative ring .
In , the coefficientwise geometric series is a two-sided inverse of (Formally, over every commutative coefficient ring).
For a finite weighted directed multigraph over a commutative ring with vertices and transfer matrix , the walk generating functions are the entries of , equal to cofactors of divided by its determinant (Transfer-matrix theorem: weighted-walk generating functions are cofactors of divided by ).
Refutation
Multiplying by , the constant coefficient is and each positive coefficient is ; the same calculation works on the other side. This is the identity in [L1].
Every coefficient uses only finitely many ring operations, and the constant matrix coefficient of is the invertible matrix . No topology, norm, absolute value, or limiting operation occurs.
In the transfer-matrix setting itself — a finite weighted digraph over with vertices and transfer matrix — [L2] reads the walk generating functions off this same formal inverse, again with no analytic hypothesis. So the transfer-matrix identity remains valid over every commutative coefficient ring regardless of spectral radius. This refutes the claim.
Sources
Standard references
Recommended treatments; not extraction sources.
- R. P. Stanley, Enumerative Combinatorics, vol. 1, 2nd ed., Example 4.1.2
- R. P. Stanley, Enumerative Combinatorics, vol. 1, 2nd ed., Example 4.7.16
- B. E. Sagan, Combinatorics: The Art of Counting, Section 3.7
- M. Waldschmidt, Linear Recurrence Sequences VI, slides 16-18
- R. P. Stanley, Enumerative Combinatorics, vol. 1, 2nd ed., Example 4.7.5
- R. P. Stanley, Enumerative Combinatorics, vol. 1, 2nd ed., Proposition 4.7.8
- R. P. Stanley, Enumerative Combinatorics, vol. 1, 2nd ed., Example 4.1.3
- R. P. Stanley, Enumerative Combinatorics, vol. 1, 2nd ed., Sections 4.1-4.2
- R. P. Stanley, Enumerative Combinatorics, vol. 1, 2nd ed., Theorem 4.7.2