The goal of this issue is to track the examples present in NaginiBench that are not yet verified in RustBench
There are currently four examples which I wasn't able to verify:
[x] Barrier: replacing ==> with an equality causes the example to fail to verify
13: result ==> forall|k: int, l: int| 0 <= k <= p && p < l < arr.len() ==> arr[k] < arr[l]
21: forall|k: int| 0 <= k < i ==> arr[max as int] >= arr[k],
- [x] `Recursive binary search`: fails due to not being able to verify termination
- [ ] `Mcontaied` fails due to the postcondition not being satisfied (maybe a bug in my code?)
- [ ] `Maximum segment sum`: I don't know how to write a spec sum function (asked in Zulip), integer overflows are possible (not that hard to fix probably)
The goal of this issue is to track the examples present in NaginiBench that are not yet verified in RustBench
There are currently four examples which I wasn't able to verify:
Barrier
: replacing==>
with an equality causes the example to fail to verify21: forall|k: int| 0 <= k < i ==> arr[max as int] >= arr[k],