Lemma 9.6 -- the Green's function and effective resistance
ProvedMarkovMixing.green_resistanceLet be a network on a finite vertex set: a symmetric nonnegative conductance function with total conductance at every vertex, carrying the walk , assumed irreducible. Fix distinct vertices . The Green's function of the walk stopped at is the expected number of visits to a vertex before first hitting :
the walk starting at and being the hitting time of . The effective resistance is defined through the voltage: with (the harmonic function with boundary values , ), the current flowing out of is , and .
The theorem (Lemma 9.6 of Levin–Peres–Wilmer) asserts:
The expected number of returns to the starting point before reaching is exactly the vertex conductance times the effective resistance — the identity through which escape probabilities and resistances translate into each other.
import Definitions.Def_mm_network
namespace MarkovMixing
/-- **Lemma 9.6** (LPW): the Green's function of the network walk stopped at
`τ_z` satisfies `G_{τ_z}(a,a) = c(a) R(a ↔ z)`. -/
theorem green_resistance {V : Type*} [Fintype V] [DecidableEq V]
(c : V → V → ℝ) (hc : IsConductance c)
(hpos : ∀ x : V, 0 < vertexConductance c x)
(hirr : Irreducible (networkWalk c)) (a z : V) (haz : a ≠ z) :
greenFn (networkWalk c) a z a =
vertexConductance c a * effectiveResistance c a z := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: green_resistance
Let be a finite type with decidable equality, and let satisfy the bundle's conductance predicate — and for all (self-loops allowed) — together with the hypothesis that every vertex conductance is strictly positive: for all . Let be the associated walk matrix, (all denominators positive here), and assume is irreducible in the bundle's sense: for all there exists (including possibly , where is the identity) with . Fix two vertices with (so has at least two elements). The theorem asserts the single real-number identity
where the two sides unfold as follows.
The left side is the bundle's greenFn of at : Lean's tsum over — the limit if the series is summable, and by convention if not — of the quantity
i.e. the total -weight of length- walks that start at , end at , and never visit at any time (the term equals since ). Informally this is the expected number of visits to (counting time ) strictly before the walk from first hits , but the formal object is exactly the tsum just described.
The right side is the product of with the bundle's effectiveResistance, which is the real inverse — equal to , not , if — of the "current strength"
Here is the bundle's voltage: the tsum over (again if not summable) of the total -weight of paths with , , for all , and for all — that is, walks from that hit for the first time at their final step while never visiting . In particular (only the length- path contributes, since ) and .
The claim is exactly this equality of two real numbers, for every , , satisfying the stated hypotheses; no claim of positivity, finiteness beyond the tsum conventions, or any inequality is made.
Confirmed by the mission captain (proposal self-audit).