You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The spec Paxos.tla defines both a nullary operator votes and an instance V of Voting (defined in Voting.tla).
The spec Voting.tla uses a VARIABLE votes and an operator
Spec == Init /\ [][Next]_<<votes, maxBal>>
In the pass immediately after parsing, the internal representation of V!Spec is read as
V!Init() ∧ []([V!Next()]_(<<votes(), maxBal>>))
where votes() is an operator application (to the locally defined nullary votes) instead of a variable.
To Reproduce
Steps to reproduce the behavior:
The command-line parameters that you use to run the tool : check --length=10 --debug --inv=Inv <dir>/Paxos.tla
SanyImporter fails to resolve chosen in the module Cons, as it is pointing to the operator V!Chosen. We should fix the code that performs substitution.
Describe the bug
The spec
Paxos.tla
defines both a nullary operatorvotes
and an instanceV
ofVoting
(defined inVoting.tla
).The spec
Voting.tla
uses a VARIABLEvotes
and an operatorIn the pass immediately after parsing, the internal representation of
V!Spec
is read aswhere
votes()
is an operator application (to the locally defined nullaryvotes
) instead of a variable.To Reproduce
Steps to reproduce the behavior:
check --length=10 --debug --inv=Inv <dir>/Paxos.tla
https://github.com/tlaplus/Examples/tree/master/specifications/Paxos
Expected behavior
What did you expect to see?
V!Spec
asor similar.
The text was updated successfully, but these errors were encountered: