-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix one off for pdkind model. Fixes #52.
- Loading branch information
Dejan Jovanovic
committed
Aug 10, 2018
1 parent
0184506
commit 0b88fe9
Showing
7 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
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
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,52 @@ | ||
(define-state-type | ||
S | ||
( | ||
(p Int) | ||
(p_del Int) | ||
(p_nil Bool) | ||
(x Int) | ||
(x_del Int) | ||
(x_nil Bool) | ||
(y Int) | ||
(y_del Int) | ||
(y_nil Bool)) | ||
()) | ||
(define-transition-system | ||
TS | ||
S | ||
(and | ||
(= y x) | ||
(= y_del x_del) | ||
(= y_nil true) | ||
(= | ||
p | ||
(+ 1 y)) | ||
(= p_del 0) | ||
(= | ||
p_nil | ||
(or false y_nil)) | ||
(= 0 y_del) | ||
(= x 1) | ||
(= x_del 0) | ||
(= x_nil false)) | ||
(and | ||
(= next.y state.x) | ||
(= next.y_del state.x_del) | ||
(= next.y_nil state.x_nil) | ||
(= | ||
next.p | ||
(+ 1 next.y)) | ||
(= next.p_del 0) | ||
(= | ||
next.p_nil | ||
(or false next.y_nil)) | ||
(= 0 next.y_del) | ||
(= next.x next.p) | ||
(= next.x_del next.p_del) | ||
(= next.x_nil next.p_nil))) | ||
(query | ||
TS | ||
(= x 1)) | ||
(query | ||
TS | ||
(= x 2)) |
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 @@ | ||
invalid.* |
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 @@ | ||
--engine pdkind --show-trace |
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,12 @@ | ||
(define-state-type | ||
S | ||
((x Int)) | ||
((i Int))) | ||
(define-transition-system | ||
TS | ||
S | ||
(= x 0) | ||
(= next.x (+ state.x 1))) | ||
(query | ||
TS | ||
(< x 10)) |
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 @@ | ||
invalid.* |
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 @@ | ||
--engine pdkind --show-trace |