-
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.
A simple fix for #505, which was being caused by the parser not considering qualified names correctly.
- Loading branch information
1 parent
0e49cad
commit 6479c8e
Showing
8 changed files
with
373 additions
and
2 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,31 @@ | ||
{ "A": [], "P": [], "Q": [], "B_xor_C": [] } | ||
;; | ||
{ "A": [0], "P": [0], "Q": [0], "B_xor_C": [0] } | ||
{ "A": [0], "P": [0], "Q": [0], "B_xor_C": [1] } | ||
{ "A": [0], "P": [0], "Q": [0], "B_xor_C": [2] } | ||
{ "A": [0], "P": [0], "Q": [0], "B_xor_C": [3] } | ||
{ "A": [1], "P": [0], "Q": [0], "B_xor_C": [0] } | ||
{ "A": [1], "P": [0], "Q": [0], "B_xor_C": [1] } | ||
{ "A": [1], "P": [0], "Q": [0], "B_xor_C": [2] } | ||
{ "A": [1], "P": [0], "Q": [0], "B_xor_C": [3] } | ||
{ "A": [2], "P": [0], "Q": [0], "B_xor_C": [0] } | ||
{ "A": [2], "P": [0], "Q": [0], "B_xor_C": [1] } | ||
{ "A": [2], "P": [0], "Q": [0], "B_xor_C": [2] } | ||
{ "A": [2], "P": [0], "Q": [0], "B_xor_C": [3] } | ||
{ "A": [3], "P": [0], "Q": [0], "B_xor_C": [0] } | ||
{ "A": [3], "P": [0], "Q": [0], "B_xor_C": [1] } | ||
{ "A": [3], "P": [0], "Q": [0], "B_xor_C": [2] } | ||
{ "A": [3], "P": [0], "Q": [0], "B_xor_C": [3] } | ||
;; perspective p1 | ||
{ "A": [0], "P": [1], "Q": [0], "B_xor_C": [0] } | ||
{ "A": [1], "P": [1], "Q": [0], "B_xor_C": [1] } | ||
{ "A": [2], "P": [1], "Q": [0], "B_xor_C": [2] } | ||
{ "A": [3], "P": [1], "Q": [0], "B_xor_C": [3] } | ||
;; perspective p2 | ||
{ "A": [0], "P": [0], "Q": [1], "B_xor_C": [0] } | ||
{ "A": [0], "P": [0], "Q": [1], "B_xor_C": [1] } | ||
{ "A": [0], "P": [0], "Q": [1], "B_xor_C": [2] } | ||
{ "A": [0], "P": [0], "Q": [1], "B_xor_C": [3] } | ||
{ "A": [1], "P": [0], "Q": [1], "B_xor_C": [0] } | ||
{ "A": [2], "P": [0], "Q": [1], "B_xor_C": [0] } | ||
{ "A": [3], "P": [0], "Q": [1], "B_xor_C": [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,19 @@ | ||
(defpurefun ((vanishes! :@loob :force) e0) e0) | ||
;; | ||
(defcolumns | ||
;; Column (not in perspective) | ||
A | ||
;; Selector column for perspective p1 | ||
(P :binary@prove) | ||
;; Selector column for perspective p2 | ||
(Q :binary@prove)) | ||
|
||
;; Section 1 | ||
(defperspective p1 P ((B :binary))) | ||
(defun (p1-B) p1/B) | ||
(defconstraint c1 (:perspective p1) (vanishes! (- A (p1-B)))) | ||
|
||
;; Section 2 | ||
(defperspective p2 Q ((C :binary))) | ||
(defun (p2-C) p2/C) | ||
(defconstraint c2 (:perspective p2) (vanishes! (* A (p2-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,21 @@ | ||
{ "A": [0], "P": [1], "Q": [0], "B_xor_C": [1] } | ||
{ "A": [0], "P": [1], "Q": [0], "B_xor_C": [2] } | ||
{ "A": [0], "P": [1], "Q": [0], "B_xor_C": [3] } | ||
{ "A": [1], "P": [1], "Q": [0], "B_xor_C": [2] } | ||
{ "A": [1], "P": [1], "Q": [0], "B_xor_C": [3] } | ||
{ "A": [1], "P": [1], "Q": [0], "B_xor_C": [0] } | ||
{ "A": [2], "P": [1], "Q": [0], "B_xor_C": [0] } | ||
{ "A": [2], "P": [1], "Q": [0], "B_xor_C": [1] } | ||
{ "A": [2], "P": [1], "Q": [0], "B_xor_C": [3] } | ||
{ "A": [3], "P": [1], "Q": [0], "B_xor_C": [0] } | ||
{ "A": [3], "P": [1], "Q": [0], "B_xor_C": [1] } | ||
{ "A": [3], "P": [1], "Q": [0], "B_xor_C": [2] } | ||
{ "A": [1], "P": [0], "Q": [1], "B_xor_C": [1] } | ||
{ "A": [1], "P": [0], "Q": [1], "B_xor_C": [2] } | ||
{ "A": [1], "P": [0], "Q": [1], "B_xor_C": [3] } | ||
{ "A": [2], "P": [0], "Q": [1], "B_xor_C": [1] } | ||
{ "A": [2], "P": [0], "Q": [1], "B_xor_C": [2] } | ||
{ "A": [2], "P": [0], "Q": [1], "B_xor_C": [3] } | ||
{ "A": [3], "P": [0], "Q": [1], "B_xor_C": [1] } | ||
{ "A": [3], "P": [0], "Q": [1], "B_xor_C": [2] } | ||
{ "A": [3], "P": [0], "Q": [1], "B_xor_C": [3] } |
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,219 @@ | ||
{ "P": [], "Q": [], "B_1_xor_C_1": [], "B_2_xor_C_2": [] } | ||
;; | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [255] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [444] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [1023] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [16385] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [65536] } | ||
{ "P": [0], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [65536] } | ||
;; perspective p1 | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [0], "B_2_xor_C_2": [0] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [1], "B_2_xor_C_2": [1] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [2], "B_2_xor_C_2": [2] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [3], "B_2_xor_C_2": [3] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [256], "B_2_xor_C_2": [256] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [423], "B_2_xor_C_2": [423] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [551], "B_2_xor_C_2": [551] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [892], "B_2_xor_C_2": [892] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [1011] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [2022] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [4483] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [8919] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [10101] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [16868] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [32378] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [65534] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [65535] } | ||
{ "P": [1], "Q": [0], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [65536] } | ||
;; perspective p2 | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [1], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [1] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [2], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [2] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [3], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [3] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [256], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [256] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [423], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [423] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [551], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [551] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [892], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [892] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [1011], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [1011] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [2022], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [2022] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [4483], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [4483] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [8919], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [8919] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [10101], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [10101] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [16868], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [16868] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [32378], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [32378] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [65534], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [65534] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [65535], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [65535] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [65536], "B_2_xor_C_2": [0] } | ||
{ "P": [0], "Q": [1], "B_1_xor_C_1": [0], "B_2_xor_C_2": [65536] } |
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,15 @@ | ||
(defpurefun ((vanishes! :@loob :force) e0) e0) | ||
;; | ||
(defcolumns | ||
;; Selector column for perspective p1 | ||
(P :binary@prove) | ||
;; Selector column for perspective p2 | ||
(Q :binary@prove)) | ||
|
||
;; Section 1 | ||
(defperspective p1 P ((B :binary :array [2]))) | ||
(defconstraint c1 (:perspective p1) (vanishes! (- [p1/B 1] [p1/B 2]))) | ||
|
||
;; Section 2 | ||
(defperspective p2 Q ((C :binary :array [2]))) | ||
(defconstraint c2 (:perspective p2) (vanishes! (* [p2/C 1] [p2/C 2]))) |
Oops, something went wrong.