arXiv:2609.09549cs.CGSep 2026

Manuscript Offprint

arXiv:2609.09549

The Hyperbolic Surface Distance, Diameter, and Dirichlet Problems

Vincent Despre, Auguste Gezalyan, Marc Pouget

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Despite the prominence of hyperbolic surfaces in mathematics, basic algorithmic questions about them, even computing the distance between two points, have remained open, leaving many features of these surfaces inaccessible. The classical machinery assumes a polyhedral structure absent on a smooth surface. We remove these obstacles. We begin with an efficient O(g2)O(g^2) algorithm for the distance between two points, where gg is the genus of the surface. Building on it, we obtain an O(g2log⁡g)O(g^2 \log g) method for answering distance queries from a fixed source and, as a consequence, for recentering a Dirichlet domain around an arbitrary point. This understanding of distances on the surface then lets us approximate the diameter to within any ε\varepsilon in time O(g3log⁡g/ε2)O(g^3 \log g/\varepsilon^2). We further show that the diameter, a single real number encoding a great deal about the surface, is exactly computable. Its hyperbolic cosine is an algebraic number over the field encoding the coefficients of the hyperbolic isometries defining the surface.

2012 ACM Subject Classification Theory of computation → Computational geometry

Keywords and phrases Hyperbolic surfaces, Poincare disk, Voronoi diagrams

Digital Object Identifier 10.4230/LIPIcs.SoCG.2025.85

Funding This work was partially supported by grant ANR-23-CE48-0017 of the French National Research Agency ANR (project Abysm) and partially supported by grant ANR-25-CE40-0416 of the French National Research Agency (project SUGAR).

1 Introduction

Hyperbolic geometry, the geometry of constant negative curvature, underlies structures as varied as complex networks [14], phylogenetic trees [15], and hierarchical embeddings in machine learning [17]. It also plays a central role in theoretical physics through anti-de Sitter spacetimes [6]. Its importance is even more fundamental in mathematics: by the Uniformization Theorem [1], every closed surface of genus at least two admits a unique hyperbolic metric in its conformal class. Consequently, hyperbolic surfaces are not exceptional objects but rather the canonical geometric representatives of surfaces of higher genus. Despite their ubiquity, fundamental algorithmic questions concerning hyperbolic surfaces are open.

Recent years have seen the development of several algorithmic tools for hyperbolic surfaces. Delaunay triangulations have been studied in increasing generality, from low-genus examples to arbitrary hyperbolic surfaces [4, 12, 13]. More recently, an algorithm for computing the Dirichlet domain of a hyperbolic surface from an arbitrary fundamental polygon [8] provided a canonical geometric representation that is independent of the quality of the input. Another line of work introduced ε\varepsilon-nets as a geometric discretization suitable for approximation algorithms [10]. While Dirichlet domains provide a global description of the geometry of a surface, ε\varepsilon-nets capture its local structure. In this paper, we show how these

© Despré, Gezalyan, Pouget;

licensed under Creative Commons License CC-BY 4.0

41st International Symposium on Computational Geometry (SoCG 2025).

Editors: Oswin Aichholzer and Haitao Wang; Article No. 85; pp. 85:1–85:19

Leibniz International Proceedings in Informatics

Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl Publishing, Germany

Figure

85:2 The Hyperbolic Surface Distance, Diameter, and Dirichlet Problems

two complementary representations lead to efficient algorithms for fundamental geometric problems on hyperbolic surfaces.

Our first contribution concerns the computation of shortest-path distances. Computing distances on hyperbolic surfaces is closely related to the shortest-path problem on polyhedral surfaces. Two classical algorithms play a central role in this context: the algorithm of Mitchell, Mount, and Papadimitriou [16], which is remarkably robust, and the optimal algorithm of Chen and Han [7], whose adaptation to hyperbolic surfaces requires a more delicate analysis. We show how both approaches can be extended to hyperbolic surfaces represented by Dirichlet domains. This yields the following result.

▶ Theorem 1. Let SS be a hyperbolic surface of genus gg represented by a Dirichlet domain D⊂H2D \subset \mathbb{H}^2, and let α,ω∈S\alpha, \omega \in S be specified by lifts in DD. Then the distance dS(α,ω)d_S(\alpha, \omega) can be computed in O(g2)O(g^2) time.

A key contribution of this work is the insight that the wavefront propagated by our shortest-path algorithm implicitly encodes the Dirichlet domain centered at the source point. This leads simultaneously to an efficient single-source shortest-path data structure and to an algorithm for recentering Dirichlet domains. It complements the algorithm of Després, Kolbe, Parlier, and Teillaud [8], which computes a canonical Dirichlet domain from an arbitrary fundamental polygon but does not allow the center to be prescribed. We obtain the following.

▶ Theorem 2. Let SS be a hyperbolic surface of genus gg represented by a Dirichlet domain D⊂H2D \subset \mathbb{H}^2, and let α∈S\alpha \in S be specified by a lift α~∈D\tilde{\alpha} \in D. After O(g2log⁡g)O(g^2 \log g) preprocessing, shortest-path queries from α\alpha to arbitrary points of SS can be answered in O(log⁡g)O(\log g) time. The same preprocessing yields the Dirichlet domain Dα~D_{\tilde{\alpha}}.

Our third contribution concerns the diameter of a hyperbolic surface. Unlike the distance queries above, which require only the Dirichlet domain, the diameter is a global invariant and requires a surface-wide discretization. We therefore assume an extended representation: a Dirichlet domain together with the Delaunay triangulation of a pseudo ε\varepsilon-net on the thick part of the surface, as produced by [10]. The diameter is considerably more challenging to compute exactly; to the best of our knowledge, exact values are currently known only for a single hyperbolic surface in each genus [19]. We show that this discretization is accurate enough to obtain an efficient approximation algorithm.

▶ Theorem 3. Let SS be a hyperbolic surface given by a Dirichlet domain together with the Delaunay triangulation of a pseudo ε/2\varepsilon/2-net on the thick part of SS. Then an additive ε\varepsilon-approximation of the diameter of SS can be computed in time O(g3log⁡g/ε2)O(g^3 \log g/\varepsilon^2).

Finally, we investigate the exact computation of the diameter from the viewpoint of arithmetic complexity. Although our approximation algorithm is efficient, it is natural to ask whether the exact diameter can be computed algorithmically. We show that this problem reduces to solving a finite collection of polynomial systems. While the resulting procedure is exponential and therefore not intended as a practical algorithm, it establishes that the diameter is determined by algebraic data over the field generated by the input.

▶ Theorem 4. Let SS be a hyperbolic surface given by a finite set of generators of Γ\Gamma, each a hyperbolic isometry. Let K\mathbb{K} be the rational extension containing the real and imaginary parts of the coefficients of the generators of Γ\Gamma. The exact diameter of SS can be computed by solving exponentially many systems of polynomial equations. In particular, cosh⁡(diam(S))\cosh(\text{diam}(S)) lies in a finite extension of K\mathbb{K}.

Després, Gezalyan, Pouget

85:3

The remainder of the paper is organized as follows. After a short preliminaries section, Section 3 presents our algorithm for computing the shortest path between two points. Section 4 extends this construction to obtain a single-source shortest-path data structure and an algorithm for computing Dirichlet domains centered at arbitrary points. Section 5 is devoted to the approximation of the diameter using ε\varepsilon-nets. Finally, Section 6 investigates the arithmetic complexity of the exact diameter and proves that it can be computed by solving a finite collection of polynomial systems.