Theorem 5, pp. 17–18 (corrected) — spline mesh conditions for approximate minimum cost flow
ProvedParamMCF.MCA.theorem_5Consider a finite strongly connected directed network with balanced demands and strictly increasing marginal costs that are differentiable three times. Let , , , , , and give each edge a strictly increasing mesh from to that contains zero. Write and for the chord spline.
If all edge intervals satisfy
or if is nondecreasing and nonnegative on and nonincreasing and nonpositive on and all intervals satisfy
then every minimum cost flow function for the spline instance is approximate for the original instance on .
This is the marginal cost approximation guarantee of the paper.
Formalization Note The printed theorem is false for meshes that skip zero. The corrected statement requires zero as a mesh point, uses the smaller endpoint magnitude in (i), and takes square roots of both second derivative terms in the factor of (ii). The hypothesis is added because both step-size bounds divide by ; without it the zero-demand instance with a one-point mesh is a counterexample. The shape condition in (ii) is kept as printed; with the stated differentiability it forces on the negative half line. Edge costs are based at zero, the spline's end chords extend linearly, and only the directed and undirected cases are represented. The optimal cost uses the original .
import Mathlib import Definitions.Def_ParamMCF_MCA_Model
namespace ParamMCF.MCA
/-- Theorem 5, pp. 17–18, labelled corrected: 0 is a mesh point, (i) uses the endpoint value
nearest 0, and `B` takes square roots of both terms; `0 < xmax` is added because both
step-size bounds divide by `xmax`. -/
theorem theorem_5 {V E : Type*} [Fintype V] [DecidableEq V]
[Fintype E] [DecidableEq E]
(G : Network V E) (hG : G.IsAdmissible) (directed : Bool)
(f : E → ℝ → ℝ) (hf : ∀ e, IsMarginalCost (f e))
(hf3 : ∀ e, Differentiable ℝ (deriv (f e)) ∧
Differentiable ℝ (deriv (deriv (f e))))
(b0 b : V → ℝ) (hb0 : ∑ v, b0 v = 0) (hb : ∑ v, b v = 0)
(alpha beta lamMax : ℝ) (halpha : 1 < alpha) (hbeta : 0 ≤ beta)
(hlamMax : 0 < lamMax) (hX : 0 < xmax b0 b lamMax)
(K : E → ℕ) (xs : (e : E) → Fin (K e + 1) → ℝ)
(hxs : ∀ e, StrictMono (xs e))
(hfirst : ∀ e, xs e 0 = -xmax b0 b lamMax)
(hlast : ∀ e, xs e (Fin.last (K e)) = xmax b0 b lamMax)
(hzero : ∀ e, ∃ j, xs e j = 0)
(hstep :
(∀ e (i : Fin (K e)),
let xi := xs e i.castSucc
let xn := xs e i.succ
let delta := xn - xi
delta * Real.sqrt
(sSup ((fun ξ => |deriv (deriv (f e)) ξ|) '' Set.Icc xi (xn + delta))) ≤
2 * Real.sqrt 2 * Real.sqrt
((alpha - 1) / (1 + alpha) * min |f e xi| |f e xn| +
beta / ((1 + alpha) * (Fintype.card E : ℝ) * xmax b0 b lamMax))) ∨
((∀ e,
MonotoneOn (deriv (deriv (f e))) (Set.Ici 0) ∧
(∀ x, 0 ≤ x → 0 ≤ deriv (deriv (f e)) x) ∧
AntitoneOn (deriv (deriv (f e))) (Set.Iio 0) ∧
(∀ x, x < 0 → deriv (deriv (f e)) x ≤ 0)) ∧
∀ e (i : Fin (K e)),
let xi := xs e i.castSucc
let xn := xs e i.succ
let delta := xn - xi
delta * max (Real.sqrt |deriv (deriv (f e)) xi|)
(Real.sqrt |deriv (deriv (f e)) xn|) ≤
2 * Real.sqrt 2 * Real.sqrt
((alpha - 1) * |f e xi| +
beta / ((Fintype.card E : ℝ) * xmax b0 b lamMax))))
(xt : ℝ → E → ℝ)
(hxt : ∀ lam ∈ Set.Icc 0 lamMax,
IsMinCostFlow G directed (fun e => linSpline (K e) (xs e) (f e))
(demand b0 b lam) (xt lam)) :
IsApproxMinCostFlowFun G directed f b0 b lamMax alpha beta xt := by sorry
end ParamMCF.MCA
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.