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
Lemma
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: lemma |
| 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 | |
| 16 | namespace Lax263307.RoutingNormalization |
| 17 | |
| 18 | open scoped Classical |
| 19 | |
| 20 | def IsUniquePair {n q : ℕ} (E : Fin n → Fin n → Fin q → Prop) : Prop := |
| 21 | ∀ i u v u' v', E u v i → E u' v' i → u = u' ∧ v = v' |
| 22 | |
| 23 | noncomputable def routed {n q : ℕ} (w : Fin q → ℝ) |
| 24 | (E : Fin n → Fin n → Fin q → Prop) (u v : Fin n) : ℝ := |
| 25 | ∑ i, if E u v i then w i else 0 |
| 26 | |
| 27 | noncomputable def probability {n q : ℕ} (w : Fin q → ℝ) |
| 28 | (E : Fin n → Fin n → Fin q → Prop) (u v : Fin n) (i : Fin q) : ℝ := |
| 29 | if E u v i then w i / (routed w E u v * (n : ℝ) ^ 2) else 0 |
| 30 | |
| 31 | /-- Nonnegative normalized probabilities with uniform ordered endpoints. -/ |
| 32 | axiom normalization_correct {n q : ℕ} (w : Fin q → ℝ) |
| 33 | (E : Fin n → Fin n → Fin q → Prop) (hn : 0 < n) |
| 34 | (nonnegative : ∀ i, 0 ≤ w i) (positive : ∀ u v, 0 < routed w E u v) : |
| 35 | (∀ u v i, 0 ≤ probability w E u v i) ∧ |
| 36 | (∀ u v, (∑ i, probability w E u v i) = 1 / (n : ℝ) ^ 2) ∧ |
| 37 | (∑ u, ∑ v, ∑ i, probability w E u v i) = 1 |
| 38 | |
| 39 | /-- Uniform commodity normalization preserves the scaled load bound. -/ |
| 40 | axiom normalized_load_bound {n q : ℕ} (w : Fin q → ℝ) |
| 41 | (E : Fin n → Fin n → Fin q → Prop) (hn : 0 < n) |
| 42 | (nonnegative : ∀ i, 0 ≤ w i) (unique : IsUniquePair E) |
| 43 | (γ : ℝ) (γ_positive : 0 < γ) (lower_bound : ∀ u v, 1 / γ ≤ routed w E u v) |
| 44 | (cost : Fin q → ℝ) (cost_nonnegative : ∀ i, 0 ≤ cost i) : |
| 45 | (∑ u, ∑ v, ∑ i, probability w E u v i * cost i) ≤ |
| 46 | γ / (n : ℝ) ^ 2 * (∑ i, w i * cost i) |
| 47 | |
| 48 | end Lax263307.RoutingNormalization |
| 49 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments