Theorem 1.1 .

There is an algorithm which solves incremental max flow whp in amortized n o ⁢ ( 1 ) ⁢ ε − 3 time per update, against adaptive adversaries.

  • •

    Input: Vertex set V , two vertices s , t ∈ V , parameter ε > 0 .

  • •

    Updates: A sequence of m ≤ poly ⁡ ( n ) edge insertions, each with a capacity u e ∈ [ 1 , U ] .

  • •

    Output: Maintain a ( 1 + ε ) -apx maximum flow through the updates.

Theorem 2.1 .

There is a randomized algorithm for incremental thresholded ℓ p -norm flow problem, when given an initial flow f ( 0 ) and inputs bounded by O ~ ⁢ ( 1 ) in fixed-point arithmetic (what is this?), runs in time p 2 ⁢ m 1 + o ⁢ ( 1 ) ⁢ log ⁡ ( ℰ ⁢ ( f ( 0 ) ) − F / ε ) .

  • •

    Input: An ℓ p -norm flow instance with ( G , w G , d ) , threshold F , parameter ε .

  • •

    Updates: Edge insertions (with corresponding w G )

  • •

    Output: Either certify correctly that O ⁢ P ⁢ T > F , or return a feasible flow f with ℰ ⁢ ( f ) ≤ F + ε .

where the ℓ p -norm flow problem is

  • •

    Input: Undirected graph G , edge weights w G ≥ 0 , demand vector d ∈ ℝ V .

  • •

    Output: minimize ℰ ⁢ ( f ) = ∥ W G ⁢ f ∥ p p over all flows B 𝖳 ⁢ f = d .

Lemma 2.2 .

For any f and x , energy drops by at least the residual when adding circulation x

ℰ ⁢ ( f + x ) − ℰ ⁢ ( f ) ≤ ℛ f ⁢ ( x )

and there is some amount of the circulation that can be added, where the energy doesn’t drop by too much

ℰ ⁢ ( f + λ ⁢ x ) − ℰ ⁢ ( f ) ≥ λ ⁢ ℛ f ⁢ ( x )

for some λ = O ⁢ ( p ) .

Lemma 2.3 .

Certificate : Fix any threshold F > 0 . If there exists a flow f such that for all circulations c , ℛ f ⁢ ( c ) > ( F − ℰ ⁢ ( f ) ) / λ , then the p -norm flow instance satisfies O ⁢ P ⁢ T > F .

Lemma 2.4 .

Improvement : For any flow f and any circulation c such that ℛ f ⁢ ( c ) ≤ − β ⋅ R ^ ,

ℰ ⁢ ( f + c ) − F ≤ ( 1 − β λ ) ⋅ ( ℰ ⁢ ( f ) − F )
Theorem 3.1 .

There is an algorithm for solving the β -apx residual problem.

  • •

    Input: an ℓ p -norm flow instance ( G , w G , d ) , a feasible flow f for this instance, a threshold F > 0 .

  • •

    Definition: the residual threshold is R ^ = ℰ ⁢ ( f ) − F λ , and the residual problem ℛ f ⁢ ( x ) is

    ℛ f ⁢ ( x ) = ⟨ g , x ⟩ + ‖ R ⁢ x ‖ 2 2 + ‖ W ⁢ x ‖ p p
  • •

    Output: either

    • –

      Certificate : for all circulations c , ℛ f ⁢ ( c ) ≥ − R ^ .

    • –

      Improvement : return a circulation c such that ℛ f ⁢ ( c ) ≤ − β ⋅ R ^

where g = p ⁢ ( W G ) p ⁢ | f | p − 2 ⁢ f , r = 2 ⁢ p 2 ⁢ ( W G ) p ⁢ | f | p − 2 , w = p ⁢ w G .

Lemma 3.2 .

Certificate : Fix any R ^ > 0 and g , r , w as in the residual problem. If no circulation c satisfies

⟨ g , c ⟩ = − 1 , ‖ 2 ⁢ R ^ ⁢ R ⁢ c ‖ 2 ≤ 1 , ‖ R ^ ( p − 1 ) / p ⁢ W ⁢ c ‖ p ≤ 1 ,

then every circulation must have ℛ ⁢ ( c ) > − R ^ .

