Module verification
Expand description
Python-aligned facade that calls the existing native verification core. The borrowed gate slices do not incur a copy or an extra solver invocation.
Functions§
- check_
equivalence - Compare two native Rust circuits using the same verification engine as
the CLI and PyO3 extension. A circuit-width mismatch returns an
anyhow::Errorfrom input validation, not a fabricated final PathSum (Python’s mismatch convention differs). This is not a dedicated typed error enum.