,
Micha Sharir
Creative Commons Attribution 4.0 International license
Semialgebraic graphs are graphs whose vertices are points in {ℝ}^d, and adjacency between two vertices is determined by the truth value of a semialgebraic predicate of constant complexity. We show how to harness polynomial partitioning methods to construct compact adjacency labeling schemes for families of semialgebraic graphs.
That is, we show that for any family of semialgebraic graphs, given a graph on n vertices in this family, we can assign a label consisting of O(n^{1-2/(d+1) + {ε}}) bits to each vertex (where {ε} > 0 can be made arbitrarily small and the constant of proportionality depends on {ε} and on the complexity of the adjacency-defining predicate), such that adjacency between two vertices can be determined solely from their two labels, without any additional information. We obtain for instance that unit disk graphs and segment intersection graphs have such labelings with labels of O(n^{1/3 + {ε}}) bits. This is in contrast to their natural implicit representation consisting of the coordinates of the disk centers or segment endpoints, which sometimes require exponentially many bits. It also improves on the best known bound of O(n^{1-1/d}log n) for d-dimensional semialgebraic families due to Alon (Discrete Comput. Geom., 2024), a bound that holds more generally for graphs with shattering functions bounded by a degree-d polynomial. Our labeling scheme is efficient in the sense that not only adjacency between two vertices can be decided in time linear in the size of their labels, but the labels can be computed in subquadratic time on a real RAM from the input points and the semialgebraic adjacency predicate, using recent polynomial partitioning algorithms.
We also give new bounds on the size of adjacency labels for other families of graphs. In particular, we consider semilinear graphs, which are semialgebraic graphs in which the predicate only involves linear polynomials. We show that semilinear graphs have adjacency labels of size O(log n). We also prove that polygon visibility graphs, which are not semialgebraic in the above sense, have adjacency labels of size O(log³ n).
@InProceedings{cardinal_et_al:LIPIcs.WG.2026.10,
author = {Cardinal, Jean and Sharir, Micha},
title = {{Implicit Representations via the Polynomial Method}},
booktitle = {52nd International Workshop on Graph-Theoretic Concepts in Computer Science (WG 2026)},
pages = {10:1--10:17},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-430-7},
ISSN = {1868-8969},
year = {2026},
volume = {376},
editor = {Goedgebeur, Jan and Rz\k{a}\.{z}ewski, Pawe{\l}},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.WG.2026.10},
URN = {urn:nbn:de:0030-drops-261762},
doi = {10.4230/LIPIcs.WG.2026.10},
annote = {Keywords: Semialgebraic graphs, Geometric intersection graphs, Visibility graphs, Adjacency labelings, Polynomial partitioning}
}