Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLAPM parser does not accept proof step references in QED BY with implicit <*> proof level #165

Open
ahelwer opened this issue Oct 24, 2024 · 1 comment
Labels
bug An error, usually in the code. syntax parser Issues relating to TLAPM's syntax parser

Comments

@ahelwer
Copy link
Collaborator

ahelwer commented Oct 24, 2024

This syntax fragment will fail parsing:

---- MODULE Test ----
THEOREM TRUE
PROOF
  <1>a TRUE
  <1>b QED BY <*>a
====

Ref #159

@ahelwer ahelwer added bug An error, usually in the code. syntax parser Issues relating to TLAPM's syntax parser labels Oct 24, 2024
@ahelwer
Copy link
Collaborator Author

ahelwer commented Feb 6, 2025

While #170 was indeed a false bug (you can't define implicit proof steps with names), this one is certainly real - SANY supports using <*>name to refer to numbered & named steps of the same level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error, usually in the code. syntax parser Issues relating to TLAPM's syntax parser
Development

No branches or pull requests

1 participant