Model Enumeration of Two-Variable Logic with Quadratic Delay Complexity
Meng, Qiaolan, Pu, Juhua, Niu, Hongting, Wang, Yuyi, Wang, Yuanhong, Kuželka, Ondřej
–arXiv.org Artificial Intelligence
We study the model enumeration problem of the function-free, finite domain fragment of first-order logic with two variables ($FO^2$). Specifically, given an $FO^2$ sentence $Γ$ and a positive integer $n$, how can one enumerate all the models of $Γ$ over a domain of size $n$? 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 $n$ (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 $Ω(n^2)$ bits to represent.
arXiv.org Artificial Intelligence
May-27-2025
- Country:
- Asia
- China
- Beijing > Beijing (0.04)
- Hunan Province (0.04)
- Jilin Province (0.04)
- Zhejiang Province > Hangzhou (0.04)
- Middle East > Israel
- Haifa District > Haifa (0.04)
- China
- Europe
- Czechia > Prague (0.04)
- Spain > Canary Islands (0.04)
- North America > United States
- Massachusetts > Suffolk County > Boston (0.04)
- Oceania > Australia
- Asia
- Genre:
- Research Report (1.00)
- Technology: