Table of Contents
Fetching ...

A finer reparameterisation theorem for MSO and FO queries on strings

Lê Thành Dũng Nguyên, Paweł Parys

TL;DR

The paper proves a finer reparameterisation theorem for MSO and FO queries on finite strings: if the number of φ-solutions on a word w is O of the product of the η_i-solution counts, then there exists an MSO/FO formula ψ that defines a total functional relation from φ-solutions to η-solutions, with each η-output having only O(1) φ-preimages. The authors achieve this by combining monoid recognisability, Simon's factorisation forests, and pumping arguments with Hall's theorem to bound preimages and construct ψ in MSO (and in FO in the aperiodic case). The results extend to FO with aperiodicity and lead to dimension minimisation for string-to-string interpretations, enabling an ℓ-dimensional FO interpretation to implement an ℓ-th root of a given interpretation. The approach unifies MSO and FO cases and builds on prior work (PolyregularGrowth, GaetanPhD) to provide a coherent framework for reparameterising MSO/FO queries on words.

Abstract

We show a theorem on monadic second-order k-ary queries on finite words. It may be illustrated by the following example: if the number of results of a query on binary strings is O(number of 0s $\times$ number of 1s), then each result can be MSO-definably identified from a 0-position, a 1-position and some finite data. Our proofs also handle the case of first-order logic / aperiodic monoids. Thus we can state and prove the folklore theorem that dimension minimisation holds for first-order string-to-string interpretations.

A finer reparameterisation theorem for MSO and FO queries on strings

TL;DR

The paper proves a finer reparameterisation theorem for MSO and FO queries on finite strings: if the number of φ-solutions on a word w is O of the product of the η_i-solution counts, then there exists an MSO/FO formula ψ that defines a total functional relation from φ-solutions to η-solutions, with each η-output having only O(1) φ-preimages. The authors achieve this by combining monoid recognisability, Simon's factorisation forests, and pumping arguments with Hall's theorem to bound preimages and construct ψ in MSO (and in FO in the aperiodic case). The results extend to FO with aperiodicity and lead to dimension minimisation for string-to-string interpretations, enabling an ℓ-dimensional FO interpretation to implement an ℓ-th root of a given interpretation. The approach unifies MSO and FO cases and builds on prior work (PolyregularGrowth, GaetanPhD) to provide a coherent framework for reparameterising MSO/FO queries on words.

Abstract

We show a theorem on monadic second-order k-ary queries on finite words. It may be illustrated by the following example: if the number of results of a query on binary strings is O(number of 0s number of 1s), then each result can be MSO-definably identified from a 0-position, a 1-position and some finite data. Our proofs also handle the case of first-order logic / aperiodic monoids. Thus we can state and prove the folklore theorem that dimension minimisation holds for first-order string-to-string interpretations.

Paper Structure

This paper contains 3 sections, 3 theorems, 6 equations.

Key Result

Theorem 1

Let $\varphi(x_1,\dots,x_k)$ and $\eta_1(x),\dots,\eta_\ell(x)$ be MSO (resp. FO) formulas such that Then there exists an MSO (resp. FO) formula $\psi(x_1,\dots,x_k,y_1,\dots,y_\ell)$, which defines for each word a total functional relation where each $\vec{j}$ has $O(1)$ many preimages $\vec{i}$.

Theorems & Definitions (15)

  • Theorem 1
  • Remark 2: Colcombet
  • Theorem 3
  • Theorem 4
  • proof
  • Claim 5
  • proof
  • Claim 6
  • proof
  • Claim 7
  • ...and 5 more