-%% Regression level = 1
-%% Result = Valid
-%% Runtime = 1
-%% Language = presentation
+% EXPECT: VALID
p : BOOLEAN;
q : BOOLEAN;
r : BOOLEAN;
-%% Regression level = 0
-%% Result = Valid
-%% Runtime = 1
-%% Language = presentation
+% EXPECT: VALID
x : REAL;
y : REAL;
f : REAL -> REAL;
-%% Regression level = 0
-%% Result = Valid
-%% Runtime = 1
-%% Language = presentation
+% EXPECT: VALID
x_1 : BOOLEAN;
x_2 : BOOLEAN;
x_3 : BOOLEAN;
-
-
a, b, c: BOOLEAN;
+% EXPECT: VALID
QUERY (a XOR b) <=> (NOT a AND b) OR (NOT b AND a);
+% EXPECT: INVALID
QUERY NOT c AND b;
+% EXPECT: VALID
QUERY (IF c THEN a ELSE b ENDIF) <=> ((c AND a) OR (NOT c AND b));
+% EXPECT: VALID
QUERY (a => b) <=> (NOT a OR b);
+% EXPECT: VALID
QUERY TRUE XOR FALSE;
-
% Tests the invariants for multiple queries.
a, b: BOOLEAN;
-%Valid query
+% EXPECT: VALID
QUERY (a AND b) OR NOT (a AND b);
-%Invalid query
+% EXPECT: INVALID
QUERY (a OR b);
(benchmark simple_uf
:logic QF_UF
+ :status unsat
:extrasorts (A B)
:extrafuns ((f A B) (x A) (y A))
:formula (not (implies (= x y) (= (f x) (f y))))
ASSERT x0 OR NOT x3;
ASSERT x3 OR x2;
ASSERT x1 AND NOT x1;
+% EXPECT: VALID
QUERY x2;
(benchmark b
-:status unknown
+:status unsat
:logic QF_UF
:extrapreds ((x0))
:extrapreds ((x1))
(benchmark b
-:status unknown
+:status sat
:logic QF_UF
:extrapreds ((x0))
:extrapreds ((x1))
-
a, b, c : BOOLEAN;
ASSERT NOT a OR NOT b;
ASSERT c OR b OR a;
ASSERT b OR NOT a;
ASSERT a OR NOT b OR c;
+% EXPECT: INVALID
QUERY FALSE;
-%% Regression level = 0
-%% Result = Valid
-%% Runtime = 1
-%% Language = presentation
-
x, y : BOOLEAN;
ASSERT (x OR y);
ASSERT NOT (x OR y);
+% EXPECT: VALID
QUERY FALSE;
-%% Regression level = 1
-%% Result = Valid
-%% Runtime = 1
-%% Language = presentation
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: VALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: VALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: INVALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
A: TYPE;
P_1: BOOLEAN;
P_2: BOOLEAN;
-%% Regression level = 0
-%% Result = Valid
-%% Runtime = 1
-%% Language = presentation
+% EXPECT: VALID
P,Q:BOOLEAN;
ASSERT (P OR Q);
QUERY (P OR Q);
-%% Regression level = 0
-%% Result = Invalid
-%% Runtime = 1
-%% Language = presentation
+% EXPECT: INVALID
x_1 : BOOLEAN;
x_2 : BOOLEAN;
x_3 : BOOLEAN;
-
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
+% EXPECT: VALID
a, b, c : BOOLEAN;
-%% Regression level = 1
-%% Result = Valid
-%% Runtime = 1
-%% Up from 2 (actual 2.1sec), Down from 4
-%% Language = presentation
+% EXPECT: VALID
x_1 : BOOLEAN;
x_2 : BOOLEAN;
x_3 : BOOLEAN;
-%% Regression level = 1
-%% Result = Valid
-%% Runtime = 1
-%% Language = presentation
+% EXPECT: VALID
x_1 : BOOLEAN;
x_2 : BOOLEAN;
x_3 : BOOLEAN;
-%% Regression level = 1
-%% Result = Valid
-%% Runtime = 1
-%% Language = presentation
+% EXPECT: VALID
x_1 : BOOLEAN;
x_2 : BOOLEAN;
x_3 : BOOLEAN;
-%% Regression level = 2
-%% Result = Valid
-%% Runtime = 2
-%% Language = presentation
+% EXPECT: VALID
x_1 : BOOLEAN;
x_2 : BOOLEAN;
x_3 : BOOLEAN;