Theorem 9.10 -- Thomson's principle
ProvedMarkovMixing.thomson_principleLet be a network on a finite vertex set: a symmetric nonnegative conductance function with total conductance at every vertex, whose associated walk is irreducible. Fix distinct vertices . A flow from to is an antisymmetric edge function vanishing wherever does, satisfying the node law at every vertex except and ; its strength is the net flux out of , and a flow of strength one is a unit flow. The energy of a flow is
each undirected edge counted once. The effective resistance is defined through the voltage and the current as .
The theorem (Thomson's Principle, Theorem 9.10 of Levin–Peres–Wilmer) asserts:
- ;
- the infimum is attained — some unit flow (the current flow) has energy exactly .
Resistance is a variational quantity: any unit flow certifies an upper bound on it, which is the source of all flow-based hitting-time estimates.
import Definitions.Def_mm_network
namespace MarkovMixing
/-- **Theorem 9.10, Thomson's Principle** (LPW): for a connected network,
the effective resistance is the minimal energy of a unit flow from `a` to
`z`, and the minimum is attained. -/
theorem thomson_principle {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) :
effectiveResistance c a z =
sInf {r : ℝ | ∃ θ : V → V → ℝ,
IsFlow c θ a z ∧ flowStrength θ a = 1 ∧ r = flowEnergy c θ} ∧
∃ θ : V → V → ℝ, IsFlow c θ a z ∧ flowStrength θ a = 1 ∧
effectiveResistance c a z = flowEnergy c θ := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be a finite type with decidable equality, and let be a function satisfying and for all (a "conductance"; note and for every pair are allowed but not required). Write for the vertex conductance of , and assume for every . Let be the real matrix with entries , and assume is irreducible in the following sense: for every pair there exists a natural number with (since is the identity, this condition is automatic when ). Fix two vertices . Define the voltage as the probability, for the Markov chain with transition matrix started at , of reaching strictly before ; concretely, , the sum running over paths with , , for all , and for all (in particular and ). The current strength is , and the effective resistance is defined as its reciprocal, (with the convention that the reciprocal of is ). A function is called a flow from to if it is antisymmetric ( for all ), vanishes wherever does (), and has zero net outflow at every vertex with and (no condition constrains the net flow at or at themselves, and nothing requires the flow to be oriented from toward ). The strength of at is , and its energy is
where any term with contributes under the division-by-zero convention (for a flow, on such pairs anyway). The theorem asserts the conjunction of two claims: (1)
where the infimum is the real-number infimum of the set of energies of unit-strength flows (by convention this infimum is if the set were empty or unbounded below); and (2) there exists a flow from to with strength whose energy equals , i.e. the infimum is attained.
Confirmed by the mission captain (proposal self-audit).