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.
Transfer-matrix theorem: weighted-walk generating functions are cofactors of divided by
Statement
Let be a commutative ring, let a finite weighted directed multigraph have vertices and transfer matrix , and put . For vertices ,
The quotient is a rational formal power series over because has constant coefficient .
Facts & Assumptions
Given: A nonempty finite weighted directed multigraph over , its transfer matrix , vertices , and .
The entry of is the total weight of length- walks from to (The entry of is the total weight of length- walks from to ).
Formally, over every commutative coefficient ring (Formally, over every commutative coefficient ring).
The adjugate satisfies (Deleted-row-and-column minors, cofactors, the cofactor matrix and the adjugate over a commutative ring).
For a positive-sized square matrix, (For every positive-sized square matrix over a commutative ring, ).
If is a unit, then (If is a unit, then ).
The determinant is the finite Leibniz sum over permutations (For , the determinant over a commutative ring by the Leibniz formula, and for a real matrix).
A formal series is a unit exactly when its constant coefficient is a unit (A formal power series is a unit exactly when its constant coefficient is a unit).
Cauchy multiplication makes a commutative ring (Cauchy multiplication makes a commutative ring containing as the finitely supported subring).
Proof
By [L2], the entry of is , and [L1] identifies each coefficient with the total weight of the corresponding walks.
Setting gives . In the Leibniz sum [L6], only the identity permutation contributes to , so has constant coefficient and is a unit by [L7].
Apply [L4] and [L5] over the commutative ring from [L8] to obtain .
Taking the entry in step 2.1 and using [L3] gives .
Combining steps 1.1 and 3.1 proves the formula, with no analytic hypothesis. The assumption is exactly the positive-size domain of [L3] through [L6].
Depends on
- The $(u,v)$ entry of $A^n$ is the total weight of length-$n$ walks from $u$ to $v$
- Formally, $(I-xA)^{-1}=\sum_{n\ge0}A^n x^n$ over every commutative coefficient ring
- Cauchy multiplication makes $R\llbracket x\rrbracket$ a commutative ring containing $R[x]$ as the finitely supported subring
- Deleted-row-and-column minors, cofactors, the cofactor matrix and the adjugate over a commutative ring
- For every positive-sized square matrix over a commutative ring, $A\operatorname{adj}(A)=\operatorname{adj}(A)A=\det(A)I$
- If $\det(A)$ is a unit, then $A^{-1}=\det(A)^{-1}\operatorname{adj}(A)$
- For $n\ge1$, the determinant over a commutative ring by the Leibniz formula, and $|\det A|$ for a real matrix
- A formal power series is a unit exactly when its constant coefficient is a unit
Used by
- Closed walks have trace and logarithmic-derivative generating functions Corollary
- Binary words avoiding 101 have generating function (1+x²)/(1-2x+x²-x³) Example
- Binary words avoiding 11 are counted by Fₙ₊₂ Example
- Monomer–domino tilings of a board give the Fibonacci recurrence and transfer matrix Example
- North–east–west walks without immediate horizontal reversal satisfy aₙ=2aₙ₋₁+aₙ₋₂ Example
- FALSE: The transfer-matrix identity requires a spectral-radius or convergence hypothesis False statement
- Words over a finite alphabet avoiding finitely many nonempty factors have a rational length generating function Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 79 results over 18 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., Theorem 4.7.2 (standard reference, not scraped)
- J. Gallier and J. Quaintance, Linear Algebra for Computer Vision, Robotics, and Machine Learning, Section 6.4 (standard reference, not scraped)