Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Unnumbered Eqs.(29)–(32),(145): Steiner-cut LP identity

Open
QAlgorithms.Papers.Independent.Intakethird100.P35.connectivity_lp_identity

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let G′=(V,E′)G'=(V,E')G′=(V,E′) be a finite undirected graph with finite nonnegative capacities cec_ece​ and a set S⊆VS\subseteq VS⊆V of at least two terminals. An SSS-cut separates at least one pair of terminals, and its capacity is the sum of capacities of its crossing edges, each counted once. Let fs→tmax⁡(c)f_{s\to t}^{\max}(c)fs→tmax​(c) denote the usual nonnegative oriented-flow LP with net source objective. In the connectivity LP, each unordered pair of terminals has its own full copy of every edge budget and conservation constraints; a common slack is bounded by every pair's net source flow. Then

min⁡A: A separates S∑e∈∂Ace=min⁡{s,t}⊆Sfs→tmax⁡(c)=fSmax⁡(c).\min_{A:\,A\text{ separates }S}\sum_{e\in\partial A}c_e =\min_{\{s,t\}\subseteq S} f_{s\to t}^{\max}(c) =f_S^{\max}(c).A:A separates Smin​e∈∂A∑​ce​={s,t}⊆Smin​fs→tmax​(c)=fSmax​(c).

The cut minimum, pair minimum, and connectivity LP maximum are attained. This expresses Steiner connectivity as a linear program of independent pair tests, including disconnected graphs and zero capacities.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P35
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakethird100.P35

open scoped BigOperators

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.15,30, (29)--(32),(145): Steiner cut, smallest pair max-flow,
and the independently budgeted connectivity LP have equal values, with both
extrema attained. S is a set of at least two distinct vertices. -/
theorem connectivity_lp_identity {n e : ℕ} (G : EdgeGraph n (Fin e))
    (hSimple : IsSimple G) (c : Fin e → ℝ) (hc : ∀ a, 0 ≤ c a)
    (S : Finset (Fin n)) (hS : 2 ≤ S.card) :
    steinerValue G c S = connectivityValue G c S ∧
    (∃ p : TerminalPair S,
      singlePairFlowValue G c p.val.1 p.val.2 = connectivityValue G c S ∧
      ∀ q : TerminalPair S,
        singlePairFlowValue G c p.val.1 p.val.2 ≤ singlePairFlowValue G c q.val.1 q.val.2) ∧
    (∃ A, SteinerCut S A ∧ cutCapacity G c A = steinerValue G c S ∧
      ∀ B, SteinerCut S B → cutCapacity G c A ≤ cutCapacity G c B) ∧
    (∃ f, ConnectivityFeasible G c S (connectivityValue G c S) f) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P35

end
Source
Linear programs for entanglement and key distribution in the quantum internet, arXiv:1809.03120v3, PDF p. 15, Unnumbered Eqs.(29)–(32),(145): Steiner-cut LP identity
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For all natural numbers n,en,en,e, consider a graph GGG on vertices {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} with edges {0,…,e−1}\{0,\ldots,e-1\}{0,…,e−1}, distinct designated endpoints L(a),R(a)L(a),R(a)L(a),R(a) for each edge, and the property that edges with identical endpoints in either order are equal; let ca≥0c_a\ge0ca​≥0 be real capacities and let SSS be a vertex set with ∣S∣≥2|S|\ge2∣S∣≥2. For a real assignment fa,bf_{a,b}fa,b​, with b∈{0,1}b\in\{0,1\}b∈{0,1}, define

Df(v)=∑a=0e−1(1L(a)=v(fa,0−fa,1)+1R(a)=v(fa,1−fa,0)).D_f(v)=\sum_{a=0}^{e-1}\left( \mathbf1_{L(a)=v}(f_{a,0}-f_{a,1}) +\mathbf1_{R(a)=v}(f_{a,1}-f_{a,0}) \right).Df​(v)=a=0∑e−1​(1L(a)=v​(fa,0​−fa,1​)+1R(a)=v​(fa,1​−fa,0​)).

For vertices u,vu,vu,v, call fff feasible for (u,v)(u,v)(u,v) when all its entries are nonnegative, fa,0+fa,1≤caf_{a,0}+f_{a,1}\le c_afa,0​+fa,1​≤ca​ for each edge, and Df(w)=0D_f(w)=0Df​(w)=0 at every w≠u,vw\ne u,vw=u,v; let Vu,vV_{u,v}Vu,v​ be the supremum of the source outflows Df(u)D_f(u)Df​(u) of these feasible assignments. Let T={(u,v)∈S×S:u<v}\mathcal T=\{(u,v)\in S\times S:u<v\}T={(u,v)∈S×S:u<v}, and let KKK be the supremum of all real zzz for which there is a family (fp)p∈T(f_p)_{p\in\mathcal T}(fp​)p∈T​ such that each f(u,v)f_{(u,v)}f(u,v)​ is feasible for (u,v)(u,v)(u,v) and z≤Df(u,v)(u)z\le D_{f_{(u,v)}}(u)z≤Df(u,v)​​(u); these capacity bounds hold separately for each pair, with no capacity sum across pairs. For any vertex set AAA, let C(A)C(A)C(A) be the sum of cac_aca​ over edges with exactly one endpoint in AAA, call AAA a terminal-separating cut when there exist u,v∈Su,v\in Su,v∈S with u∈Au\in Au∈A and v∉Av\notin Av∈/A, and let HHH be the infimum of the capacities of all such cuts. Then all four assertions hold: H=KH=KH=K; there exists p=(u,v)∈Tp=(u,v)\in\mathcal Tp=(u,v)∈T with Vu,v=KV_{u,v}=KVu,v​=K and Vu,v≤Vu′,v′V_{u,v}\le V_{u',v'}Vu,v​≤Vu′,v′​ for every (u′,v′)∈T(u',v')\in\mathcal T(u′,v′)∈T; there exists a terminal-separating cut AAA with C(A)=HC(A)=HC(A)=H and C(A)≤C(B)C(A)\le C(B)C(A)≤C(B) for every terminal-separating cut BBB; and there exists a family (fp)p∈T(f_p)_{p\in\mathcal T}(fp​)p∈T​ of the stated separately feasible assignments with K≤Df(u,v)(u)K\le D_{f_{(u,v)}}(u)K≤Df(u,v)​​(u) for every (u,v)∈T(u,v)\in\mathcal T(u,v)∈T. The cardinality hypothesis excludes n<2n<2n<2, but empty edge sets, zero capacities, and disconnected terminal pairs are permitted.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me