Lemma 3.3 .

Improvement : Given any R ^ > 0 and an incremental K -apx residual solution for g , r , w , if there is a circulation c with

⟨ g , c ⟩ = − 1 , ‖ 2 ⁢ R ^ ⁢ R ⁢ c ‖ 2 ≤ K , ‖ R ^ ( p − 1 ) / p ⁢ W ⁢ c ‖ p ≤ K

then for the circulation c ′ = R ^ 2 ⁢ K 2 ⁢ c ,

ℛ ⁢ ( c ′ ) ≤ − R ^ 6 ⁢ K 2
Theorem 4.1 .

There is a randomized algorithm for the incremental K -apx residual problem that runs in m 1 + o ⁢ ( 1 ) time and succeeds with high probability against an adaptive adversary.

  • •

    Input: Incremental graph G with ( g , r , w ) weights and a parameter K ≥ 1 .

  • •

    Output: Either

    1. 1.

      certify that there is no circulation c * such that ⟨ g , c * ⟩ = − 1 , ‖ R ⁢ c ‖ 2 ≤ 1 and ‖ W ⁢ c ‖ p ≤ 1 , or

    2. 2.

      output a circulation c such that ⟨ g , c * ⟩ = − 1 , ‖ R ⁢ c ‖ 2 ≤ K and ‖ W ⁢ c ‖ p ≤ K .

Lemma 4.2 .

Initially, Φ ( 0 ) = K 2 and Ψ ( 0 ) = K q .

Lemma 4.3 .

At any iteration i , Φ ( i + 1 ) ≤ Φ ( i ) + 3 ⁢ K 2 T .

Lemma 4.4 .

At any iteration i , Ψ ( i + 1 ) ≤ Ψ ( i ) + 4 ⁢ q ⁢ K q T .

Lemma 4.5 .

Improvement : When Algorithm 2 returns c ( T ) , we have

Φ ( T ) ≤ 4 ⁢ K 2 𝑎𝑛𝑑 Ψ ( T ) ≤ 5 ⁢ q ⁢ K q

Therefore, we have

‖ R ⁢ c ( T ) ‖ 2 ≤ 2 ⁢ K 𝑎𝑛𝑑 ‖ W ⁢ c ( T ) ‖ p ≤ 2 ⁢ K
Lemma 4.6 .

Certificate : At any iteration i , if there is no circulation c that satisfies

⟨ g , c ⟩ = − 1 , ‖ L ( i ) ⁢ c ‖ 1 ≤ 20 ⁢ q ⁢ K q − 1

then there is no circulation c such that ⟨ g , c ⟩ = − 1 , ‖ R ⁢ c ‖ 2 ≤ 1 and ‖ W ⁢ c ‖ p ≤ 1 .

Theorem 5.1 .

There exists κ , s = m o ⁢ ( 1 ) such that there exists a randomized algorithm that maintains a collection of s spanning trees { T i } and solves the κ -apx monotone min ratio cycle problem in ( m + Q ) ⁢ m o ⁢ ( 1 ) time, where Q is the number of updates.

  • •

    Input: Target ratio α > 0 , graph G with edge gradients g and lengths ℓ

  • •

    Updates: Edge insertions, length increases

  • •

    Ratio of a circulation: r ⁢ ( c ) = ⟨ g , c ⟩ ‖ L ⁢ c ‖ 1 , optimal ratio over all circulations in current graph is r * = min c ⁡ r ⁢ ( c )

  • •

    Output: Either

    1. 1.

      Certificate : if r * > − α , any circulation c ,

    2. 2.

      Improvement : if r * ≤ − α , a circulation c such that r ⁢ ( c ) ≤ − α / κ .

Theorem 6.1 .

There is an algorithm for the hidden stable flow chasing updates problem (wtf are these names) which outputs a circulation Δ such that

⟨ g ( t ) , Δ ⟩ ‖ L ( t ) ⁢ Δ ‖ 1 ≤ κ ⋅ ⟨ g ( t ) , c ( t ) ⟩ ( d + 1 ) ⁢ ‖ w ( t ) ‖ 1
Theorem 1.1 .

