Listing, Verifying and Counting Lowest Common Ancestors in DAGs: Algorithms and Fine-Grained Lower Bounds
Surya Mathialagan, Virginia Vassilevska Williams, Yinzhan Xu

TL;DR
This paper explores algorithms and lower bounds for the Lowest Common Ancestor (LCA) problem in DAGs, providing new conditional lower bounds and efficient algorithms for various LCA variants, advancing understanding of computational complexity in this area.
Contribution
It introduces the first conditional lower bounds for LCA problems beyond $n^{ ext{omega}-o(1)}$, and develops algorithms for detecting, listing, and verifying LCAs with proven complexity bounds.
Findings
Detecting all pairs with at most two LCAs in $O(n^\omega)$ time.
Listing 7 LCAs per pair requires $n^{3-o(1)}$ time under hyperclique assumptions.
Counting all LCAs per pair takes $n^{3-o(1)}$ time under ETH and $n^{\omega(1,2,1)}$ under 4-Clique hypothesis.
Abstract
The AP-LCA problem asks, given an -node directed acyclic graph (DAG), to compute for every pair of vertices and in the DAG a lowest common ancestor (LCA) of and if one exists. In this paper we study several interesting variants of AP-LCA, providing both algorithms and fine-grained lower bounds for them. The lower bounds we obtain are the first conditional lower bounds for LCA problems higher than , where is the matrix multiplication exponent. Some of our results include: - In any DAG, we can detect all vertex pairs that have at most two LCAs and list all of their LCAs in time. This algorithm extends a result of [Kowaluk and Lingas ESA'07] which showed an time algorithm that detects all pairs with a unique LCA in a DAG and outputs their corresponding LCAs. - Listing LCAs per vertex pair in DAGs…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
