Lemma 3, Eq.(121): total concurrent rounding
OpenQAlgorithms.Papers.Independent.Intakethird100.P35.total_concurrent_roundingLet be finite and undirected, with indexed pairs , distinct within each pair. Fix positive integers and finite nonnegative capacities , allowing dependence on . Let count all simple directed paths for pair and put . Let maximize the sum of net source flows under conservation, nonnegativity, and one shared physical edge budget across all commodities and both orientations. In the multigraph having labelled copies of each edge , there is one concurrently edge-disjoint packing with paths for each pair such that
The estimate rounds the total throughput objective. The sum defining differs from the maximum in Lemma 2; if every path set is empty, the empty packing applies.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P35
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakethird100.P35
open scoped BigOperators
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.27--28, Lemma 3, (121): concurrent total rounding, N=sum_i N_i.
Printed proof (128) says worst; the statement (121), objective (122), and estimate
(127) all say total. We state the lemma's total objective without using (128). -/
theorem total_concurrent_rounding {n e r : ℕ} (G : EdgeGraph n (Fin e))
(hSimple : IsSimple G) (hr : 0 < r) (s t : Fin r → Fin n)
(hst : ∀ i, s i ≠ t i) (m k : ℕ) (hm : 0 < m) (hk : 0 < k)
(c : Fin e → ℝ) (hc : ∀ a, 0 ≤ c a) :
∃ P : Packing G (roundedCopies c m k (sumPathCount G s t)) s t,
((m * k * sumPathCount G s t : ℕ) : ℝ) *
(totalValue G c s t - 1 / (k : ℝ)) ≤ ∑ i, (P.count i : ℝ) := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P35
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all natural numbers , consider a graph with vertices , edges , and designated endpoints for each edge ; assume that two edges with the same endpoints, in either order, must be equal. Suppose , and choose vertices for every , positive natural numbers , and nonnegative real capacities . For a collection of real directed edge quantities , define the net outflow of collection at vertex by
Let be the supremum of all values arising from collections satisfying , for each edge, and whenever . Let be the sum, over all , of the number of paths from to specified by a length , an injective vertex sequence with the stated endpoints, and an edge sequence whose -th edge joins and in either endpoint order. Replace each original edge by individually labelled copies, where the natural-number floor is zero for negative inputs. There exist natural numbers and such paths for each pair in the copied graph, with no labelled edge copy shared by two distinct selected paths, such that
No connectivity or positive-capacity hypothesis is imposed: and are allowed; when , there are no copied edges, all selected path counts are zero, and the displayed inequality is . The terminal hypotheses exclude .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.