Open viper-admin opened 7 years ago
This example is incomplete. @mschwerhoff could you please confirm the complete program is the following?
method m(a: Int, b: Int, n: Int, xs: Set[Int]){
inhale 0 <= a && 0 <= b && 0 < n
inhale a * (n - 1) + b < |xs|
var i: Int
inhale 0 <= i && i <= n - 1
assert a * i + b < |xs|
}
The reported issue remains to this date.
Currently fails, most likely due to an incompleteness in Z3: