                             Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time

due to Claim C.2, this implies that µ∗ also has at least Bℓ /2 crossing edges at level ℓ. Once the process gets to level ℓ
in every step, it will reduce the number of bad edges by 1. Furthermore, we claim that in each step it may increase the
cost of µ′ by at most 4 · λℓ . By every step some (r1 , b2 ), (r2 , b1 ) are added to µ′ and some (r1 , b1 ), (r2 , b2 ) are removed.
We have that c(r1 , b2 ) ≤ 2 · λℓ as r1 and b2 are contained in the same cell at level ℓ. By triangle inequality, we have
c(r2 , b1 ) ≤ c(b1 , r1 ) + c(r1 , b2 ) + c(b2 , r2 ) and therefore c(r2 , b1 ) + c(r1 , b2 ) − c(b1 , r1 ) − c(b2 , r2 ) ≤ 2 · c(r1 , b2 ). Hence
the total increase is indeed at most 4 · λℓ . That is, the process will take at most Bℓ steps, in each increasing µ′ by at most
4 · λℓ , where Bℓ ≤ Cross(µ∗ , ℓ)/2. Summing over all levels proves the claim.




We now relate the costs of matchings µ′ and µa . Let M [Y ] stand for the edges of matching M restricted to points Y . By
construction of the algorithm and due to Claim C.1, we know that both of µ′ and µa match the points of Yv to each other for
any v ∈ T . First, observe that if v is a leaf then our algorithm calculated an optimal minimum cost matching of Yv , that is
c(µ′ [Yv ]) ≤ c(µa [Yv ]) for all leafs v ∈ V .


Claim C.4. c(µa [Yv ]) ≤ c(µ′ [Yv ]) + 2 · λv /p · |Yv | for all non-leaf v ∈ T .


Proof. Recall that the algorithm computes µa [Yv ] by aggregating all points of Yv to the respective center of their sub-cell
in Cv and computing an optimal solution of the resulting Euclidean geometric transport instance, then moving the points
back to their original location. That is, assuming the points were already in the center of their respective cells, µa [Yv ] is
a minimum cost matching of Yv . Moving a point to the center of it’s respective sub-cell increases the cost of an optimal
solution by at most λv /p (the length of the sides of the sub-cells of v), similarly the cost of moving them back to their
original position is also upper bounded by λv /p.



                                                         ∗
               P
Claim C.5.        v∈Tℓ |v is non-leaf |Yv | ≤ 2 · Cross(µ , ℓ + 1) for ℓ ∈ {0 . . . k − 1}.




Proof. Consider a particular vertex v ∈ Tℓ . The points matched at v (the points of Yv ) are all inherited by v by its children
nodes due to an imbalance of red and blue points in the respective cells of v-s children nodes. This implies that µ∗ matched
at least |Yv | points in Cv with points in a separate sub-cell of layer ℓ + 1. Hence, |Yv | points of Cv are incident on crossing
edges at level ℓ + 1 in µ∗ . Summing over all vertices of {Yv |v ∈ Tℓ } proves the claim.




We now have to tie the number of crossing edges to the cost of µ∗ .


Claim C.6. E[Cross(µ∗ , ℓ)]/λℓ = O(c(µ∗ )) for all ℓ ∈ {0 . . . k} where the expectation is taken with respect to the random
shift introduced at initialization.


Proof. Consider an edge e ∈ µ∗ of length L. With probability Ω(L/λℓ ) it crosses the grid at level ℓ due to the random shift.
Hence, it contributes L to both sides of the inequality.




We are now ready to upper bound the approximation ratio of the algorithm in expectation with respect to the random shift at
initialization.

                                                                       16
