Skip to main content

Acacia-Bonsai

Acacia-Bonsai checks whether a controller can satisfy a Linear Temporal Logic (LTL) specification for every possible sequence of inputs. If it can, the tool can build that controller. The environment chooses the inputs; the controller chooses the outputs.

It accepts LTL formulas and TLSF files. The solver uses antichains over downsets; the TACAS 2023 paper explains the method.

Build

You need GCC with C++23 and C23 support, Spot 2.16 with development headers, Meson 1.7 or newer, Ninja, pkg-config, Zsh, Flex, Bison, Cargo with Rust 1.91 or newer, and cbindgen 0.29.4. For Python, also install SWIG and Python development headers. The Python package requires Python 3.13 or newer.

Start with a checkout whose submodules, including nested submodules, are initialized. Run these commands from the repository root in Bash. This builds the CLI and Python module with the first configuration in docker_default:

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

Keep using the same shell for the quick start below. Set ACACIA_BUILD_DIR before setup to put the build elsewhere. Spot must provide both libspot and libbddx through pkg-config; adjust PKG_CONFIG_PATH for a different install prefix. On macOS, use Homebrew GCC for both Spot and Acacia-Bonsai, and set CC and CXX before setup.

Quick start

Ask whether repeated requests can be met by 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”, so G F req means requests occur infinitely often. To read a TLSF specification and write its controller as an ASCII AIGER circuit:

"$build_dir/src/acacia-bonsai" -T examples/realizable.tlsf -s controller.aag

CLI

The CLI guide covers input files, verdicts, exit codes, controller output, and solver selection. Use it when calling the tool from a script: UNREALIZABLE has exit status 1, even though the solver answered the question.

Python

The build above also produces acacia_boomslang. The Python guide shows how to import it, solve a bounded safety game, and inspect its winning region. It also explains how that API differs from the CLI.

Docker

The Docker guide covers the CLI source image and the Boomslang notebook image. The CLI image needs a compile step inside the container; Boomslang includes a built Python module, Spot, and Jupyter.

Presets and configuration

A preset chooses components at compile time. docker_default names the configurations used by the Docker wrappers; its first entry is also used by Python builds. Read the group instead of copying a preset name. The configuration guide explains how to inspect presets, choose solver workers at runtime, and set translation effort.

Benchmarks

See results and their measurement conditions for performance comparisons. The benchmarking guide starts with a small local run and describes the correctness and measurement gates. Debug builds are useful for checking examples; use matched release builds for performance comparisons.

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}
}

The software is licensed under GPLv3. See the changelog for user-visible changes and CLAUDE.md for development conventions.

Metadata

Release files for acacia-boomslang 2.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acacia-boomslang 2.9.0
File Size Uploaded Provenance Actions
acacia_boomslang-2.9.0.tar.gz 14.4 MB With provenance Details for acacia_boomslang-2.9.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for acacia-boomslang 2.9.0
File Actions
acacia_boomslang-2.9.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for acacia_boomslang-2.9.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
acacia_boomslang-2.9.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64, Linux glibc 2.26+ ARM64 Details for acacia_boomslang-2.9.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
acacia_boomslang-2.9.0-cp314-cp314-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 macOS 15.0+ ARM64 Details for acacia_boomslang-2.9.0-cp314-cp314-macosx_15_0_arm64.whl
acacia_boomslang-2.9.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for acacia_boomslang-2.9.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
acacia_boomslang-2.9.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64, Linux glibc 2.26+ ARM64 Details for acacia_boomslang-2.9.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
acacia_boomslang-2.9.0-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details for acacia_boomslang-2.9.0-cp313-cp313-macosx_15_0_arm64.whl

Total release size: 239.2 MB

Release files / acacia_boomslang-2.9.0.tar.gz

Download URL acacia_boomslang-2.9.0.tar.gz
Size 14.4 MB
Tags Source
SHA-256 checksum
How to use checksums
944a88b952d7b762c31af1e662bf508d32c9b3affcb3cabccf6e292b6c8299d9
BLAKE2b-256 checksum
How to use checksums
56182743d09b58305c7d981e36ac8fcec460a6445c5746153ab026c552d652be
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 Nov 15, 2026.

Transparency log

Release files / acacia_boomslang-2.9.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL acacia_boomslang-2.9.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 54.5 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3dff3eb864bc1128844c334357fe78688c82ac08b8ffb903eb535becd403022a
BLAKE2b-256 checksum
How to use checksums
a4cd2bd70f9dc8d2df026d32e218f8d1122d9505bf44bed157d7b3bb35dbdc29
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 Nov 15, 2026.

Transparency log

Release files / acacia_boomslang-2.9.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL acacia_boomslang-2.9.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
4f0e1e011341f0e7cb56c1b82677b63d020de149d43bcf0854d6fcbe4766a142
BLAKE2b-256 checksum
How to use checksums
ee269e828510216d81292f427c523f8c6f4749707474c468776543987718c7fd
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 Nov 15, 2026.

Transparency log

Release files / acacia_boomslang-2.9.0-cp314-cp314-macosx_15_0_arm64.whl

Download URL acacia_boomslang-2.9.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
12837bf758a86f0fdf649a54677ad157552b8633213da52b27bbb388bfe15c69
BLAKE2b-256 checksum
How to use checksums
73f1b875aa5bbcc80ecde76ef2914911c60e58ab1aff003c9d780d9bf4b2b6c3
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 Nov 15, 2026.

Transparency log

Release files / acacia_boomslang-2.9.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL acacia_boomslang-2.9.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 54.5 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0b7f43d607dd381bd1c9ef78c3674d71fc6a591e7641cf2b77ea694b154224e1
BLAKE2b-256 checksum
How to use checksums
0fd61c11a64e9ddb090bf98a50d5b5ca696dc3998c96af14edbc85debf10ab1e
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 Nov 15, 2026.

Transparency log

Release files / acacia_boomslang-2.9.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL acacia_boomslang-2.9.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
59ab5ad20ae6631f5359d96a12483fb75bb6d3c8a98582ae204261087e732203
BLAKE2b-256 checksum
How to use checksums
ecbeaeff6f5d854a2968a4cc20583a0b9fc5b64ea54a042ec9d71f4ec81f2d0c
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 Nov 15, 2026.

Transparency log

Release files / acacia_boomslang-2.9.0-cp313-cp313-macosx_15_0_arm64.whl

Download URL acacia_boomslang-2.9.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
f7d63f2551eaf7ec30d997b51f3dd99b2afed9c9ff72e98b219a15745d7737d3
BLAKE2b-256 checksum
How to use checksums
177d533d15bc77ee9897abb3014b9a0b5c20b7bba108167b37015426e13b2f8f
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 Nov 15, 2026.

Transparency log

Security for acacia-boomslang 2.9.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.

Select from 7 files

Attestation for acacia_boomslang-2.9.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 Nov 15, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page