Uniform endpoint normalization of finite path flows
Lax263307.RoutingNormalization · concepts/Lax263307/RoutingNormalization.lean · lax-263307
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Normalize each of the ordered endpoint commodities to mass . If every commodity has routed mass at least , normalization increases any nonnegative load by at most . Each flow record belongs to at most one endpoint pair, so records are counted only once. The statement includes diagonal commodities and applies to vertex loads that count both route endpoints.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax263307.PathSampling |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Uniform endpoint normalization of finite path flows |
| 6 | type: theorem |
| 7 | --- |
| 8 | Normalize each of the ordered endpoint commodities to mass . |
| 9 | If every commodity has routed mass at least , normalization |
| 10 | increases any nonnegative load by at most . Each flow record |
| 11 | belongs to at most one endpoint pair, so records are counted only once. |
| 12 | The statement includes diagonal commodities and applies to vertex loads |
| 13 | that count both route endpoints. |
| 14 | |
| 15 | # Attribution |
| 16 | |
| 17 | Bonnet–Chang, normalization and vertex-load accounting in Lemma 7. |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax263307.RoutingNormalization |
| 21 | |
| 22 | def IsUniquePair {n q : ℕ} (E : Fin n → Fin n → Fin q → Prop) : Prop := |
| 23 | ∀ i u v u' v', E u v i → E u' v' i → u = u' ∧ v = v' |
| 24 | |
| 25 | noncomputable def routed {n q : ℕ} (w : Fin q → ℝ) |
| 26 | (E : Fin n → Fin n → Fin q → Prop) (u v : Fin n) : ℝ := by |
| 27 | classical |
| 28 | exact ∑ i, if E u v i then w i else 0 |
| 29 | |
| 30 | noncomputable def probability {n q : ℕ} (w : Fin q → ℝ) |
| 31 | (E : Fin n → Fin n → Fin q → Prop) (u v : Fin n) (i : Fin q) : ℝ := by |
| 32 | classical |
| 33 | exact if E u v i then w i / (routed w E u v * (n : ℝ) ^ 2) else 0 |
| 34 | |
| 35 | /-- Nonnegative normalized probabilities with uniform ordered endpoints. -/ |
| 36 | axiom normalization_correct {n q : ℕ} (w : Fin q → ℝ) |
| 37 | (E : Fin n → Fin n → Fin q → Prop) (hn : 0 < n) |
| 38 | (nonnegative : ∀ i, 0 ≤ w i) (positive : ∀ u v, 0 < routed w E u v) : |
| 39 | (∀ u v i, 0 ≤ probability w E u v i) ∧ |
| 40 | (∀ u v, (∑ i, probability w E u v i) = 1 / (n : ℝ) ^ 2) ∧ |
| 41 | (∑ u, ∑ v, ∑ i, probability w E u v i) = 1 |
| 42 | |
| 43 | /-- Uniform commodity normalization preserves the scaled load bound. -/ |
| 44 | axiom normalized_load_bound {n q : ℕ} (w : Fin q → ℝ) |
| 45 | (E : Fin n → Fin n → Fin q → Prop) (hn : 0 < n) |
| 46 | (nonnegative : ∀ i, 0 ≤ w i) (unique : IsUniquePair E) |
| 47 | (γ : ℝ) (γ_positive : 0 < γ) (lower_bound : ∀ u v, 1 / γ ≤ routed w E u v) |
| 48 | (cost : Fin q → ℝ) (cost_nonnegative : ∀ i, 0 ≤ cost i) : |
| 49 | (∑ u, ∑ v, ∑ i, probability w E u v i * cost i) ≤ |
| 50 | γ / (n : ℝ) ^ 2 * (∑ i, w i * cost i) |
| 51 | |
| 52 | end Lax263307.RoutingNormalization |
| 53 |
Attribution
Bonnet–Chang, normalization and vertex-load accounting in Lemma 7.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments