Repository navigation
v0.2.0 — portable evidence and independent replay
Pre-release
Pre-release
BitEquiv 0.2.0 — portable evidence and independent replay
Adds a solver-independent evidence workflow on top of the 0.1 fixed-width expression checker:
bitequiv export case.json --smt2 question.smt2writes a portable QF_BV question for another SMT-LIB solver. Export exit 0 only means the file was written, not that the expressions are equivalent.bitequiv replay report.jsonrecomputes a saved counterexample and its full trace without trusting the stored verdict or importing Z3. Type-strict checks cover the problem fingerprint, semantics, outputs, trace steps, binary values, changed bits and replay marker.- Reports claiming equivalence or unknown are reported as
unverifiable, not silently verified. Historical 0.1 reports remain readable. --no-depsinstallations can export and replay;checkreportsunknownwhen Z3 is absent.
Verification
- 75 tests pass on Python 3.12.3.
- 20 targeted mutations are caught by named assertions; the real source is unchanged after each run.
- A fresh environment installed the built wheel and exercised all four bundled cases plus solver-free export/replay outside the source checkout.
Limits
This is a narrow Z3 workflow, not a C/LLVM verifier or a program-correctness proof. No independently checkable proof certificate is emitted. Replay validates the mathematics of a witness, not its author, signature or original solver execution. The 0.1.0 release assets remain unchanged.
Check downloaded artifacts against SHA256SUMS-0.2.0.