Indexed metadata

Aegypti: Strict Quadratic-Time Combinatorial Triangle Detection

Frank Vega

Source record

Source: Crossref

Published: Aug 27, 2026

DOI: 10.20944/preprints202511.2197.v8

Open original source ↗

Source abstract

We present AEGYPTI, a combinatorial triangle-detection framework for an undirected simple graph G=(V,E) G=(V,E) with n=V n=|V| vertices and m=E m=|E| edges, built on the duality between triangles and independent sets: a triangle of G G is exactly a three-vertex independent set of the complement G \overline{G} , which is what a small vertex cover of G \overline{G} leaves uncovered. AEGYPTI dispatches on density at n4/3 \lceil n^{4/3}\rceil . When mn4/3 m \le \lceil n^{4/3}\rceil , it runs the exact Chiba–Nishizeki routine, whose O(m3/2) \mathcal{O}(m^{3/2}) cost is O(n2) \mathcal{O}(n^{2}) on inputs this sparse. When m>n4/3 m > \lceil n^{4/3}\rceil , it covers G \overline{G} with the linear-time HVALA algorithm and extracts the uncovered candidate set I=VC I = V \setminus C . To systematically eliminate incompleteness when I<3 |I| < 3 , AEGYPTI incorporates a deterministic 1-Vertex Expansion step: if I=1 |I| = 1 with I={v} I = \{v\} , inspecting the induced neighborhood G[NG(v)] G[N_G(v)] guarantees expanding I I to a full 3-vertex triangle whenever v v belongs to any triangle in G G . Furthermore, we establish that the local-search repair process structurally guarantees that at least one or two vertices of any existing triangle are visited during repair iterations. Combining this seed guarantee with 1-vertex and 2-vertex expansion routines ensures that handling these cases guarantees the algorithm never misses an existing triangle. To guarantee an unconditional O(n2) \mathcal{O}(n^2) worst-case execution budget, the local-search repair iterations are bounded by the cover size Cn |C| \le n . Combined with a size-capped independent set search that guarantees O(1) \mathcal{O}(1) conflict checks per node, total repair loop time is strictly bounded by O(n2) \mathcal{O}(n^2) . Crucially, because this fast combinatorial algorithm successfully resolves every dense benchmark instance tested without fail and provides absolute theoretical guarantees, its strictly quadratic runtime poses a direct, definitive refutation of the Combinatorial Boolean Matrix Multiplication (BMM) Conjecture. A public reference implementation is provided in the AEGYPTI Python package v0.4.9, which depends on hvala.

Evidence graph

No public relationships recorded yet.

Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.