A Tight Bound for Facial Distance Patterns in Planar Graphs
arXiv:2608.07187
Abstract
Let be an undirected unweighted planar graph and let be the vertices of a designated face, listed in cyclic order. Consider a vector that stores the distances from an arbitrary vertex to all vertices of . The pattern of is obtained by taking the difference between every pair of consecutive values in this vector. Li and Parter [STOC'19] proved an upper bound of on the number of unique patterns over all vertices of . We improve this to , matching a known lower bound and settling a conjecture in [ISAAC'22]. The simple proof was found by OpenAI's GPT 5.6-Sol model. Plugging this new bound into known results has the following three immediate implications for undirected unweighted planar graphs: (1) it gives an improved compression of the Okamura-Seymour metric (2) it improves the space required by constant-time exact distance oracles, and (3) it improves the fastest distributed algorithm for computing the diameter. We further present a previously unknown and nontrivial implication: a (centralized) -time algorithm for computing the diameter, improving over the algorithm of [SODA'18] which works for weighted directed planar graphs. Thus, there is currently a gap between the time for computing the diameter between weighted and unweighted planar graphs.