Hostname: page-component-74656f9884-c52kr Total loading time: 0 Render date: 2026-11-09T03:26:17.501Z Has data issue: false hasContentIssue false

Modular Answer Set Programming as a Formal Specification Language

Published online by Cambridge University Press:  21 September 2020

PEDRO CABALAR
Affiliation:
University of Corunna, Spain (e-mail: cabalar@udc.es)
JORGE FANDINNO
Affiliation:
University of Potsdam, Germany (e-mail: fandinno@uni-potsdam.de)
YULIYA LIERLER
Affiliation:
University of Nebraska Omaha, USA (e-mail: ylierler@unomaha.edu)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

In this paper, we study the problem of formal verification for Answer Set Programming (ASP), namely, obtaining a formal proof showing that the answer sets of a given (non-ground) logic program P correctly correspond to the solutions to the problem encoded by P, regardless of the problem instance. To this aim, we use a formal specification language based on ASP modules, so that each module can be proved to capture some informal aspect of the problem in an isolated way. This specification language relies on a novel definition of (possibly nested, first order) program modules that may incorporate local hidden atoms at different levels. Then, verifying the logic program P amounts to prove some kind of equivalence between P and its modular specification.

Information

Type
Original Article
Copyright
© The Author(s), 2020. Published by Cambridge University Press