anthem-cx
Given two Answer Set Programming (ASP) programs and a user guide declaring their input and output predicates, anthem-cx searches for an input on which the two programs behave differently and reports it as a counterexample.
Installation
anthem-cx is available on PyPI. Install it with
pip install anthem-cx
Alternatively, install it from source by cloning the repository and running
pip install .
Usage
To check for counterexamples for the equivalence of two programs left.lp and
right.lp run
anthem-cx left.lp right.lp guide.ug
where guide.ug is the user guide declaring the input and output predicates.
To get a full list of available options run
anthem-cx -h
Examples
The examples
directory contains a number of worked examples. Each example folder lists the
commands to run it; see the
examples documentation for a
detailed explanation of each one.
Documentation
Full documentation — including the supported input language, the available options, and how the counterexample search works — is available at docs.potassco.org/anthem-cx.
Metadata
Release files for anthem-cx 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anthem_cx-0.1.0.tar.gz | 143.7 kB | With provenance | Details for anthem_cx-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anthem_cx-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for anthem_cx-0.1.0-py3-none-any.whl |
Total release size: 188.6 kB
Release files / anthem_cx-0.1.0.tar.gz
| Download URL | anthem_cx-0.1.0.tar.gz |
|---|---|
| Size | 143.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2e5970484c5c82a4f069c5e169ce31cd17f20fd60d279a38effeb691cf9e10a
|
|
BLAKE2b-256 checksum How to use checksums |
4a1e292c31c8eb95e436637550b3921d1044ee0a38bb8e50df08c7a918eab2d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logRelease files / anthem_cx-0.1.0-py3-none-any.whl
| Download URL | anthem_cx-0.1.0-py3-none-any.whl |
|---|---|
| Size | 44.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
910eba88342f0521c31625d6a50877702de1d4cc003f14133397049d57034aca
|
|
BLAKE2b-256 checksum How to use checksums |
9cd7cd8cadf28440ba5727d4d1783c11b9ba0f6389192d76c6883e7985faced0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logSecurity for anthem-cx 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for anthem_cx-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.