Lune

OOPSLA2026顶会

Semi-declarative Language for Combinatorial Search

Ziyi Yang, Ilya Sergey

摘要

Combinatorial search-finding solutions that meet constraints within an exponentially large space of candidatesunderpins problems from hardware verification to scheduling and combinatorial design. The most successful approach in practice is Propositional Satisfiability (SAT) solving, but modelling a problem for a SAT solver requires manually translating high-level requirements into conjunctions of boolean clauses, a tedious step that sacrifices clarity and modularity. Answer Set Programming (ASP) offers a higher-level alternative, with a rule-based language whose variables and finite-domain reasoning yield more compact problem descriptions that can be automatically compiled into low-level solver input. Yet, ASP has its own shortcomings: its semantics, defined via a notion of stable models, is hard to build intuition for; it does not allow arbitrary first-order logic formulas as constraints; and its programs tend to be monolithic, making modular design and reuse difficult.

We propose SetLah!, a semi-declarative language for combinatorial search that addresses the shortcomings of both SAT and ASP. A SetLah! program is a sequence of stratified blocks, each containing rules that define the search space and arbitrary first-order logic constraints that prune it. This block structure enables modular problem decomposition, allowing for an intuitive semantics: candidate solutions are generated and filtered block by block. We built a compiler from SetLah! programs into ASP, allowing us to take full advantage of the existing efficient ASP solvers, while also automatically optimising the generated encodings. Our empirical evaluation demonstrates that SetLah! offers substantially more concise and intuitive specifications for common combinatorial search problems, and its compiled ASP encodings can significantly outperform SAT-based tools.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Optimizing Recursive Queries with Progam Synthesis 引用了 Provenance-guided synthesis of Datalog programs
  • From SMT to ASP: Solver-Based Approaches to Solving Datalog Synthesis-as-Rule-Selection Problems 引用了 Provenance-guided synthesis of Datalog programs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper8

  1. Provenance-guided synthesis of Datalog programsMukund Raghothaman, Jonathan Mendelson, David Zhao, Mayur Naik 等POPL 2020 · 49 次引用
  2. Better Together: Unifying Datalog and Equality SaturationYihong Zhang, Yisu Remy Wang, Oliver Flatt, David Cao 等PLDI 2023 · 38 次引用
  3. Tseitin or not Tseitin? The Impact of CNF Transformations on Feature-Model AnalysesElias Kuiter, Sebastian Krieter, Chico Sundermann, Thomas Thüm 等ASE 2022 · 24 次引用
  4. Optimizing Recursive Queries with Progam SynthesisYisu Remy Wang, Mahmoud Abo Khamis, Hung Q. Ngo, Reinhard Pichler 等SIGMOD 2022 · 9 次引用
  5. From SMT to ASP: Solver-Based Approaches to Solving Datalog Synthesis-as-Rule-Selection ProblemsAaron Bembenek, Michael Greenberg, Stephen ChongPOPL 2023 · 6 次引用

相关 Paper

  1. Learning to Break Symmetries for Efficient Optimization in Answer Set ProgrammingAlice Tarzariol, Martin Gebser, Konstantin Schekotihin, Mark LawAAAI 2023 · 4 次引用
  2. Solving String Constraints Using SATKevin Lotz, Amit Goel, Bruno Dutertre, Benjamin Kiesl-Reiter 等CAV 2023 · 11 次引用
  3. ApproxASP - a Scalable Approximate Answer Set CounterMohimenul Kabir, Flavio O. Everardo, Ankit K. Shukla, Markus Hecher 等AAAI 2022 · 21 次引用
  4. Exact ASP Counting with Compact EncodingsMohimenul Kabir, Supratik Chakraborty, Kuldeep S. MeelAAAI 2024 · 10 次引用
  5. Solving Sum-of-Costs Multi-Agent Pathfinding with Answer-Set ProgrammingRodrigo N. Gómez, Carlos Hernández, Jorge A. BaierAAAI 2020 · 13 次引用
黄昏的海面,两侧是细线勾勒的悬崖