-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugAn error, usually in the code.An error, usually in the code.syntax parserIssues relating to TLAPM's syntax parserIssues relating to TLAPM's syntax parser
Description
In PR #140, support for tuple quantifiers was added wherever support existed for ordinary quantification. This included adding support for the following syntax:
---- MODULE Test ----
THEOREM
ASSUME NEW <<x, y >> \in {}
PROVE TRUE
====While this is a reasonable extension to the language (as is the invalid syntax NEW x, y \in S), it is not currently part of the TLA+ language standard, which only supports syntax of the form NEW x \in S here:
SANY also does not support it. Thus unless this extended syntax is proposed then approved as a RFC, support for it should be removed from TLAPM.
The specific offending code is the new FreshTuply variant of Expr.T.hyp (and all code that processes it):
Lines 169 to 175 in 386cb32
| and hyp = hyp_ wrapped | |
| and hyp_ = | |
| | Fresh of hint * shape * kind * hdom | |
| | FreshTuply of hints * hdom | |
| | Flex of hint | |
| | Defn of defn * wheredef * visibility * export | |
| | Fact of expr * visibility * time |
Metadata
Metadata
Assignees
Labels
bugAn error, usually in the code.An error, usually in the code.syntax parserIssues relating to TLAPM's syntax parserIssues relating to TLAPM's syntax parser