A Strongly Subcubic Combinatorial Algorithm for Triangle Detection with Applications
Abstract
We revisit the algorithmic problem of finding a triangle in a graph: We give a randomized combinatorial algorithm for triangle detection in a given -vertex graph with edges running in time, or alternatively in time. This may come as a surprise since it invalidates several conjectures in the literature. In particular, - the runtime surpasses the long-standing fastest algorithm for triangle detection based on matrix multiplication running in time, due to Itai and Rodeh (1978). - the runtime surpasses the long-standing fastest algorithm for triangle detection in sparse graphs based on matrix multiplication running in time due to Alon, Yuster, and Zwick (1997). - the time algorithm for triangle detection leads to a time combinatorial algorithm for Boolean matrix multiplication, by a reduction of V. V. Williams and R.~R.~Williams (2018).This invalidates a conjecture of A.~Abboud and V. V. Williams (FOCS 2014). - the runtime invalidates a conjecture of A.~Abboud and V. V. Williams (FOCS 2014) that any combinatorial algorithm for triangle detection requires time. - as a direct application of the triangle detection algorithm, we obtain a faster exact algorithm for the -clique problem, surpassing an almost years old algorithm of Ne{\v{s}}et{\v{r}}il and Poljak (1985). This result strongly disproves the combinatorial -clique conjecture. - as another direct application of the triangle detection algorithm, we obtain a faster exact algorithm for the \textsc{Max-Cut} problem, surpassing an almost years old algorithm of R.~R.~Williams (2005).
Cite
@article{arxiv.2403.01085,
title = {A Strongly Subcubic Combinatorial Algorithm for Triangle Detection with Applications},
author = {Adrian Dumitrescu},
journal= {arXiv preprint arXiv:2403.01085},
year = {2024}
}
Comments
The triangle detection algorithm may fail. The analysis of Case 2.1 (in Subsection 2.1) is invalid. Thanks to Zach Hunter for pointing this out