Bounding overcount to prove O(g^4) running time of the distance algorithm on generalized Bolza surfaces
Establish a rigorous upper bound on the overcount—the average number of times the same polygon is revisited—during execution of the depth-first search distance algorithm (Algorithm 1) on generalized Bolza surfaces S_g, and use this bound to prove the empirically observed O(g^4) running time.
References
We then find experimentally in Fig. 7 that the algorithm running time is O(g4). We cannot prove this observation because we cannot estimate the overcount—the average number of times the same polygon is searched.
— Computing distances on Riemann surfaces
(2404.19120 - Stepanyants et al., 29 Apr 2024) in Section 5 (Application to Generalized Bolza Surfaces)