ssss_dual_feasible
A node potential vector a : V → ℝ and cut dual vector y : Finset V → ℝ are feasible for the dual LP relaxation (SSSS-D) on edge set E : Finset (V × V) with edge costs c : V × V → ℝ and terminals s, t ∈ V if: (1) y(U) ≥ 0 for every non-empty subset U ⊆ V \ {s, t}; and (2) for every edge e = (v, w) ∈ E, a(w) - a(v) plus the sum of y(U) over all non-empty subsets U ⊆ V \ {s, t} crossed by e in either direction (having exactly one endpoint in U, i.e. (e.1 ∈ U ∧ e.2 ∉ U) ∨ (e.1 ∉ U ∧ e.2 ∈ U)) is at most c(e).
Statement
def ssss_dual_feasible {V : Type*} [Fintype V] [DecidableEq V] (E : Finset (V × V)) (c : V × V → ℝ) (s t : V) (a : V → ℝ) (y : Finset V → ℝ) : Prop
- Defined in
- arXiv:2611.26188, Section 3
- Verified
- 20 Nov 2026
- Axioms
- none listed
- Built on 1
- ssss_cutsFor a finite vertex set V and vertices s, t ∈ V, ssss_cuts s t is the set of all non-empty subsets of V \ {s, t}.
- Used by 2
- ssss_weak_dualityFor any edge set E : Finset (V × V), edge costs c : V × V → ℝ, distinct terminals s ≠ t in V, and integer k : ℕ, if x : V × V → ℝ is…
- ssss_dual_optimalA dual solution (a, y) is optimal for the LP relaxation (SSSS-D) with k : ℕ paths if it is dual feasible for (E, c, s, t) and for every…
Read back from the Lean
Let V be a finite type with decidable equality. Given a set of edges E : Finset (V × V), an edge cost/weight function c : V × V → ℝ, vertices s t : V, a vertex potential function a : V → ℝ, and a cut variable function y : Finset V → ℝ, ssss_dual_feasible E c s t a y asserts that both of the following conditions hold:
1. For every non-empty subset U ⊆ V \ {s, t}, 0 ≤ y U.
2. For every edge e ∈ E,
a e.2 - a e.1 + ∑ U ∈ cuts(e), y U ≤ c e,
where cuts(e) is the set of all non-empty subsets U ⊆ V \ {s, t} such that e crosses U (that is, (e.1 ∈ U ∧ e.2 ∉ U) ∨ (e.1 ∉ U ∧ e.2 ∈ U)).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- Dual feasibility for the Single-Source Single-Sink Multi-Path LP relaxation (SSSS-D). -/ def ssss_dual_feasible {V : Type*} [Fintype V] [DecidableEq V] (E : Finset (V × V)) (c : V × V → ℝ) (s t : V) (a : V → ℝ) (y : Finset V → ℝ) : Prop := (∀ U ∈ ssss_cuts s t, 0 ≤ y U) ∧ (∀ e ∈ E, a e.2 - a e.1 + ∑ U ∈ (ssss_cuts s t).filter (fun U => (e.1 ∈ U ∧ e.2 ∉ U) ∨ (e.1 ∉ U ∧ e.2 ∈ U)), y U ≤ c e)