generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Description
Requested feature: __VERIFIER_assume
Use case: Assuming things in harnesses
Link to relevant documentation (Rust reference, Nomicon, RFC): http://www.cprover.org/cprover-manual/modeling/assumptions/
Is this a breaking change? No
Test case:
fn __VERIFIER_assume(cond: bool) {
unimplemented!()
}
fn __nondet<T>() -> T {
unimplemented!()
}
fn main() {
let i : i32 = __nondet();
__VERIFIER_assume(i < 10);
assert!(i < 20);
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels