karpal-proof
Algebraic law witnesses, rewrite evidence, and refinement types for the Karpal ecosystem.
karpal-proof provides the in-Rust proof layer used by Karpal:
Proven<P, T>for values paired with evidence markers- property markers for algebraic laws
Rewritewitnesses for equational reasoning- refinement types such as
NonEmpty<T>andPositive<T> - optional derive-macro integration via
karpal-proof-derive
Features
std(default)allocderive(default)
Example
use ;
let value = unsafe ;
assert_eq!;
See the workspace README.md and docs/reference/proof-verification.html for the broader proof and external verification story.
License
MIT OR Apache-2.0