mlsanityData to 14 Oct 2026

Rethinking Answer Set Programming Templates

arXiv 2307.06382 ↗First posted 12 Jul 2023cs.AI cs.LO cs.PLcited by 1

Not on the map. Why?

Abstract (arXiv)

In imperative programming, the Domain-Driven Design methodology helps in coping with the complexity of software development by materializing in code the invariants of a domain of interest. Code is cleaner and more secure because any implicit assumption is removed in favor of invariants, thus enabling a fail fast mindset and the immediate reporting of unexpected conditions. This article introduces a notion of template for Answer Set Programming that, in addition to the don't repeat yourself principle, enforces locality of some predicates by means of a simple naming convention. Local predicates are mapped to the usual global namespace adopted by mainstream engines, using universally unique identifiers to avoid name clashes. This way, local predicates can be used to enforce invariants on the expected outcome of a template in a possibly empty context of application, independently by other rules that can be added to such a context. Template applications transpiled this way can be processed by mainstream engines and safely shared with other knowledge designers, even when they have zero knowledge of templates.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 8 of its 33 references that are in the map. First posted on arXiv 12 Jul 2023.

Builds on

8 of 33 references.

References · 8

  1. 2019ASP-Core-2 Input Language Formatcited by 77
  2. 2020How to build your own ASP-based system?!cited by 20
  3. 2020Verifying Tight Logic Programs with anthem and Vampirecited by 13
  4. 2022Answer Set Planning: A Surveycited by 12
  5. 2014Modularity Aspects of Disjunctive Stable Modelscited by 8
  6. 2020Modular Answer Set Programming as a Formal Specification Languagecited by 7
  7. 2019Discovering and Proving Invariants in Answer Set Programming and Planningcited by 1
  8. 2021Refactoring for Reuse: An Empirical Studycited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.