A command-line tool for animating Event-B models using the ProB model checker.
- Random animation of Event-B models
- Invariant checking during animation
- Coverage analysis
- Trace saving and replay in JSON format
- Model visualization export (machine hierarchy, events, properties, invariants)
- Java 21 or later
- Gradle
./gradlew build./gradlew run --args="path/to/model.bum"-s, --steps <n>- Number of random animation steps (default: 5)-z, --size <n>- Default size for ProB sets (default: 4)-i, --invariants- Check invariants during animation--perf- Print ProB performance information--save <file.json>- Save animation trace to JSON file--debug- Enable debug logging
./gradlew run --args="replay -t path/to/trace.json path/to/model.bum"./gradlew run --args="info path/to/model.bum"Export options:
-m, --machine <file>- Save machine hierarchy graph (.dot or .svg)-e, --events <file>- Save events hierarchy graph (.dot or .svg)-p, --properties <file>- Save properties graph (.dot or .svg)-i, --invariant <file>- Save invariant graph (.dot or .svg)-b, --bmodel <file>- Dump prolog model to .eventb file
See LICENSE file for details.