Skip to content

Commit

Permalink
Remove redundant invariant
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoli authored Jan 11, 2024
1 parent 216e5db commit 1060d44
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prusti-tests/tests/verify_overflow/pass/overflow/bisect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ pub fn bisect<T: Function>(f: &T, target: i32) -> Option<usize> {
let mut low = 0;
let mut high = f.domain_size();
while low < high {
body_invariant!(f.invariant());
body_invariant!(high <= f.domain_size());
body_invariant!(forall(|x: usize|
(x < low || high <= x) && x < f.domain_size() ==> f.eval(x) != target
Expand Down

0 comments on commit 1060d44

Please sign in to comment.