Skip to content

Parametric Recognizability over the Integers

Jakub Kaszycki, Alessio Mansutti, Mikhail Starchak

cs.LO

Abstract

Büchi arithmetic on a fixed integer k≥2k\geq 2 is the first-order theory of the structure (Z;0,1,+,Vk,≤)(\mathbb{Z};0,1,+,V_k,\leq), where the binary relation Vk(x,y)V_k(x,y) is true if and only if yy is the greatest power of kk dividing xx. By the Büchi-Bruyère theorem, this theory completely describes the sets of integers that are recognizable by finite automata when encoded in the kk-ary positional number system. Motivated by recent advances in symbolic automata, we study Büchi arithmetic with a parametric positional encoding, where kk is treated as a variable rather than a fixed constant. We show that this parametric Büchi arithmetic provides a logical characterization of a class of parametric symbolic automata over Linear Integer Arithmetic (LIA), thus extending the Büchi-Bruyère theorem to the parametric setting. Building on this characterization, we give an algorithm showing that for every first-order sentence φtφ_t in the language of (Z;0,1,+,Vt,≤)(\mathbb{Z};0,1,+,V_t,\leq), the set of bases k≥2k\geq 2 where φkφ_k is true is ultimately periodic. The original Büchi-Bruyère theorem translates finite automata to the ∃∗∀∗\exists^*\forall^* fragment of Büchi arithmetic, while our proof yields the ∃∗∀∗∃∗\exists^*\forall^*\exists^* fragment. We trace this discrepancy to the map x↦k⋅xx\mapsto k\cdot x, whose parametric counterpart x↦t⋅xx\mapsto t\cdot x is not definable in parametric Büchi arithmetic: for ∃∗∀∗\exists^*\forall^* sentences φtφ_t in the language of (Z;0,1,+,x↦t⋅x,Vt,≤)(\mathbb{Z};0,1,+,x\mapsto t\cdot x,V_t,\leq), the existence of a base k≥2k\geq 2 such that φkφ_k is true is undecidable. Finally, we provide a prototype implementation of both parametric and standard symbolic automata. Experiments indicate that parametric symbolic automata are more efficient when the range of bases [α..β][α..β] is large, or so is αα.

Create a lesson

Metadata

Categories
cs.LO, cs.FL
Comments
Full version, with appendix, of a paper accepted at POPL 2027 (Proc. ACM Program. Lang. 11, POPL). 38 pages, 5 figures