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.
The entry of is the total weight of length- walks from to
Statement
Let be the transfer matrix of a finite weighted directed multigraph over a commutative ring . For every and vertices ,
The sum is over all length- walks from to . Powers of a square matrix are the ones given by the recursion and , where is the number of vertices; the cited matrix laws supply the product and the identity but no power notation, so the recursion is fixed here. At , both sides are when and otherwise.
Facts & Assumptions
Given: A finite weighted directed multigraph over , its transfer matrix , vertices , and a length .
The transfer entry is the sum of the weights of all edges from to , and the unique empty walk at a vertex has weight (Finite weighted directed multigraphs, weighted walks and their transfer matrices).
Matrix multiplication is and the identity matrix has diagonal entries and off-diagonal entries (Entrywise ring-matrix operations, rectangular matrix products, identity matrices and transpose).
For matrices over a commutative ring of compatible shapes, and , and the entrywise additive and distributive laws hold, including all zero-sized shapes (Matrix arithmetic over a commutative ring is associative, unital and distributive, and transpose reverses products).
Proof
For , the recursion in the Statement gives , so , which is when and otherwise by [L2]; this agrees with the empty-walk convention in [L1], the empty walk being the unique walk of length from to and existing only when .
Assume the formula at length . The recursion gives , so by the product formula of [L2].
Substitute the induction formula and the edge-sum definition [L1] into step 1.2. The distributive laws of [L3] expand the result into one product for each length- walk from to followed by one edge from to .
Every length- walk has a unique penultimate vertex and last edge, so the expansion in step 2.1 is exactly the total weight of all length- walks from to .
The base case and induction step prove the formula for all .
Depends on
Used by
- Closed walks of length n in Kₚ are counted by (p-1)ⁿ+(p-1)(-1)ⁿ Example
- Monomer–domino tilings of a board give the Fibonacci recurrence and transfer matrix Example
- Transfer-matrix theorem: weighted-walk generating functions are cofactors of I-xA divided by det(I-xA) Theorem
- 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: 24 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., Theorem 4.7.1 (standard reference, not scraped)