English

Testing Full Quartet Consistency: Adaptive Reconstruction, Random Verification, and Constant-Query Testability

Data Structures and Algorithms 2026-08-02 v1

Abstract

We study dense property testing for full systems of resolved quartet topologies on nn taxa: determining whether a system is induced by a phylogenetic tree or is ε\varepsilon-far from every tree-induced system. Our main result is an explicit polynomial-time adaptive one-sided-error tester. It reconstructs a candidate tree through anchored quartet queries and verifies the candidate using uniformly random quartet queries. With error probability δ\delta, it uses O ⁣(nlogn+ε1log(1/δ))O\!\left(n\log n+\varepsilon^{-1}\log(1/\delta)\right) queries. We also give a non-adaptive cached-anchor variant using (n13)+O ⁣(ε1log(1/δ))\binom{n-1}{3}+O\!\left(\varepsilon^{-1}\log(1/\delta)\right) queries. Both improve the previous explicit O(n3/ε)O(n^3/\varepsilon) query bound. Since the input contains (n4)=Θ(n4)\binom{n}{4}=\Theta(n^4) quartet entries, both testers use o ⁣((n4))o\!\left(\binom{n}{4}\right) queries for fixed~ε\varepsilon and~δ\delta. We additionally encode full quartet systems, equivariantly under relabeling, as directed, three-colored 44-ary structures. Hereditary directed-hypergraph testing then yields an nn-independent one-sided-error tester, although its dependence on ε\varepsilon is quantitatively impractical. Finally, we prove lower bounds. In ordinary property testing, every adaptive randomized tester, even with two-sided error, requires asymptotically at least ln((1δ)/δ)/ln(1/(1ε))\ln((1-\delta)/\delta)/\ln(1/(1-\varepsilon)) queries as nn\to\infty. Every one-sided-error tester requires ln(1/δ)/ln(1/(1ε))\ln(1/\delta)/\ln(1/(1-\varepsilon)) queries, matching the random-verification term up to rounding. For the stronger reconstruct-or-reject task, our upper bounds are optimal up to constant factors: the adaptive and non-adaptive complexities are Θ(nlogn+ε1log(1/δ))\Theta(n\log n+\varepsilon^{-1}\log(1/\delta)) and Θ(n3+ε1log(1/δ))\Theta(n^3+\varepsilon^{-1}\log(1/\delta)), respectively.

Cite

@article{arxiv.2608.00987,
  title  = {Testing Full Quartet Consistency: Adaptive Reconstruction, Random Verification, and Constant-Query Testability},
  author = {Chuang-Chieh Lin},
  journal= {arXiv preprint arXiv:2608.00987},
  year   = {2026}
}

Comments

Submitted to a journal for publication