Documentation

CslibFrontier.GameTheory.InterdomainRouting.GaoRexford

Gao–Rexford Commercial Routing Conditions and BGP Stability #

Autonomous systems on the Internet maintain commercial relationships (CommercialRel): a neighbor is a customer, a peer, or a provider ([GR01a]; [FSS07], Chapter 14). These relationships induce three structural conditions (GaoRexfordConditions) on an instance S : SPP V of the Stable Paths Problem:

  1. No Customer–Provider Cycles (NoCustomerProviderCycle): the directed provider-to-customer relation IsProviderOf is acyclic (∀ u, ¬ Relation.TransGen (IsProviderOf G rel) u u).
  2. Valley-Free Permitted Paths (IsValleyFree): along any permitted path toward dest, once a path traverses a peer or customer edge, every subsequent edge must be a customer edge (equivalently, edges follow the pattern provider* → peer? → customer*, capturing export filtering where ASes export peer and provider routes only to customers).
  3. Prefer-Customer (PreferCustomer): every AS strictly prefers any permitted path whose next hop is a customer over any permitted path whose next hop is a peer or provider (Gao–Rexford Guideline A; in particular, any strict customer ≻ peer ≻ provider ranking satisfies it).

Main definitions #

Main results #

References #

Commercial relationships and valley-free paths #

Commercial relationship of neighbor v as seen from AS u: v is a customer, peer, or provider of u.

Instances For

    Reversing the perspective across an AS peering edge: a customer sees its neighbor as a provider, a provider sees its neighbor as a customer, and peering is symmetric.

    The valley-free condition on a vertex list p with respect to edge relationship labels rel: whenever an edge a → b is not a provider edge (i.e., it is peer or customer), any immediately following edge b → c must be a customer edge. Equivalently, next-hop labels along p follow the pattern provider* → peer? → customer*.

    Instances For
      def Cslib.GameTheory.InterdomainRouting.IsProviderOf {V : Type u_1} (G : SimpleGraph V) (rel : V → V → CommercialRel) (u v : V) :

      Directed provider-to-customer edge: u is a provider of v (equivalently v is a customer of u) in G.

      No Customer–Provider Cycles (NCPC): the directed provider-to-customer relation has no directed cycle.

      Prefer-Customer (Gao–Rexford Guideline A): every AS strictly prefers any permitted path whose next hop is a customer over any permitted path whose next hop is a peer or provider. In particular, any strict customer ≻ peer ≻ provider preference ranking satisfies this condition.

      The Gao–Rexford commercial routing conditions ([GR01a]) on an SPP instance: consistent commercial edge labels, no customer–provider cycles, valley-free permitted paths, and prefer-customer routing preferences.

      • rel : V → V → CommercialRel

        Commercial relationship of the second AS as viewed from the first.

      • rel_symm (u v : V) : S.graph.Adj u v → self.rel v u = (self.rel u v).flip

        Edge symmetry: v's relationship to u reverses u's relationship to v.

      • noCustomerProviderCycle : NoCustomerProviderCycle S.graph self.rel

        Acyclicity of the provider–customer hierarchy (NCPC).

      • valleyFree (u : V) (p : List V) : S.permitted u p → IsValleyFree self.rel p

        Every permitted path is valley-free.

      • preferCustomer : PreferCustomer S self.rel

        Customer routes are strictly preferred to peer and provider routes.

      Valley-free propagation lemmas #

      Gao–Rexford main theorems #

      Gao–Rexford theorem (absence of dispute wheels) ([GR01a]; [FSS07], Chapter 14): under commercial symmetry, no customer–provider cycles, valley-free permitted paths, and prefer-customer routing preferences, no dispute wheel can exist.

      Gao–Rexford stability ([GR01a]): under the Gao–Rexford commercial routing conditions, an SPP instance has a unique stable path assignment.

      theorem Cslib.GameTheory.InterdomainRouting.GaoRexfordConditions.exists_converges {V : Type u_1} [Fintype V] [DecidableEq V] {S : SPP V} (hGR : GaoRexfordConditions S) (sched : ℕ → V) (hfair : SPP.IsFair sched) :
      ∃ (π : V → Option (List V)), S.IsStable π ∧ ∃ (T : ℕ), ∀ t ≥ T, S.run sched S.initAssignment t = π

      Gao–Rexford safety ([GR01a]; [GSW02], proved here for the asynchronous per-node atomic best-response activation model SPP.run of [FSS07], Chapter 14, rather than FIFO link-queue SPVP): under the Gao–Rexford commercial routing conditions, asynchronous best-response BGP dynamics from initAssignment converge under every fair activation schedule to the unique stable path assignment.