Lemma 2.2 — weighted matrix–tree theorem
ProvedL1ResistanceCount.Counting.lemma_2_2effective-resistancegraph-theoryp2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1spanning-trees
Let be a finite connected positive-real-weight undirected graph, let be its Laplacian, and let be any root. With defined as the weighted sum over spanning edge sets,
The sum is independent of the cofactor in its definition. For a singleton, the cofactor is the empty determinant and the unique empty tree has weight one. The identity links combinatorial tree weights to the determinant identities used later in the paper.
Differences from the source:
- encoding: a finite weighted undirected graph on V with labelled edges E → the published positive-real-weight multigraph on Fin n and Fin m; reason: finite labels preserve every graph up to relabelling; parallel edges remain distinct and §2 discards loops
Preamble
import Mathlib import Definitions.Def_L1ResistanceCount_Counting_Obstacle
Formal statement
namespace L1ResistanceCount.Counting
theorem lemma_2_2 {n m : ℕ} (G : WeightedGraph n m) (hG : G.IsConnected) (r : Fin n) :
treeWeight G = Matrix.det (G.laplacian.submatrix
(fun v : {v : Fin n // v ≠ r} => v.val) (fun v : {v : Fin n // v ≠ r} => v.val)) := by sorry
end L1ResistanceCount.Counting
Source
Rong-Hua Li, Yichun Yang, STOC 2027 submission #881 (October 2026), Lemma 2.2, printed p.4 / PDF p.4; https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/881.pdf
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.