Model Enumeration of Two-Variable Logic with Quadratic Delay Complexity
- LRM

Main:11 Pages
5 Figures
Bibliography:2 Pages
Appendix:3 Pages
Abstract
We study the model enumeration problem of the function-free, finite domain fragment of first-order logic with two variables (). Specifically, given an sentence and a positive integer , how can one enumerate all the models of over a domain of size ? In this paper, we devise a novel algorithm to address this problem. The delay complexity, the time required between producing two consecutive models, of our algorithm is quadratic in the given domain size (up to logarithmic factors) when the sentence is fixed. This complexity is almost optimal since the interpretation of binary predicates in any model requires at least bits to represent.
View on arXiv@article{meng2025_2505.19648, title={ Model Enumeration of Two-Variable Logic with Quadratic Delay Complexity }, author={ Qiaolan Meng and Juhua Pu and Hongting Niu and Yuyi Wang and Yuanhong Wang and Ondřej Kuželka }, journal={arXiv preprint arXiv:2505.19648}, year={ 2025 } }
Comments on this paper