-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This implements the `:guard` attribute on vanishing constraints. This is a relatively straightforward extension of the status quo.
- Loading branch information
1 parent
266c677
commit d6b5d9d
Showing
17 changed files
with
474 additions
and
10 deletions.
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
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,22 @@ | ||
{ "STAMP": [], "X": [] } | ||
{ "STAMP": [0], "X": [0] } | ||
{ "STAMP": [0], "X": [1] } | ||
{ "STAMP": [0], "X": [2] } | ||
{ "STAMP": [0], "X": [3] } | ||
{ "STAMP": [1], "X": [1] } | ||
{ "STAMP": [1], "X": [2] } | ||
;; | ||
{ "STAMP": [0,0], "X": [0,0] } | ||
{ "STAMP": [0,1], "X": [0,1] } | ||
{ "STAMP": [0,1], "X": [0,2] } | ||
{ "STAMP": [0,2], "X": [0,1] } | ||
{ "STAMP": [0,2], "X": [0,2] } | ||
{ "STAMP": [1,0], "X": [1,0] } | ||
{ "STAMP": [1,0], "X": [2,0] } | ||
{ "STAMP": [2,0], "X": [1,0] } | ||
{ "STAMP": [2,0], "X": [2,0] } | ||
{ "STAMP": [1,0], "X": [1,0] } | ||
{ "STAMP": [1,1], "X": [1,1] } | ||
{ "STAMP": [1,1], "X": [1,2] } | ||
{ "STAMP": [1,2], "X": [1,1] } | ||
{ "STAMP": [1,2], "X": [1,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,3 @@ | ||
(defcolumns STAMP X) | ||
;; STAMP == 0 || X == 1 || X == 2 | ||
(defconstraint c1 (:guard STAMP) (* (- X 1) (- 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,8 @@ | ||
{ "STAMP": [1], "X": [0] } | ||
{ "STAMP": [1], "X": [3] } | ||
{ "STAMP": [2], "X": [0] } | ||
{ "STAMP": [2], "X": [3] } | ||
{ "STAMP": [1,0], "X": [0,0] } | ||
{ "STAMP": [1,1], "X": [0,1] } | ||
{ "STAMP": [1,1], "X": [0,2] } | ||
{ "STAMP": [1,2], "X": [0,1] } |
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,36 @@ | ||
{ "ST": [], "A": [], "B": [] } | ||
{ "ST": [0], "A": [-2], "B": [123] } | ||
{ "ST": [0], "A": [-1], "B": [123] } | ||
{ "ST": [0], "A": [0], "B": [0] } | ||
{ "ST": [0], "A": [1], "B": [123] } | ||
{ "ST": [0], "A": [2], "B": [123] } | ||
{ "ST": [0], "A": [0], "B": [-1] } | ||
{ "ST": [0], "A": [0], "B": [1] } | ||
{ "ST": [0], "A": [0], "B": [2] } | ||
{ "ST": [0,0], "A": [1,0], "B": [-1,-1] } | ||
{ "ST": [0,0], "A": [1,0], "B": [1,1] } | ||
{ "ST": [0,0], "A": [1,0], "B": [2,2] } | ||
{ "ST": [0,0], "A": [0,0], "B": [0,0] } | ||
{ "ST": [0,0], "A": [1,0], "B": [123,0] } | ||
{ "ST": [0,0], "A": [0,1], "B": [0,123] } | ||
{ "ST": [0,0], "A": [1,1], "B": [123,234] } | ||
;; | ||
{ "ST": [], "A": [], "B": [] } | ||
{ "ST": [1], "A": [-2], "B": [123] } | ||
{ "ST": [1], "A": [-1], "B": [123] } | ||
{ "ST": [1], "A": [0], "B": [0] } | ||
{ "ST": [1], "A": [1], "B": [123] } | ||
{ "ST": [1], "A": [2], "B": [123] } | ||
{ "ST": [0,1], "A": [0,0], "B": [0,0] } | ||
{ "ST": [0,1], "A": [1,0], "B": [123,0] } | ||
{ "ST": [0,1], "A": [0,1], "B": [0,123] } | ||
{ "ST": [0,1], "A": [1,1], "B": [123,234] } | ||
{ "ST": [1,0], "A": [0,0], "B": [0,0] } | ||
{ "ST": [1,0], "A": [1,0], "B": [123,0] } | ||
{ "ST": [1,0], "A": [0,1], "B": [0,123] } | ||
{ "ST": [1,0], "A": [1,1], "B": [123,234] } | ||
{ "ST": [1,1], "A": [0,0], "B": [0,0] } | ||
{ "ST": [1,1], "A": [1,0], "B": [123,0] } | ||
{ "ST": [1,1], "A": [0,1], "B": [0,123] } | ||
{ "ST": [1,1], "A": [1,1], "B": [123,234] } | ||
;; |
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,3 @@ | ||
(defcolumns ST A B) | ||
;; STAMP == 0 || X == 1 || X == 2 | ||
(defconstraint c1 (:guard ST) (if A B)) |
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,9 @@ | ||
{ "ST": [1], "A": [0], "B": [-1] } | ||
{ "ST": [1], "A": [0], "B": [1] } | ||
{ "ST": [1], "A": [0], "B": [2] } | ||
{ "ST": [0,1], "A": [1,0], "B": [-1,-1] } | ||
{ "ST": [0,1], "A": [1,0], "B": [1,1] } | ||
{ "ST": [0,1], "A": [1,0], "B": [2,2] } | ||
{ "ST": [1,1], "A": [1,0], "B": [-1,-1] } | ||
{ "ST": [1,1], "A": [1,0], "B": [1,1] } | ||
{ "ST": [1,1], "A": [1,0], "B": [2,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,29 @@ | ||
{ "ST": [], "A": [], "B": [] } | ||
{ "ST": [0], "A": [0], "B": [-1] } | ||
{ "ST": [0], "A": [0], "B": [1] } | ||
{ "ST": [0], "A": [0], "B": [2] } | ||
{ "ST": [1], "A": [0], "B": [-1] } | ||
{ "ST": [1], "A": [0], "B": [1] } | ||
{ "ST": [1], "A": [0], "B": [2] } | ||
{ "ST": [0,0], "A": [1,0], "B": [0,-1] } | ||
{ "ST": [0,0], "A": [1,0], "B": [0,1] } | ||
{ "ST": [0,0], "A": [1,0], "B": [0,2] } | ||
{ "ST": [1,0], "A": [1,0], "B": [0,-1] } | ||
{ "ST": [1,0], "A": [1,0], "B": [0,1] } | ||
{ "ST": [1,0], "A": [1,0], "B": [0,2] } | ||
{ "ST": [0,1], "A": [1,0], "B": [0,-1] } | ||
{ "ST": [0,1], "A": [1,0], "B": [0,1] } | ||
{ "ST": [0,1], "A": [1,0], "B": [0,2] } | ||
{ "ST": [1,1], "A": [1,0], "B": [0,-1] } | ||
{ "ST": [1,1], "A": [1,0], "B": [0,1] } | ||
{ "ST": [1,1], "A": [1,0], "B": [0,2] } | ||
;; | ||
{ "ST": [0], "A": [-2], "B": [123] } | ||
{ "ST": [0], "A": [-1], "B": [123] } | ||
{ "ST": [0], "A": [1], "B": [1] } | ||
{ "ST": [0], "A": [1], "B": [123] } | ||
{ "ST": [0], "A": [2], "B": [123] } | ||
{ "ST": [0,0], "A": [0,1], "B": [0,1] } | ||
{ "ST": [0,0], "A": [1,0], "B": [123,0] } | ||
{ "ST": [0,0], "A": [0,1], "B": [0,123] } | ||
{ "ST": [0,0], "A": [1,1], "B": [123,234] } |
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,2 @@ | ||
(defcolumns ST A B) | ||
(defconstraint c1 (:guard ST) (ifnot A B)) |
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,9 @@ | ||
{ "ST": [1], "A": [-2], "B": [123] } | ||
{ "ST": [1], "A": [-1], "B": [123] } | ||
{ "ST": [1], "A": [1], "B": [1] } | ||
{ "ST": [1], "A": [1], "B": [123] } | ||
{ "ST": [1], "A": [2], "B": [123] } | ||
{ "ST": [1,1], "A": [0,1], "B": [0,1] } | ||
{ "ST": [1,1], "A": [1,0], "B": [123,0] } | ||
{ "ST": [1,1], "A": [0,1], "B": [0,123] } | ||
{ "ST": [1,1], "A": [1,1], "B": [123,234] } |
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,46 @@ | ||
{ "ST": [], "A": [], "B": [], "C": [] } | ||
{ "ST": [0], "A": [-2], "B": [234], "C": [0] } | ||
{ "ST": [0], "A": [-1], "B": [123], "C": [0] } | ||
{ "ST": [0], "A": [0], "B": [0], "C": [123] } | ||
{ "ST": [0], "A": [0], "B": [0], "C": [234] } | ||
{ "ST": [0], "A": [1], "B": [123], "C": [0] } | ||
{ "ST": [0], "A": [2], "B": [234], "C": [0] } | ||
;; | ||
{ "ST": [1], "A": [-2], "B": [234], "C": [0] } | ||
{ "ST": [1], "A": [-1], "B": [123], "C": [0] } | ||
{ "ST": [1], "A": [0], "B": [0], "C": [123] } | ||
{ "ST": [1], "A": [0], "B": [0], "C": [234] } | ||
{ "ST": [1], "A": [1], "B": [123], "C": [0] } | ||
{ "ST": [1], "A": [2], "B": [234], "C": [0] } | ||
;; | ||
{ "ST": [0], "A": [0], "B": [-2], "C": [0] } | ||
{ "ST": [0], "A": [0], "B": [-1], "C": [0] } | ||
{ "ST": [0], "A": [0], "B": [1], "C": [0] } | ||
{ "ST": [0], "A": [0], "B": [2], "C": [0] } | ||
{ "ST": [0], "A": [0], "B": [-2], "C": [-1] } | ||
{ "ST": [0], "A": [0], "B": [-1], "C": [1] } | ||
{ "ST": [0], "A": [0], "B": [1], "C": [2] } | ||
{ "ST": [0], "A": [0], "B": [2], "C": [-2] } | ||
{ "ST": [0], "A": [1], "B": [0], "C": [-2] } | ||
{ "ST": [0], "A": [1], "B": [0], "C": [-1] } | ||
{ "ST": [0], "A": [1], "B": [0], "C": [1] } | ||
{ "ST": [0], "A": [1], "B": [0], "C": [2] } | ||
{ "ST": [0], "A": [1], "B": [-2], "C": [-2] } | ||
{ "ST": [0], "A": [1], "B": [-1], "C": [-1] } | ||
{ "ST": [0], "A": [1], "B": [1], "C": [1] } | ||
{ "ST": [0], "A": [1], "B": [1], "C": [2] } | ||
{ "ST": [0], "A": [2], "B": [0], "C": [-2] } | ||
{ "ST": [0], "A": [2], "B": [0], "C": [-1] } | ||
{ "ST": [0], "A": [2], "B": [0], "C": [1] } | ||
{ "ST": [0], "A": [2], "B": [0], "C": [2] } | ||
{ "ST": [0], "A": [2], "B": [-2], "C": [-2] } | ||
{ "ST": [0], "A": [2], "B": [-1], "C": [-1] } | ||
{ "ST": [0], "A": [2], "B": [1], "C": [1] } | ||
{ "ST": [0], "A": [2], "B": [1], "C": [2] } | ||
;; | ||
{ "ST": [0,0,0,0,0], "A": [-2,-1,0,1,2], "B": [234,123,0,456,789], "C": [0,0,123,0,0]} | ||
{ "ST": [1,0,0,0,0], "A": [-2,-1,0,1,2], "B": [234,123,0,456,789], "C": [0,0,123,0,0]} | ||
{ "ST": [0,1,0,0,0], "A": [-2,-1,0,1,2], "B": [234,123,0,456,789], "C": [0,0,123,0,0]} | ||
{ "ST": [0,0,1,0,0], "A": [-2,-1,0,1,2], "B": [234,123,0,456,789], "C": [0,0,123,0,0]} | ||
{ "ST": [0,0,0,1,0], "A": [-2,-1,0,1,2], "B": [234,123,0,456,789], "C": [0,0,123,0,0]} | ||
{ "ST": [0,0,0,0,1], "A": [-2,-1,0,1,2], "B": [234,123,0,456,789], "C": [0,0,123,0,0]} |
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,2 @@ | ||
(defcolumns ST A B C) | ||
(defconstraint c1 (:guard ST) (if A B C)) |
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,24 @@ | ||
{ "ST": [1], "A": [0], "B": [-2], "C": [0] } | ||
{ "ST": [1], "A": [0], "B": [-1], "C": [0] } | ||
{ "ST": [1], "A": [0], "B": [1], "C": [0] } | ||
{ "ST": [1], "A": [0], "B": [2], "C": [0] } | ||
{ "ST": [1], "A": [0], "B": [-2], "C": [-1] } | ||
{ "ST": [1], "A": [0], "B": [-1], "C": [1] } | ||
{ "ST": [1], "A": [0], "B": [1], "C": [2] } | ||
{ "ST": [1], "A": [0], "B": [2], "C": [-2] } | ||
{ "ST": [1], "A": [1], "B": [0], "C": [-2] } | ||
{ "ST": [1], "A": [1], "B": [0], "C": [-1] } | ||
{ "ST": [1], "A": [1], "B": [0], "C": [1] } | ||
{ "ST": [1], "A": [1], "B": [0], "C": [2] } | ||
{ "ST": [1], "A": [1], "B": [-2], "C": [-2] } | ||
{ "ST": [1], "A": [1], "B": [-1], "C": [-1] } | ||
{ "ST": [1], "A": [1], "B": [1], "C": [1] } | ||
{ "ST": [1], "A": [1], "B": [1], "C": [2] } | ||
{ "ST": [1], "A": [2], "B": [0], "C": [-2] } | ||
{ "ST": [1], "A": [2], "B": [0], "C": [-1] } | ||
{ "ST": [1], "A": [2], "B": [0], "C": [1] } | ||
{ "ST": [1], "A": [2], "B": [0], "C": [2] } | ||
{ "ST": [1], "A": [2], "B": [-2], "C": [-2] } | ||
{ "ST": [1], "A": [2], "B": [-1], "C": [-1] } | ||
{ "ST": [1], "A": [2], "B": [1], "C": [1] } | ||
{ "ST": [1], "A": [2], "B": [1], "C": [2] } |
Oops, something went wrong.