Top-Trace Closed-Walk Support Split #
This module isolates the missing k = |V| trace in the characteristic-polynomial
argument. The trace of A^k is the number of rooted closed walks of length
k; for k = |V|, we split those walks into two sectors:
- walks whose support is a proper subset of the vertex set;
- walks whose support has full cardinality.
The proper-support sector is further expanded as a sum over exact vertex supports. This is the Lean-shaped version of the next campaign: regroup the proper-support sum by induced-subgraph isomorphism type and use Kelly's Lemma, then handle the full-support/Hamilton-cycle sector by Kocay-style counting.
Main results #
SimpleGraph.trace_adjMatrix_pow_eq_rootedClosedWalkCountSimpleGraph.rootedClosedWalkCount_eq_proper_add_fullSimpleGraph.properSupportClosedWalkCount_eq_sum_exactSupportSimpleGraph.trace_adjMatrix_card_eq_of_support_counts_eq
References #
- Kocay, W. L. (1981). "Some new methods in reconstruction theory".
- Tutte, W. T. (1979). "All the king's horses".
A rooted closed walk of length k, packaged as a root together with the walk.
This is the finite type whose cardinality is the trace of the kth adjacency
matrix power. The packaging keeps the root explicit, which is useful for
splitting the trace by vertex support.
Instances For
The number of rooted closed walks of length k.
Equations
- G.rootedClosedWalkCount k = Fintype.card (G.RootedClosedWalk k)
Instances For
The number of rooted closed walks of length k whose support is not all of
V.
Equations
- G.properSupportClosedWalkCount k = {wp : G.RootedClosedWalk k | (↑wp.snd).support.toFinset.card < Fintype.card V}.card
Instances For
The number of rooted closed walks of length k whose support has full
cardinality.
Equations
- G.fullSupportClosedWalkCount k = {wp : G.RootedClosedWalk k | (↑wp.snd).support.toFinset.card = Fintype.card V}.card
Instances For
Rooted closed walks of length k with exactly the vertex support U.
Equations
- G.exactSupportClosedWalkCount k U = {wp : G.RootedClosedWalk k | (↑wp.snd).support.toFinset = U}.card
Instances For
A support whose cardinality is |V| is the whole vertex set.
Every rooted closed walk has either proper support or full support.
The proper-support part of the trace is the sum over exact proper supports.
The full-support part is the exact-support count for univ.
The closed-walk count is the trace of the corresponding adjacency-matrix power.
The top trace is reduced to the two support-count subgoals.