Repository navigation
Releases
CVC5 Mojo 1.4.1.1
CVC5 Mojo 1.4.1.1 adds support for Mojo 1.2.0 and the published APN Mojo 1.0.2 package. The bundled cvc5 solver remains at 1.4.1.
- Update hashing imports to
std.hashand adapt plugin-name pointers to Mojo 1.2. - Pin APN Mojo 1.0.2 from modular-community on Linux x86-64, Linux ARM64, and macOS Apple Silicon.
- Build one shared executable for all runnable checkout tests and documentation examples. Unchanged reruns reuse it;
pixi run --locked test --run-onlyforbids rebuilding.
Validated on Linux x86-64: 366 translated upstream tests, 22 upstream examples, 35 documentation examples, 15 boundary contracts, smoke and leak fixtures, 34 loader/thread scenarios, Python regressions, and benchmark semantic checks. Documentation checks also passed. Ten compiler-rejection fixtures are separate from the single-build suite. Native Mojo 1.2 package validation on ARM64 and macOS is pending CI.
Installation: modular-community publication is pending recipe review, CI, merge, and upload. Until then, use this tag as a checkout with pixi install --locked and pixi run --locked fetch. The existing cvc5_mojo 1.4.1.0 channel package remains available for Mojo 1.1.
Channel update: modular/modular-community#430.
CVC5 Mojo 1.4.1.0
The first release of CVC5 Mojo: bindings for the cvc5 SMT solver for Mojo 1.1, generated from cvc5 1.4.1.
- cvc5's Python API in Mojo: the same classes, methods and enum names as cvc5's Python base API, so its documentation and examples carry over. 366 of cvc5's Python unit tests and 22 of its examples, translated to Mojo, pass.
- Exact numbers: integers and rationals of any size through apn_mojo's
IntegerandRational. - Callbacks: plugins that supply lemmas and observe the solver, and oracle functions through
Oracle.evaluateandSolver.declareOracleFun. - Safe ownership: terms, sorts and results keep their native owners alive, and API misuse raises a Mojo error instead of ending the process.
- Documentation: tutorials, a transcendental-functions course, a scheduling application and a generated API reference.
Works with Mojo 1.1.x on Linux x86-64, Linux ARM64 and macOS Apple Silicon (macOS 15 or later). The package includes cvc5's solver and parser libraries.
Install from the Modular community channel:
# pixi.toml
[workspace]
channels = ["https://conda.modular.com/max", "https://repo.prefix.dev/modular-community", "conda-forge"]pixi add cvc5_mojoDocumentation: https://spellbound-mojo.github.io/cvc5_mojo/