-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added failing test case for TreeAutomizer, #143
- Loading branch information
1 parent
9e974bb
commit 5593e53
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
trunk/examples/smtlib/horn/test-implicitInitialTransitions-unsat.smt2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
; status: unsat (checked by z3) | ||
; written on 27.03.2017 | ||
; currently, we say this set is sat without looking at any trace, because the "initial transitions" | ||
; don't have the form of an implication withough uninterpreted predicates in the body. | ||
; author: [email protected] | ||
(set-logic HORN) | ||
|
||
(declare-fun I_x (Int) Bool) | ||
(declare-fun I_y (Int) Bool) | ||
(declare-fun I_z (Int) Bool) | ||
|
||
(assert (I_x 0)) ; equivalent to "(=> (= x 0) (I_x x))", but not translated like that right now.. | ||
(assert (I_y 0)) | ||
(assert (forall ((x Int) (x1 Int)) (=> (and (I_x x) (= x1 (+ x 1))) (I_x x1)))) | ||
(assert (forall ((y Int) (y1 Int)) (=> (and (I_y y) (= y1 (+ y 1))) (I_y y1)))) | ||
|
||
(assert (forall ((x Int) (y Int) (z Int)) (=> (and (I_x x) (I_y y) (= (+ x y) z)) (I_z z)))) | ||
(assert (forall ((z Int)) (=> (and (I_z z) (= z 0)) false))) | ||
|
||
(check-sat) |