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 条
  • [1] On the decision problem for two-variable first-order logic
    Gradel, E
    Kolaitis, PG
    Vardi, MY
    BULLETIN OF SYMBOLIC LOGIC, 1997, 3 (01) : 53 - 69
  • [2] Two-Variable First-Order Logic with Equivalence Closure
    Kieronski, Emanuel
    Michaliszyn, Jakub
    Pratt-Hartmann, Ian
    Tendera, Lidia
    2012 27TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2012, : 431 - 440
  • [3] TWO-VARIABLE FIRST-ORDER LOGIC WITH EQUIVALENCE CLOSURE
    Kieronski, Emanuel
    Michaliszyn, Jakub
    Pratt-Hartmann, Ian
    Tendera, Lidia
    SIAM JOURNAL ON COMPUTING, 2014, 43 (03) : 1012 - 1063
  • [4] On the boundedness problem for two-variable first-order logic
    Kolaitis, PG
    Otto, M
    THIRTEENTH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1998, : 513 - 524
  • [5] Complexity results for first-order two-variable logic with counting
    Pacholski, L
    Szwast, W
    Tendera, L
    SIAM JOURNAL ON COMPUTING, 2000, 29 (04) : 1083 - 1117
  • [6] On Finite Satisfiability of Two-Variable First-Order Logic with Equivalence Relations
    Kieronski, Emanuel
    Tendera, Lidia
    24TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2009, : 123 - +
  • [7] Expressive Completeness of Two-Variable First-Order Logic with Counting for First-Order Logic Queries on Rooted Unranked Trees
    Hellings, Jelle
    Gyssens, Marc
    Van den Bussche, Jan
    Van Gucht, Dirk
    2023 38TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, LICS, 2023,
  • [8] A Generic Characterization of Generalized Unary Temporal Logic and Two-Variable First-Order Logic
    Place, Thomas
    Zeitoun, Marc
    32ND EACSL ANNUAL CONFERENCE ON COMPUTER SCIENCE LOGIC, CSL 2024, 2024, 288
  • [9] Weighted first-order model counting in the two-variable fragment with counting quantifiers
    Kuželka O.
    Journal of Artificial Intelligence Research, 2021, 70 : 1281 - 1307
  • [10] Weighted First-Order Model Counting in the Two-Variable Fragment With Counting Quantifiers
    Kuzelka, Ondrej
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2021, 70 : 1281 - 1307