There is an algorithm which solves incremental max flow whp in amortized n o ⁢ ( 1 ) ⁢ ε − 3 time per update, against adaptive adversaries.

  • •

    Input: Vertex set V , two vertices s , t ∈ V , parameter ε > 0 .

  • •

    Updates: A sequence of m ≤ poly ⁡ ( n ) edge insertions, each with a capacity u e ∈ [ 1 , U ] .

  • •

    Output: Maintain a ( 1 + ε ) -apx maximum flow through the updates.

Proof.

Initially compute a max flow f in almost-linear time. Suppose the congestion of f is C . We will construct a data structure that, after each edge insertion, answers

  1. 1.

    Certificate : the congestion of the optimal flow has not fallen below C ′ = e − ε ⁢ C , or

  2. 2.

    Improvement : returns a flow f ′ which has congestion less than e − ε / 2 ⁢ C .

In the first case, the previously calculated f is still a ( 1 + ε ) -apx max flow. In the second case, we recompute a new maxflow using the static algorithm. Since the congestion drops by a ( 1 − ε / 2 ) -factor each time, this recomputation happens only O ~ ⁢ ( 1 / ε ) times.

The required data structure is as follows. Initialize Theorem 2.1 with p = 2 ⁢ log ⁡ ( 2 ⁢ m ) / ε , F = m ⁢ ( C ′ ) p and error parameter = m ⁢ ( C ′ ) p . The two cases are:

  1. 1.

    The algorithm correctly certifies that O ⁢ P ⁢ T > F . Then every flow has ℓ p -norm at least F . If there was a flow with congestion < C ′ , then it would also have ℓ p -norm < m ⁢ ( C ′ ) p . Thus f is still a ( 1 − ε ) -apx max flow.

  2. 2.

    The algorithm returns a new flow with ℰ ⁢ ( f ) ≤ 2 ⁢ m ⁢ ( C ′ ) p . Then congestion of the flow is at most ( 2 ⁢ m ) 1 / p ⁢ e − ε ⁢ C . Since ( 2 ⁢ m ) 1 / p ≤ e ε / 2 from p ≥ 2 ⁢ log ⁡ ( 2 ⁢ m ) / ε , this is e − ε / 2 ⁢ C . Thus the congestion has dropped by a ( 1 − O ⁢ ( ε ) ) factor.

∎

Theorem 2.1 .

There is a randomized algorithm for incremental thresholded ℓ p -norm flow problem, when given an initial flow f ( 0 ) and inputs bounded by O ~ ⁢ ( 1 ) in fixed-point arithmetic (what is this?), runs in time p 2 ⁢ m 1 + o ⁢ ( 1 ) ⁢ log ⁡ ( ℰ ⁢ ( f ( 0 ) ) − F / ε ) .

  • •

    Input: An ℓ p -norm flow instance with ( G , w G , d ) , threshold F , parameter ε .

  • •

    Updates: Edge insertions (with corresponding w G )

  • •

    Output: Either certify correctly that O ⁢ P ⁢ T > F , or return a feasible flow f with ℰ ⁢ ( f ) ≤ F + ε .

where the ℓ p -norm flow problem is

  • •

    Input: Undirected graph G , edge weights w G ≥ 0 , demand vector d ∈ ℝ V .

  • •

    Output: minimize ℰ ⁢ ( f ) = ∥ W G ⁢ f ∥ p p over all flows B 𝖳 ⁢ f = d .

Proof.

Let f ( 0 ) be the first flow computed. We run the algorithm for Theorem 3.1 iteratively S = λ β ⋅ log ⁡ ( ℰ ⁢ ( f ( 0 ) ) − F ε ) many times. Either

  1. 1.

    It certifies at time t that the flow f ( t ) satisfies for all circulations c , ℛ f ( t ) ⁢ ( c ) > − R ^ = F − ℰ ⁢ ( f ( t ) ) λ . By Lemma 2.3 , O ⁢ P ⁢ T > F .

  2. 2.

    The flow f ( S ) is returned. This means that the flow has been augmented S times. By Lemma 2.4 ,

    ℰ ⁢ ( f ( S ) ) − F ≤ ( 1 − β / λ ) S ⋅ ( ℰ ⁢ ( f ( 0 ) ) − F ) ≤ ε

    where the last inequality is by plugging in x = β ⁢ S λ and n = S in ( 1 + x n ) n ≤ e x (for n ≥ 1 and | x | ≤ n ).

