Hostname: page-component-89b8bd64d-n8gtw Total loading time: 0 Render date: 2026-05-08T03:23:19.225Z 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)

Abstract

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

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable