ssss_dual_obj
def
The objective value of a dual solution (a, y) for k paths is k * (a(t) - a(s)) plus twice the sum of y_U over all non-empty subsets U of V \ {s, t}.
Statement
def ssss_dual_obj {V : Type*} [Fintype V] [DecidableEq V] (s t : V) (k : ℕ) (a : V → ℝ) (y : Finset V → ℝ) : ℝ
- 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
Given a finite type V with decidable equality, two elements s, t : V, a natural number k, a function a : V → ℝ, and a function y : Finset V → ℝ, ssss_dual_obj s t k a y is the real number defined by
(k : ℝ) * (a t - a s) + ∑ U ∈ ssss_cuts s t, 2 * y U,
where ssss_cuts s t is the collection of non-empty subsets of V \ {s, t}.
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
/-- Objective value of a dual solution (a, y) to (SSSS-D) for k paths. -/ def ssss_dual_obj {V : Type*} [Fintype V] [DecidableEq V] (s t : V) (k : ℕ) (a : V → ℝ) (y : Finset V → ℝ) : ℝ := (k : ℝ) * (a t - a s) + ∑ U ∈ ssss_cuts s t, 2 * y U