∎

Lemma 2.2 .

For any f and x , energy drops by at least the residual when adding circulation x

ℰ ⁢ ( f + x ) − ℰ ⁢ ( f ) ≤ ℛ f ⁢ ( x )

and there is some amount of the circulation that can be added, where the energy doesn’t drop by too much

ℰ ⁢ ( f + λ ⁢ x ) − ℰ ⁢ ( f ) ≥ λ ⁢ ℛ f ⁢ ( x )

for some λ = O ⁢ ( p ) .

Lemma 2.3 .

Certificate : Fix any threshold F > 0 . If there exists a flow f such that for all circulations c , ℛ f ⁢ ( c ) > ( F − ℰ ⁢ ( f ) ) / λ , then the p -norm flow instance satisfies O ⁢ P ⁢ T > F .

Proof.

We will show the converse. If the p -norm flow instance satisfies O ⁢ P ⁢ T ≤ F , then for any flow f there is a circulation c such that ℛ f ⁢ ( c ) ≤ ( F − ℰ ⁢ ( f ) ) / λ . Let f * be a feasible flow with ℰ ⁢ ( f * ) ≤ F . Then since ( f * − f ) / λ is a circulation, using Lemma 2.2 ,

F − ℰ ⁢ ( f ) ≥ ℰ ⁢ ( f * ) − ℰ ⁢ ( f ) (since ℰ ⁢ ( f * ) ≤ F )
≥ λ ⁢ ℛ f ⁢ ( f * − f / λ ) (by Lemma 2.2 )

∎

Lemma 2.4 .

Improvement : For any flow f and any circulation c such that ℛ f ⁢ ( c ) ≤ − β ⋅ R ^ ,

ℰ ⁢ ( f + c ) − F ≤ ( 1 − β λ ) ⋅ ( ℰ ⁢ ( f ) − F )
Proof.

We have

ℰ ⁢ ( f + c ) − F = ℰ ⁢ ( f + c ) − ℰ ⁢ ( f ) + ℰ ⁢ ( f ) − F

We bound the first two terms as follows

ℰ ⁢ ( f + c ) − ℰ ⁢ ( f ) ≤ ℛ f ⁢ ( c ) (by Lemma 2.2 )
≤ − β ⋅ R ^ (by assumption)
= − β λ ⋅ ( ℰ ⁢ ( f ) − F )

as required. ∎

Theorem 3.1 .

There is an algorithm for solving the β -apx residual problem.

  • •

    Input: an ℓ p -norm flow instance ( G , w G , d ) , a feasible flow f for this instance, a threshold F > 0 .

  • •

    Definition: the residual threshold is R ^ = ℰ ⁢ ( f ) − F λ , and the residual problem ℛ f ⁢ ( x ) is

    ℛ f ⁢ ( x ) = ⟨ g , x ⟩ + ‖ R ⁢ x ‖ 2 2 + ‖ W ⁢ x ‖ p p
  • •

    Output: either

    • –

      Certificate : for all circulations c , ℛ f ⁢ ( c ) ≥ − R ^ .

    • –

      Improvement : return a circulation c such that ℛ f ⁢ ( c ) ≤ − β ⋅ R ^

where g = p ⁢ ( W G ) p ⁢ | f | p − 2 ⁢ f , r = 2 ⁢ p 2 ⁢ ( W G ) p ⁢ | f | p − 2 , w = p ⁢ w G .

Proof.

Run the algorithm from Theorem 4.1 with R ′ = 2 ⁢ R ^ ⁢ R and W ′ = R ^ p − 1 p ⁢ W . Either

  • •

    there is no circulation with unit negative gradient and small 2 and p norms. Then by Lemma 3.2 , every circulation satisfies ℛ ⁢ ( c ) > − R ^ .

  • •

    it returns a circulation c ′ with unit negative gradient and approximately small 2 and p norms. Then by Lemma 3.3 , the residual of c ′ satisfies ℛ ⁢ ( c ′ ) ≤ − ( 1 / 6 ⁢ K 2 ) ⋅ R ^ .

