Number theory combination: natural density and SMT
Guilherme V. Toledo, Yoni Zohar
TL;DR
This work introduces natural density $\mu(\mathcal{T})$ of a theory's spectrum $Spec(\mathcal{T})$ (the finite model sizes) as a tool to analyze theory combination in Satisfiability Modulo Theories (SMT). It develops both sufficient and necessary conditions linking $\mu(\mathcal{T})$ to key model-theoretic properties such as stable infiniteness, the finite model property, and (strong) finite witnessability, and extends these insights to non-empty and many-sorted signatures. The authors provide concrete constructions showing that every density in $[0,1]$ can be realized under various conditions, and they establish computability relations between spectra, minimal model functions, and densities. This density-based framework yields new, quantitative tests for the feasibility of combining theories in SMT and reveals deep connections between SMT theory combination and number theory, with potential practical benefits for decision procedures and solver design.
Abstract
The study of theory combination in Satisfiability Modulo Theories (SMT) involves various model theoretic properties (e.g., stable infiniteness, smoothness, etc.). We show that such properties can be partly captured by the natural density of the spectrum of the studied theories, which is the set of sizes of their finite models. This enriches the toolbox of the theory combination researcher, by providing new tools to determine the possibility of combining theories. It also reveals interesting and surprising connections between theory combination and number theory.
