Skip to content

Commit

Permalink
adding to the regression from #63
Browse files Browse the repository at this point in the history
  • Loading branch information
lgwagner committed Oct 8, 2021
1 parent 786c584 commit fe4c36c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions testing/nonlinear/div0.lus
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
-- this model exercises an error using JKind with Z3 versions >= 4.8.9
-- the Z3 solver emits a function /0 which broke the SMTLib parser
-- for JKind verisons 4.4.2 and below

node main() returns ();

var
a : real;
b : real;
div_test : real;
phi1 : bool;

let

b = 2.0 -> pre(b) + 0.01;
a = 0.0 -> pre(a) + 0.01;
div_test = a/b;

phi1 = (div_test <= a);
--%PROPERTY phi1;
tel;

0 comments on commit fe4c36c

Please sign in to comment.