Skip to content
forked from potassco/anthem-1

🎼 Translate answer set programs to first-order theorem prover language

License

Notifications You must be signed in to change notification settings

janheuer/anthem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anthem

Translate answer set programs to first-order theorem prover language

Overview

anthem translates ASP programs (in the input language of clingo) to the first-order logic. The output can be formatted in either a human-readable format or the TPTP format for usage with automated theorem provers such as vampire or cvc4.

For details see Jan Heuer's Bachelor Thesis.

Usage

$ anthem [options] file1 file2

By default, anthem uses the translation mode here-and-there. Given two ASP programs as input, anthem produces a formula asserting the strong equivalence of the two programs.

By using the option --output-format tptp theorem provers such as vampire or cvc4 can then be used on the output of anthem to verify the strong equivalence of the two input programs.

Furthermore, anthem can use the mode completion to perform the Clark’s completion on the translated formulas.

Building

anthem requires CMake for building. After installing the dependencies, anthem is built with a C++17 compiler (GCC ≥ 7.3 or clang ≥ 5.0).

$ git clone https://github.com/janheuer/anthem.git
$ cd anthem
$ git submodule update --init --recursive
$ mkdir -p build/release
$ cd build/release
$ cmake ../.. -DCMAKE_BUILD_TYPE=Release
$ make

Contributors

About

🎼 Translate answer set programs to first-order theorem prover language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.9%
  • Other 1.1%