Skip to content

Releases

CVC5 Mojo 1.4.1.1

Choose a tag to compare

@anatolvitold anatolvitold released this 25 Oct 21:27

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.hash and 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-only forbids 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.

Documentation · Release notes

Channel update: modular/modular-community#430.

CVC5 Mojo 1.4.1.0

Choose a tag to compare

@anatolvitold anatolvitold released this 14 Oct 09:11

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 Integer and Rational.
  • Callbacks: plugins that supply lemmas and observe the solver, and oracle functions through Oracle.evaluate and Solver.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_mojo

Documentation: https://spellbound-mojo.github.io/cvc5_mojo/