-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfixes in Desugarer and propagation of primes (#483)
Co-authored-by: Shon Feder <shon@informal.systems>
- Loading branch information
Showing
11 changed files
with
383 additions
and
58 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,17 @@ | ||
------------------ MODULE ExistTuple476 ---------------------- | ||
(* A regression test for the issue: | ||
/~https://github.com/informalsystems/apalache/issues/476 | ||
*) | ||
EXTENDS Integers | ||
|
||
VARIABLES x, y | ||
|
||
Init == | ||
x = 0 /\ y = 0 | ||
|
||
Next == | ||
\E <<i, j>> \in (1..2) \X (3..4): | ||
/\ x' = i | ||
/\ y' = j | ||
|
||
============================================================== |
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 @@ | ||
------------------------ MODULE UnchangedExpr471 ---------------------------- | ||
(* A regression test for UNCHANGED e: | ||
see issue: /~https://github.com/informalsystems/apalache/issues/471 | ||
*) | ||
EXTENDS Integers | ||
|
||
CONSTANT N | ||
|
||
VARIABLES f, i | ||
|
||
ConstInit == | ||
N' = 3 | ||
|
||
Init == | ||
/\ f = [ j \in 1..3 |-> j * 2] | ||
/\ i = 2 | ||
|
||
Next == | ||
UNCHANGED <<f, i, f[i], N>> | ||
|
||
============================================================================== | ||
|
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
Oops, something went wrong.