-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit :check to return only locally defined properties (#1731)
- Loading branch information
Showing
13 changed files
with
128 additions
and
33 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,30 @@ | ||
/** | ||
``` | ||
:check | ||
``` | ||
*/ | ||
module T10 where | ||
|
||
p : Bit | ||
property p = True | ||
|
||
submodule M where | ||
q : Bit | ||
property q = True | ||
|
||
private | ||
r : Bit | ||
property r = True | ||
|
||
submodule F where | ||
parameter | ||
type N : # | ||
|
||
s : Bit | ||
property s = True | ||
|
||
private | ||
t : Bit | ||
property t = True | ||
|
||
submodule F1 = submodule F where type N = 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,2 @@ | ||
:m T10 | ||
:check-docstrings |
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,25 @@ | ||
Loading module Cryptol | ||
Loading module Cryptol | ||
Loading module T10 | ||
|
||
|
||
Checking T10 | ||
|
||
:check | ||
property p Using exhaustive testing. | ||
Testing... Passed 1 tests. | ||
Q.E.D. | ||
property M::q Using exhaustive testing. | ||
Testing... Passed 1 tests. | ||
Q.E.D. | ||
property T10::M::r Using exhaustive testing. | ||
Testing... Passed 1 tests. | ||
Q.E.D. | ||
property F1::s Using exhaustive testing. | ||
Testing... Passed 1 tests. | ||
Q.E.D. | ||
property T10::F1::t Using exhaustive testing. | ||
Testing... Passed 1 tests. | ||
Q.E.D. | ||
|
||
Successes: 1, No fences: 11, Failures: 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 |
---|---|---|
|
@@ -2,3 +2,7 @@ | |
:check | ||
:prove | ||
:sat | ||
:m Issue639_M | ||
:check | ||
:prove | ||
:sat |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
:m NISTCurves | ||
:check | ||
:l ECDSAKeyPair.cry | ||
:check |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
:m NISTCurves | ||
:check | ||
:l ECDSASigGen.cry | ||
:check |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
:m NISTCurves | ||
:check | ||
:l ECDSASigVerify.cry | ||
:check |
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