Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck 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.

The (u,v) entry of An is the total weight of length-n walks from u to v

Statement

Let A be the transfer matrix of a finite weighted directed multigraph over a commutative ring R. For every nN and vertices u,v,

(An)uv=W:uv, W=nw(W).

The sum is over all length-n walks from u to v. Powers of a square matrix are the ones given by the recursion A0:=Ip and An+1:=AnA, where p 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 n=0, both sides are 1R when u=v and 0R otherwise.

Facts & Assumptions

Given: A finite weighted directed multigraph over R, its transfer matrix A, vertices u,v, and a length nN.

[L1]

The transfer entry Auv is the sum of the weights of all edges from u to v, and the unique empty walk at a vertex has weight 1R (Finite weighted directed multigraphs, weighted walks and their transfer matrices).

[L2]

Matrix multiplication is (AB)uv=zAuzBzv and the identity matrix has diagonal entries 1 and off-diagonal entries 0 (Entrywise ring-matrix operations, rectangular matrix products, identity matrices and transpose).

[L3]

For matrices over a commutative ring of compatible shapes, A(BC)=(AB)C and ImA=A=AIn, 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

technique · induction
1.1

For n=0, the recursion in the Statement gives A0=Ip, so (A0)uv=(Ip)uv, which is 1R when u=v and 0R otherwise by [L2]; this agrees with the empty-walk convention in [L1], the empty walk being the unique walk of length 0 from u to v and existing only when u=v.

baseL1L2
1.2

Assume the formula at length n. The recursion gives An+1=AnA, so (An+1)uv=z<p(An)uzAzv by the product formula of [L2].

ihL2
2.1

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-n walk from u to z followed by one edge from z to v.

step 1.2L1L3algebra
3.1

Every length-(n+1) walk has a unique penultimate vertex and last edge, so the expansion in step 2.1 is exactly the total weight of all length-(n+1) walks from u to v.

step 2.1L1
4.1

The base case and induction step prove the formula for all nN.

step 1.1step 3.1discharge-induction

Depends on

Used by

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