Triangle Detection via Complement Vertex Covers: A Fast Certifier with an Exact Fallback
Frank Vega
Source record
Source: Crossref
Published: Jun 30, 2026
DOI: 10.20944/preprints202511.2197.v6
Open original source ↗Source abstract
We present Aegypti, a triangle-detection framework for an undirected simple graph with vertices and edges, built on the duality between triangles and independent sets: a triangle of is exactly a three-vertex independent set of the complement , which is what a small vertex cover of leaves uncovered. Aegypti dispatches on density at . When it runs the exact Chiba--Nishizeki routine, whose cost is on inputs this sparse. When it covers with the linear-time Hvala algorithm and reads three uncovered vertices, certified as a triangle in . We prove unconditional soundness for both variants. The fast variant is a quadratic-time, one-sided certificate procedure: in the dense regime it is complete exactly when the Hvala cover of leaves at least three vertices uncovered, a condition the factor- bound guarantees only for graphs with; its failure to return a triangle is not, by itself, evidence of triangle-freeness. The safe variant adds a Chiba--Nishizeki fallback and is therefore unconditionally complete, with worst-case running time . We make no claim against any fine-grained lower bound. Empirically, across a deterministic benchmark---random and structured families, adversarial dense families with small clique number, and an exhaustive sweep of all graphs on at most seven vertices---all routines agreed with an exact oracle and the fast dense branch recorded no miss. A public reference implementation is provided in the aegypti Python package, 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.