Alphabeta Math
CorollaryStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passaudited 2026-08-28
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 trace of A(G)k counts closed walks of length k

Statement

Let G be a finite simple graph with adjacency matrix A(G), and let k1. Then

tr(A(G)k)

equals the number of closed walks of length k in G.

Facts & Assumptions

Given: A finite simple graph G with adjacency matrix A, and an integer k1.

[L1]

The entry (Ak)ii counts the walks of length k from vi back to vi (The (i,j) entry of A(G)k counts walks of length k).

[F1]

The trace of a square matrix is the sum of its diagonal entries (The trace of a square matrix over a commutative ring).

Proof

technique · direct
1.1

For each vertex vi, a walk of length k from vi to itself is exactly a closed walk of length k whose chosen start vertex is vi, so [L1] makes (Ak)ii the number of such closed walks.

L1
2.1

Summing step 1.1 over all vertices counts every closed walk of length k exactly once for each of its chosen start vertices, and by [F1] that sum is tr(Ak). Hence the trace counts the closed walks of length k.

step 1.1F1

Depends on

Used by

Dependency tree · two levels

6 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.

Sources