PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
January 7, 2025Proceedings of the ACM on Programming Languages2 citationsOpen Access

Finite-Choice Logic Programming

View Full Paper
CMChris MartensRSRobert J. SimmonsMAMichael Arntzenius

Key Points

Key points are not available for this paper at this time.

Abstract

Logic programming, as exemplified by datalog, defines the meaning of a program as its unique smallest model: the deductive closure of its inference rules. However, many problems call for an enumeration of models that vary along some set of choices while maintaining structural and logical constraints—there is no single canonical model. The notion of stable models for logic programs with negation has successfully captured programmer intuition about the set of valid solutions for such problems, giving rise to a family of programming languages and associated solvers known as answer set programming. Unfortunately, the definition of a stable model is frustratingly indirect, especially in the presence of rules containing free variables. We propose a new formalism, finite-choice logic programming, that uses choice, not negation, to admit multiple solutions. Finite-choice logic programming contains all the expressive power of the stable model semantics, gives meaning to a new and useful class of programs, and enjoys a least-fixed-point interpretation over a novel domain. We present an algorithm for exploring the solution space and prove it correct with respect to our semantics. Our implementation, the Dusa logic programming language, has performance that compares favorably with state-of-the-art answer set solvers and exhibits more predictable scaling with problem size.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Martens et al. (2025) studied this question.

synapsesocial.com/papers/68e55b5ae2b3180350ef8befhttps://doi.org/10.1145/3704849
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Logic Programming Semantics for Causal Processes2026
  2. 2Logic Programming with Multiplicative Structures2024 · 2 citations
  3. 3Functional Programming with Datalog2022
  4. 4Logic Programming with Multiplicative Structures2024 · 2 citations
  5. 5On Systematic Construction of Correct Logic Programs2025