∎

Lemma 3.2 .

Certificate : Fix any R ^ > 0 and g , r , w as in the residual problem. If no circulation c satisfies

⟨ g , c ⟩ = − 1 , ‖ 2 ⁢ R ^ ⁢ R ⁢ c ‖ 2 ≤ 1 , ‖ R ^ ( p − 1 ) / p ⁢ W ⁢ c ‖ p ≤ 1 ,

then every circulation must have ℛ ⁢ ( c ) > − R ^ .

Proof.

We will show the converse. Let c be some circulation such that ℛ ⁢ ( c ) ≤ − R ^ . We will show that c satisfies the required norm bounds. From the bound on the residual, we have

⟨ g , c ⟩ + ‖ R ⁢ c ‖ 2 2 ≤ − R ^
⟹ ⟨ g , c ⟩ ‖ R ⁢ c ‖ 2 ≤ − R ^ ‖ R ⁢ c ‖ 2 − ‖ R ⁢ c ‖ 2

By AM-GM, we have

1 2 ⋅ ( R ^ ‖ R ⁢ c ‖ 2 + ‖ R ⁢ c ‖ 2 ) ≥ R ^

Similarly,

⟨ g , c ⟩ + ‖ W ⁢ c ‖ p p ≤ − R ^
⟹ ⟨ g , c ⟩ ‖ W ⁢ c ‖ p ≤ − R ^ ‖ W ⁢ c ‖ p − ‖ W ⁢ c ‖ p p − 1

By weighted AM-GM,

( p − 1 p ) ⋅ R ^ ‖ W ⁢ c ‖ p + 1 p ⋅ ‖ W ⁢ c ‖ p p − 1 ≥ R ^ p − 1 p

Then setting c * = − 1 ⟨ g , c ⟩ ⋅ c , we have

⟨ g , c * ⟩ = − 1 , ‖ 2 ⁢ R ^ ⁢ R ⁢ c ‖ 2 ≤ 1 , ‖ R ^ ( p − 1 ) / p ⁢ W ⁢ c ‖ p ≤ 1

∎

Lemma 3.3 .

Improvement : Given any R ^ > 0 and an incremental K -apx residual solution for g , r , w , if there is a circulation c with

⟨ g , c ⟩ = − 1 , ‖ 2 ⁢ R ^ ⁢ R ⁢ c ‖ 2 ≤ K , ‖ R ^ ( p − 1 ) / p ⁢ W ⁢ c ‖ p ≤ K

then for the circulation c ′ = R ^ 2 ⁢ K 2 ⁢ c ,

ℛ ⁢ ( c ′ ) ≤ − R ^ 6 ⁢ K 2
Proof.

The assumptions on c can be restated as

⟨ g , c ⟩ = − 1 , ‖ R ⁢ c ‖ 2 ≤ K 2 ⁢ R ^ , ‖ W ⁢ c ‖ p ≤ K R ^ ( p − 1 ) / p

Letting ζ = R ^ 2 ⁢ K 2 ,

ℛ ⁢ ( c ′ ) = ζ ⋅ ⟨ g , c ⟩ + ζ 2 ⋅ ‖ R ⁢ c ‖ 2 2 + ζ p ⋅ ‖ W ⁢ c ‖ p p
≤ ζ ⋅ ( − 1 ) + ζ 2 ⋅ 1 8 ⁢ ζ + ζ p ⋅ K p R ^ p − 1
≤ − ζ + ζ 8 + R ^ 2 p ⁢ K p
≤ − ζ + ζ 8 + ζ 4
≤ − ζ 3

∎

Theorem 4.1 .

There is a randomized algorithm for the incremental K -apx residual problem that runs in m 1 + o ⁢ ( 1 ) time and succeeds with high probability against an adaptive adversary.

  • •

    Input: Incremental graph G with ( g , r , w ) weights and a parameter K ≥ 1 .

  • •

    Output: Either

    1. 1.

      certify that there is no circulation c * such that ⟨ g , c * ⟩ = − 1 , ‖ R ⁢ c ‖ 2 ≤ 1 and ‖ W ⁢ c ‖ p ≤ 1 , or

    2. 2.

      output a circulation c such that ⟨ g , c * ⟩ = − 1 , ‖ R ⁢ c ‖ 2 ≤ K and ‖ W ⁢ c ‖ p ≤ K .

