Constant time testability of first-order logic with modulo counting on finitary graphs
Abstract
This paper studies algorithmic meta theorems for property testing with \emph{constant running time} in the bounded degree model. In (Adler, Harwath 2018) it was shown that on graph classes consisting of all graphs with both degree at most and treewidth at most , every problem expressible in monadic second-order logic with counting (CMSO) is testable with \emph{polylogarithmic} running time (where are fixed). It was left open whether this can be improved to \emph{constant} running time. In this paper we give a positive answer for testing CMSO on classes , where bounds the degree and bounds the component size. Our main result shows constant time testability of first-order logic with modulo counting (FOMOD) on . For our proof we tailor Hanf normal form of FOMOD to our setting, and we exhibit a number-theoretic `patchability' condition that allows to infer global information on the input graph from a local sample of constant size. We believe that our `patchability' might be of independent interest. The step from FOMOD to CMSO then follows from a result by (Eickmeyer, Elberfeld, Harwath, 2017) on the expressive power of order invariant monadic second-order logic on classes of bounded treedepth.
Cite
@article{arxiv.2605.10841,
title = {Constant time testability of first-order logic with modulo counting on finitary graphs},
author = {Isolde Adler and Jenny Stimpson},
journal= {arXiv preprint arXiv:2605.10841},
year = {2026}
}