Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 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.

Closed walks of length n in Kp are counted by (p−1)n+(p−1)(−1)n

Example

For integers p,n≥1, the number of rooted closed walks of length n in the complete graph Kp is

(p−1)n+(p−1)(−1)n.

Here an undirected edge is represented by one directed edge in each direction, every edge has weight 1∈Q, and a starting vertex is part of a rooted closed walk.

Facts & Assumptions

Given: Integers p,n≥1 and the complete graph Kp with transfer matrix A=J−I over Q.

[L1]

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

[L2]

The diagonal entry (An)uu counts length-n walks from u back to u, so their total number is tr⁡(An) (The (u,v) entry of An is the total weight of length-n walks from u to v).

Verification

technique · explicit eigenbasis
1.1givenL1algebra

By [L1], A=J−I. The all-ones vector 1 satisfies A1=(p−1)1, while A(ei−e0)=−(ei−e0) for 1≤i<p.

1.2givenalgebra

The list 1,e1−e0,…,ep−1−e0 is linearly independent over Q: a relation has coordinates α+βi=0 for i≥1 and α−∑iβi=0, hence pα=0. Since p≠0 in Q, every coefficient is zero. It is therefore a basis of Qp.

2.1step 1.1step 1.2algebra

In the basis of step 1.2, A is diagonal with entries p−1,−1,…,−1, so χA(t)=(t−(p−1))(t+1)p−1 in Q[t].

3.1step 2.1L2L3∎

Apply [L3] to step 2.1 and then [L2] to obtain the displayed closed-walk count. When p=1, the difference-vector list is empty and the formula gives 0 because n≥1.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

15 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