Skip to content

Commit 2765db9

Browse files
committed
enforce that constraints are valid
1 parent a01be61 commit 2765db9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/formality-prove/src/prove.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ pub fn prove(
3434

3535
let cs = prove_wc_list(program, assumptions, goal);
3636

37+
cs.assert_valid();
3738
cs.free_variables()
3839
.iter()
3940
.for_each(|fv| assert!(fv_in.contains(&fv)));

0 commit comments

Comments
 (0)