Proof.

We run Theorem 5.1 with ℓ e = K q − 2 ⁢ r e 2 ⁢ a e + w e q ⁢ b e q − 1 (refer to paper for more notation) in that algorithm. Either

  • •

    It returns a cycle with ratio > − α / κ : then there is no circulation with ratio ≤ − α . Among circulations with ⟨ g , c * ⟩ = − 1 , there is no circulation with ‖ L ⁢ c * ‖ ≤ 1 / α = 20 ⁢ q ⁢ K q − 1 . Then appeal to Lemma 4.6 .

  • •

    The algorithm returns c ( T ) : then appeal to Lemma 4.5 or something idk.

∎

Lemma 4.2 .

Initially, Φ ( 0 ) = K 2 and Ψ ( 0 ) = K q .

Proof.

Initially, a ( 0 ) = K m ⁢ r − 1 and b ( 0 ) = K m 1 / q ⁢ w − 1 . Thus R ⁢ a ( 0 ) = K m and W ⁢ b ( 0 ) = K m 1 / q . This gives the lemma. ∎

Lemma 4.3 .

At any iteration i , Φ ( i + 1 ) ≤ Φ ( i ) + 3 ⁢ K 2 T .

Proof.

Let Φ be the old potential and Φ ′ be the new potential. The cycle Δ satisfies ⟨ g , Δ ⟩ = − 1 and ‖ L ~ ⁢ Δ ‖ 1 ≤ K q .

We will show that | Δ e | ≤ T ⁢ a e and ∑ e r e 2 ⁢ a e ⁢ | Δ e | ≤ K 2 . Then the lemma follows, since

Φ ′ = ∑ e r e 2 ⁢ ( a e + 1 T ⁢ | Δ e | ) 2
= ∑ e r e 2 ⁢ ( a e 2 + 2 T ⁢ a e ⁢ | Δ e | + 1 T 2 ⁢ | Δ e | 2 )
≤ ∑ e r e 2 ⁢ ( a e 2 + 2 T ⁢ a e ⁢ | Δ e | + 1 T ⁢ a e ⁢ | Δ e | ) (since | Δ e | ≤ T ⁢ a e )
= Φ + 3 T ⁢ ∑ e r e 2 ⁢ a e ⁢ | Δ e |
≤ Φ + 3 ⁢ K 2 T (since ∑ e r e 2 ⁢ a e ⁢ | Δ e | ≤ K 2 )

We show the two statements required. By definition of ℓ ,

K q − 2 ⁢ r e 2 ⁢ a e ⁢ | Δ e | ≤ ℓ e ⁢ | Δ e | ≤ ‖ L ⁢ Δ ‖ 1 ≤ ‖ L ~ ⁢ Δ ‖ 1 ≤ K q

In particular, the first inequality gives us our second statement. Now since a e 2 ≥ K 2 / m ,

K 2 ⁢ | Δ e | m ⁢ a e ≤ r e 2 ⁢ a e 2 ⁢ | Δ e | a e = r e 2 ⁢ a e ⁢ | Δ e | ≤ K 2

which gives us the first statement. ∎

Lemma 4.4 .

At any iteration i , Ψ ( i + 1 ) ≤ Ψ ( i ) + 4 ⁢ q ⁢ K q T .

Proof.

Something. ∎

Lemma 4.5 .

Improvement : When Algorithm 2 returns c ( T ) , we have

Φ ( T ) ≤ 4 ⁢ K 2 𝑎𝑛𝑑 Ψ ( T ) ≤ 5 ⁢ q ⁢ K q

Therefore, we have

‖ R ⁢ c ( T ) ‖ 2 ≤ 2 ⁢ K 𝑎𝑛𝑑 ‖ W ⁢ c ( T ) ‖ p ≤ 2 ⁢ K
Proof.

The first claim follows from Lemma 4.2 , Lemma 4.3 , and Lemma 4.4 . ∎

Lemma 4.6 .

Certificate : At any iteration i , if there is no circulation c that satisfies

⟨ g , c ⟩ = − 1 , ‖ L ( i ) ⁢ c ‖ 1 ≤ 20 ⁢ q ⁢ K q − 1

then there is no circulation c such that ⟨ g , c ⟩ = − 1 , ‖ R ⁢ c ‖ 2 ≤ 1 and ‖ W ⁢ c ‖ p ≤ 1 .

Proof.

We show the converse. Let c * be a circulation satisfying the required properties. Then at any iteration i ,

‖ L ⁢ c * ‖ 1 = K q − 2 ⁢ ∑ e r e 2 ⁢ a e ⁢ | c e * | + ∑ e w e q ⁢ b e q − 1 ⁢ | c e * |
≤ K q − 2 ⁢ ‖ R ⁢ a ‖ 2 ⁢ ‖ R ⁢ c * ‖ 2 + ‖ W q − 1 ⁢ b q − 1 ‖ q / ( q − 1 ) ⁢ ‖ W ⁢ c * ‖ q

We bound each term separately. First, using Lemma 4.5 ,

K q − 2 ⁢ ‖ R ⁢ a ‖ 2 ⁢ ‖ R ⁢ c * ‖ 2 ≤ K q − 2 ⋅ 2 ⁢ K
≤ 2 ⁢ K q − 1 ≤ 10 ⁢ q ⁢ K q − 1

and

‖ W q − 1 ⁢ b q − 1 ‖ q / ( q − 1 ) ⁢ ‖ W ⁢ c * ‖ q ≤ ‖ W ⁢ b ‖ q q − 1 ⋅ 2
≤ ( 5 ⁢ q ⁢ K q ) q − 1 q ⋅ 2
≤ 10 ⁢ q ⁢ K q − 1

∎

Theorem 5.1 .

There exists κ , s = m o ⁢ ( 1 ) such that there exists a randomized algorithm that maintains a collection of s spanning trees { T i } and solves the κ -apx monotone min ratio cycle problem in ( m + Q ) ⁢ m o ⁢ ( 1 ) time, where Q is the number of updates.

  • •

    Input: Target ratio α > 0 , graph G with edge gradients g and lengths ℓ

  • •

    Updates: Edge insertions, length increases

  • •

    Ratio of a circulation: r ⁢ ( c ) = ⟨ g , c ⟩ ‖ L ⁢ c ‖ 1 , optimal ratio over all circulations in current graph is r * = min c ⁡ r ⁢ ( c )

  • •

    Output: Either

    1. 1.

      Certificate : if r * > − α , any circulation c ,

    2. 2.

      Improvement : if r * ≤ − α , a circulation c such that r ⁢ ( c ) ≤ − α / κ .

Proof.

Use the dynamic algorithm of Theorem 6.1 . Define c * to be any min ratio circulation in the first iteration where r * ≤ − α . Define c ( t ) to be c * if all edges of c * are in G , else define c ( t ) to be the zero circulation. Define the widths w ( t ) to be | ℓ e ( t ) ⁢ c e * | if e ∈ supp ⁡ ( c * ) and 0 otherwise. The conditions for hidden stable flow chasing updates holds since an edge is deleted and re-inserted when its length doubles. Either

  • •

    Certificate : if supp ⁡ ( c * ) is not contained in G ( t ) , then we do not care which circulation is output.

  • •

    Improvement : if supp ⁡ ( c * ) is supported in G ( t ) , then the output circulation satisfies

    ⟨ g ( t ) , Δ ⟩ ‖ L ( t ) ⁢ Δ ‖ 1 ≤ κ ⋅ ⟨ g ( t ) , c ( t ) ⟩ ( d + 1 ) ⁢ ‖ w ( t ) ‖ 1 ≤ κ d + 1 ⋅ ⟨ g ( t ) , c * ⟩ ‖ L ( t ) ⁢ c * ‖ 1

∎

Theorem 6.1 .

There is an algorithm for the hidden stable flow chasing updates problem (wtf are these names) which outputs a circulation Δ such that

⟨ g ( t ) , Δ ⟩ ‖ L ( t ) ⁢ Δ ‖ 1 ≤ κ ⋅ ⟨ g ( t ) , c ( t ) ⟩ ( d + 1 ) ⁢ ‖ w ( t ) ‖ 1