Acacia-Bonsai
Acacia-Bonsai decides whether a controller can satisfy a Linear Temporal Logic (LTL) specification for every input sequence, and can build the controller. It accepts LTL formulas and TLSF files, using antichains over downsets. See the TACAS 2023 paper for the method.
Build
You need GCC with C++23/C23 support, Spot 2.16.3 development headers, Meson 1.7+, Ninja, pkg-config, Zsh, Flex, Bison, Cargo with Rust 1.91+, and cbindgen 0.29.4. Python builds also need SWIG, Python development headers and Python 3.13+.
Initialize submodules recursively. From the repository root in Bash, build the
CLI and Python module with the first docker_default configuration:
export CARGO_BUILD_JOBS=2
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
build_dir=${ACACIA_BUILD_DIR:-build}
preset=$(python3 scripts/acacia-config.py list-group docker_default | head -n1)
read -r -a preset_args <<< "$(python3 scripts/acacia-config.py meson-args "$preset")"
meson setup "$build_dir" --buildtype=debug -Dbuild_python=true \
"${preset_args[@]}" -Dtlsf-tools:cpu=baseline
meson compile -C "$build_dir" -j 2
Set ACACIA_BUILD_DIR to change the directory. Spot must expose libspot and
libbddx through pkg-config; adjust PKG_CONFIG_PATH for its prefix. On macOS,
use Homebrew GCC for Spot and Acacia-Bonsai, setting CC/CXX before setup.
Quick start
In the same shell, check whether repeated requests can receive repeated grants:
"$build_dir/src/acacia-bonsai" -f 'G F req -> G F grant' -i req -o grant
The verdict is REALIZABLE. G means "always" and F means "eventually";
G F req means requests recur infinitely often. Read TLSF and write an ASCII
AIGER controller with:
"$build_dir/src/acacia-bonsai" -T examples/realizable.tlsf -s controller.aag
--aiger-mode MODE selects the controller encoding (default isop);
both+ud tries both encoders and negated conditions, and +dc uses output
don't-cares (see CLI).
--aiger-abc on|off shrinks controllers under -s (default on with ABC, off otherwise).
It gets at most 5 s and 25% of the remaining invocation time (5 s without a
deadline). Staging and payloads use at most 1/16 of the child's memory cap,
bounded above by 32 MiB; any failure retains Spot's controller.
Guides
- CLI: inputs, verdicts, exit codes, controllers and solver arms.
UNREALIZABLEreturns status 1, which matters in scripts usingset -e. - Python: import
acacia_boomslang, solve a bounded safety game and inspect its region. - Docker: CLI source image and Boomslang notebooks.
- Configuration: compile-time presets and runtime options.
Read current shipping choices with
python3 scripts/acacia-config.py list-group docker_default. - Benchmarks: local runs and measurement gates; results records comparisons. Use matched release builds for performance work.
Citing
@inproceedings{CadilhacPerez2023,
author = {Michaël Cadilhac and Guillermo A. Pérez},
title = {Acacia-Bonsai: A Modern Implementation of Downset-Based LTL Realizability},
booktitle = {TACAS},
year = {2023},
pages = {192--207},
doi = {10.1007/978-3-031-30820-8_14}
}
Licensed under GPLv3. See the changelog for releases and CLAUDE.md for repository conventions.
Metadata
Release files for acacia-boomslang 2.11.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 |
|---|---|---|---|---|
| acacia_boomslang-2.11.0.tar.gz | 14.5 MB | With provenance | Details for acacia_boomslang-2.11.0.tar.gz |
Built distributions (wheels)
Total release size: 239.6 MB
Release files / acacia_boomslang-2.11.0.tar.gz
| Download URL | acacia_boomslang-2.11.0.tar.gz |
|---|---|
| Size | 14.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d26e46e029444a68b9e7fc0e797b63d1bf9a880f9c2ff8a89f0a8d317aa121d0
|
|
BLAKE2b-256 checksum How to use checksums |
24bd27be7dff325716edc79d3ad3f1dc103c68a07e00e59129918ddf2c50ffb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 1, 2026.
Transparency logRelease files / acacia_boomslang-2.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | acacia_boomslang-2.11.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 54.6 MB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
499b27400baf344893cc69aa23711b348a0e47e78bffbf31129eb618a95bf1a1
|
|
BLAKE2b-256 checksum How to use checksums |
ae534c306d0c530d330bc6a6f1e1d56468a0bc5cac92088631e10c1049c074b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 1, 2026.
Transparency logRelease files / acacia_boomslang-2.11.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | acacia_boomslang-2.11.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 53.4 MB |
| Tags | CPython 3.14 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
5c88b3c9a7c0a55eb1ffb8be75f8381b6c49decdf0f20cfd0d33a9d7c9e34f29
|
|
BLAKE2b-256 checksum How to use checksums |
b511d28859eef9633aab5a3ea77c046c1c4a9332257d9302b92b7b4177e2675c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 1, 2026.
Transparency logRelease files / acacia_boomslang-2.11.0-cp314-cp314-macosx_15_0_arm64.whl
| Download URL | acacia_boomslang-2.11.0-cp314-cp314-macosx_15_0_arm64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.14 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f88e772776d3892cc8b61b7233d4f48cd711d94d30b2e8ce465536d2a1cf7c01
|
|
BLAKE2b-256 checksum How to use checksums |
5bb959e58f5e2ccacc16aecc9d6e1c834b05c0f8f4746dbaa5868d7e88e43815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 1, 2026.
Transparency logRelease files / acacia_boomslang-2.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | acacia_boomslang-2.11.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 54.6 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
eb088ff30c6f47442daa9a64386a71c11e2807207c415ba41a1f4ef5a63d9674
|
|
BLAKE2b-256 checksum How to use checksums |
5b52bb5f54080f305f2563a1e1b186bd34d285c9b2d12d4fc83a947594a5aaab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 1, 2026.
Transparency logRelease files / acacia_boomslang-2.11.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | acacia_boomslang-2.11.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 53.4 MB |
| Tags | CPython 3.13 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
8b1390c4cac361ef49488d3d7509e3eeebaa76ccefdfa8c048b253d3b6ef7ba0
|
|
BLAKE2b-256 checksum How to use checksums |
9c92e0d42936755e22a90a0e239b91438a43633162898528a2d15db03630a8ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 1, 2026.
Transparency logRelease files / acacia_boomslang-2.11.0-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | acacia_boomslang-2.11.0-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7ce2e0d33cf7147e3d1f2ab33481d38ae17431c0e3b8ad1ea983aff70a589b0d
|
|
BLAKE2b-256 checksum How to use checksums |
6346d5c30937f8a290e716e8b6525a7356f381708455d7e6265c2d0c2d62e329
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 1, 2026.
Transparency logSecurity for acacia-boomslang 2.11.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
All 7 files in this release have been uploaded with provenance metadata.
Attestation for acacia_boomslang-2.11.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 Dec 1, 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.