Skip to content

v0.2.0 — portable evidence and independent replay

Pre-release
Pre-release

Choose a tag to compare

@gedouluhui gedouluhui released this 18 Nov 21:58
· 11 commits to main since this 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.smt2 writes 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.json recomputes 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-deps installations can export and replay; check reports unknown when 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.