Hostname: page-component-77f85d65b8-2tv5m Total loading time: 0 Render date: 2026-03-29T04:34:54.379Z Has data issue: false hasContentIssue false

ANTHEM 2.0: Automated Reasoning for Answer Set Programming

Published online by Cambridge University Press:  18 September 2025

JORGE FANDINNO
Affiliation:
University of Nebraska Omaha, Omaha, NE, USA (e-mails: jfandinno@unomaha.edu, zachhansen@unomaha.edu and ylierler@unomaha.edu)
ZACHARY HANSEN
Affiliation:
University of Nebraska Omaha, Omaha, NE, USA (e-mails: jfandinno@unomaha.edu, zachhansen@unomaha.edu and ylierler@unomaha.edu)
YULIYA LIERLER
Affiliation:
University of Nebraska Omaha, Omaha, NE, USA (e-mails: jfandinno@unomaha.edu, zachhansen@unomaha.edu and ylierler@unomaha.edu)
CHRISTOPH GLINZER
Affiliation:
University of Potsdam, Potsdam, Germany (e-mails: glinzer@uni-potsdam.de, jan.heuer@uni-potsdam.de, torsten.schaub@uni-potsdam.de and tobias.stolzmann@uni-potsdam.de)
JAN HEUER
Affiliation:
University of Potsdam, Potsdam, Germany (e-mails: glinzer@uni-potsdam.de, jan.heuer@uni-potsdam.de, torsten.schaub@uni-potsdam.de and tobias.stolzmann@uni-potsdam.de)
TORSTEN SCHAUB
Affiliation:
University of Potsdam, Potsdam, Germany (e-mails: glinzer@uni-potsdam.de, jan.heuer@uni-potsdam.de, torsten.schaub@uni-potsdam.de and tobias.stolzmann@uni-potsdam.de)
TOBIAS STOLZMANN
Affiliation:
University of Potsdam, Potsdam, Germany (e-mails: glinzer@uni-potsdam.de, jan.heuer@uni-potsdam.de, torsten.schaub@uni-potsdam.de and tobias.stolzmann@uni-potsdam.de)
VLADIMIR LIFSCHITZ
Affiliation:
University of Texas at Austin, Austin, TX, USA (e-mail: lifschitzv@gmail.com)
Rights & Permissions [Opens in a new window]

Abstract

ANTHEM 2.0 is a tool to aid in the verification of logic programs written in an expressive fragment of CLINGO ’s input language named MINI-GRINGO, which includes arithmetic operations and simple choice rules but not aggregates. It can translate logic programs into formula representations in the logic of here-and-there and analyze properties of logic programs such as tightness. Most importantly, ANTHEM 2.0 can support program verification by invoking first-order theorem provers to confirm that a program adheres to a first-order specification or to establish strong and external equivalence of programs. This paper serves as an overview of the system’s capabilities. We demonstrate how to use ANTHEM 2.0 effectively and interpret its results.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Listing 1. A MINI-GRINGO program, primes.1.lp.

Figure 1

Listing 2. A user guide for the primes problem.

Figure 2

Listing 3. The program transitive.1.lp.

Figure 3

Listing 4. A refactored primes program, primes.3.lp.

Figure 4

Listing 5. An encoding (cover.lp) solving the exact cover problem.

Figure 5

Table 1. Tools supporting proof-based verification of ASP programs

Figure 6

Table 2. Comparing ANTHEM 2.0 against its predecessors