On Exact Sampling in the Two-Variable Fragment of First-Order Logic

被引:1
|
作者
Wang, Yuanhong [1 ,2 ]
Pu, Juhua [1 ,2 ]
Wang, Yuyi [3 ,4 ]
Kuzelka, Ondrej [5 ]
机构
[1] Beihang Univ, State Key Lab Software Dev Environm, Beijing, Peoples R China
[2] Beihang Hangzhou Innovat Inst Yuhang, Beijing, Peoples R China
[3] CRRC Zhuzhou Inst, Zhuzhou, Peoples R China
[4] Swiss Fed Inst Technol, Zurich, Switzerland
[5] Czech Tech Univ, Prague, Czech Republic
基金
国家重点研发计划; 美国国家科学基金会;
关键词
D O I
10.1109/LICS56636.2023.10175742
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, we study the sampling problem for first-order logic proposed recently by Wang et al.-how to efficiently sample a model of a given first-order sentence on a finite domain? We extend their result for the universally-quantified subfragment of two-variable logic FO2 (UFO2) to the entire fragment of FO2. Specifically, we prove the domainliftability under sampling of FO2, meaning that there exists a sampling algorithm for FO2 that runs in time polynomial in the domain size. We then further show that this result continues to hold even in the presence of counting constraints, such as (sic)x(sic)=ky : phi(x, y) and (sic) =(kappa)x(sic)y : phi(x, y), for some quantifierfree formula phi(x, y). Our proposed method is constructive, and the resulting sampling algorithms have potential applications in various areas, including the uniform generation of combinatorial structures and sampling in statistical-relational models such as Markov logic networks and probabilistic logic programs.
引用
收藏
页数:13
相关论文
共 50 条
  • [21] Counting and Sampling Models in First-Order Logic
    Kuzelka, Ondrej
    PROCEEDINGS OF THE THIRTY-SECOND INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2023, 2023, : 7020 - 7025
  • [22] A Decidable Fragment of First Order Modal Logic: Two Variable Term Modal Logic
    Padmanabha, Anantha
    Ramanujam, R.
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2023, 24 (04)
  • [23] ON TWO-VARIABLE GUARDED FRAGMENT LOGIC WITH EXPRESSIVE LOCAL PRESBURGER CONSTRAINTS
    Lu, Chia-Hsuan
    Tan, Tony
    LOGICAL METHODS IN COMPUTER SCIENCE, 2024, 20 (03) : 1 - 16
  • [24] On the Limits of Decision: the Adjacent Fragment of First-Order Logic
    Bednarczyk, Bartosz
    Kojelis, Daumantas
    Pratt-Hartmann, Ian
    Leibniz International Proceedings in Informatics, LIPIcs, 2023, 261
  • [25] Axiomatizing the monodic fragment of first-order temporal logic
    Wolter, F
    Zakharyaschev, M
    ANNALS OF PURE AND APPLIED LOGIC, 2002, 118 (1-2) : 133 - 145
  • [26] The Exact Complexity of the First-Order Logic Definability Problem
    Arenas, Marcelo
    Diaz, Gonzalo I.
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2016, 41 (02):
  • [27] Domain-Lifted Sampling for Universal Two-Variable Logic and Extensions
    Wang, Yuanhong
    van Bremen, Timothy
    Wang, Yuyi
    Kuzelka, Ondrej
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 10070 - 10079
  • [28] The two-variable fragment with counting and equivalence
    Pratt-Hartmann, Ian
    MATHEMATICAL LOGIC QUARTERLY, 2015, 61 (06) : 474 - 515
  • [29] THE FIRST-ORDER LOGIC OF CZF IS INTUITIONISTIC FIRST-ORDER LOGIC
    Passmann, Robert
    JOURNAL OF SYMBOLIC LOGIC, 2024, 89 (01) : 308 - 330
  • [30] First-Order Logic and First-Order Functions
    Freire, Rodrigo A.
    LOGICA UNIVERSALIS, 2015, 9 (03) : 281 - 329