VITAMIN Model Checker
Core Python library for model checking multi-agent systems. It provides formula parsers, game-structure parsers, and explicit-state algorithms for CTL, ATL, LTL, and many extensions.
Requirements: Python 3.11+
Install
pip install vitamin-model-checker
Development install from a checkout:
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev,docs]"
ATL* and the automata library need Spot. On Linux, spottl is installed
with the package above; on macOS use conda-forge (details in
docs/ATL_STAR/algorithm.md). Other logics do not require Spot.
Quick start
from model_checker.algorithms.explicit.CTL.CTL import model_checking
result = model_checking("AG p", "path/to/model.txt")
print(result)
Most logics expose the same model_checking(formula, filename) entry point and
return a plain dict suitable for serialization.
Higher-level helpers are available from the public API:
from model_checker import FormulaParserFactory, execute_model_checking_with_parser
parser = FormulaParserFactory.get_parser("CTL")
# execute_model_checking_with_parser(...) for integrated workflows
Supported logics
Built-in formula logics include ATL, ATLF, ATL_STAR, CapATL, COTL, CTL, IATL,
ICTL, LTL, NatATL, NatATLF, NatSL, OATL, OL, RABATL, RBATL, TCTL, TOL, and
Wallet_ATL. Model
structures include CGS, BCGS, CostCGS, CapCGS, WalletCGS, and timedCGS. See
pyproject.toml entry points (vitamin.parsers, vitamin.models,
vitamin.benchmarks) for the full registry.
Repository role
| Project | Role |
|---|---|
vitamin-model-checker |
Core Python library. |
vitamin-benchmark-model-checker |
pyperf benchmark tool for this package. |
vitamin-module-integrator |
Validates logic bundles and applies them to this repo. |
vitamin-workbench |
User-facing web/API application that calls the model checker. |
For the cross-project view, see docs/vitamin-stack.md.
Links:
- Homepage: https://github.com/VITAMIN-organisation/vitamin-model-checker
- PyPI: https://pypi.org/project/vitamin-model-checker/
- Issues: https://github.com/VITAMIN-organisation/vitamin-model-checker/issues
Run tests
pytest model_checker/tests/unit/
pytest model_checker/tests/integration/
pytest model_checker/tests/
make test # unit + integration style suite, excluding slow tests
Test-suite details live in model_checker/tests/README.md.
Docker
Docker is mainly for isolated build/test checks:
cd docker
make build
make test
See docker/README.md for the Docker workflow.
License
Distributed under the SOURCE-AVAILABLE NON-COMMERCIAL LICENSE. See LICENSE for the full text. Commercial use requires prior written permission from the copyright holder.
Metadata
Release files for vitamin-model-checker 1.7.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 |
|---|---|---|---|---|
| vitamin_model_checker-1.7.0.tar.gz | 301.6 kB | Without provenance | Details for vitamin_model_checker-1.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vitamin_model_checker-1.7.0-py3-none-any.whl | Python 3 | none | any | Details for vitamin_model_checker-1.7.0-py3-none-any.whl |
Total release size: 767.8 kB
Release files / vitamin_model_checker-1.7.0.tar.gz
| Download URL | vitamin_model_checker-1.7.0.tar.gz |
|---|---|
| Size | 301.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
878fcd6bef0d782dc0f1993148cedd64ece6c9877fdc0bae3965523a7686db88
|
|
BLAKE2b-256 checksum How to use checksums |
e74d147256b26c4f30263699ae860812e1a8a063a35a7d38d754ccd5b707e5e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / vitamin_model_checker-1.7.0-py3-none-any.whl
| Download URL | vitamin_model_checker-1.7.0-py3-none-any.whl |
|---|---|
| Size | 466.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a3573785b8dfbe24a30af34a581dd03b8adb9f781008e68ae0dff32b59e8704
|
|
BLAKE2b-256 checksum How to use checksums |
811b1bad453aac21f2ef5b5ca6297f4fa3dd00697b75a33717d71c070bbe377e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for vitamin-model-checker 1.7.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.