NLAlib.GraphEdgeOrientation.sum_mul_edgeResistance
Library · theorem
Headline of foster-theorem
Foster's identity. For a finite graph with nonnegative weights the sum of the weighted edge resistances equals the rank of the weighted Laplacian. [SpielmanSrivastava2011, Lemma 3], allowing zero weights and disconnected graphs. Result: foster-theorem
NLAlib.GraphEdgeOrientation.sum_mul_edgeResistance.{u_1, u_2} {V : Type u_1} {E : Type u_2}
{G : SimpleGraph V} (o : GraphEdgeOrientation G E) [DecidableEq V] [Fintype V] [Fintype E]
{w : E → ℝ} (hw : ∀ (e : E), 0 ≤ w e) :
∑ e, w e * o.edgeResistance w e = ↑(o.weightedLaplacian w).rankImport NLAlib.Matrix.Structured.EdgeResistance.