Finite-Horizon First-Order Rank Profiles of Regular Languages
Abstract
We introduce the finite-horizon first-order rank profile of a language : the least quantifier rank needed by an sentence to classify membership in correctly on all words of length at most . The invariant measures quantifier depth only; formula size is deliberately not bounded. First, we prove a rank calculus that is independent of regularity. Every language satisfies , via balanced first-order distance formulas and exact-word definitions. Moreover, holds exactly when is globally -definable, and the supremum equals the minimum quantifier rank of such a definition. Second, for regular languages we prove a sharp aperiodicity gap: if the syntactic monoid of is aperiodic, then ; otherwise . The lower bound extracts a nontrivial cyclic component from the syntactic monoid and combines it with an Ehrenfeucht-Fraisse power lemma for long repetitions of a fixed word. Thus, for full quantifier rank, regular languages admit no intermediate finite-horizon growth between bounded and logarithmic rank.
Keywords
Cite
@article{arxiv.2604.27024,
title = {Finite-Horizon First-Order Rank Profiles of Regular Languages},
author = {Madina Bazarova and Faruk Alpay},
journal= {arXiv preprint arXiv:2604.27024},
year = {2026}
}