Uniform endpoint normalization of finite path flows

Lax263307.RoutingNormalization · concepts/Lax263307/RoutingNormalization.lean · lax-263307

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Lemma

    Normalize each of the n2n^2 ordered endpoint commodities to mass 1/n21/n^2. If every commodity has routed mass at least 1/γ1/\gamma, normalization increases any nonnegative load by at most γ/n2\gamma/n^2. 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
    3 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on ADescendants are omitted for concepts with more than 10 descendants.
    Evidence

    This concept declares 2 statements. Each proof establishes one of them relative to its assumptions.

    Lean source view on GitHub

    1import Lax263307.PathSampling
    2
    3/-!
    4---
    5title: Uniform endpoint normalization of finite path flows
    6type: lemma
    7---
    8Normalize each of the n2n^2 ordered endpoint commodities to mass 1/n21/n^2.
    9If every commodity has routed mass at least 1/γ1/\gamma, normalization
    10increases any nonnegative load by at most γ/n2\gamma/n^2. Each flow record
    11belongs to at most one endpoint pair, so records are counted only once.
    12The statement includes diagonal commodities and applies to vertex loads
    13that count both route endpoints.
    14-/
    15
    16namespace Lax263307.RoutingNormalization
    17
    18open scoped Classical
    19
    20def 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
    23noncomputable 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
    27noncomputable 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. -/
    32axiom 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. -/
    40axiom 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
    48end Lax263307.RoutingNormalization
    49
    Show ProofShow Proof
    Builds on
    Used by
    From Mathlib

    none

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…