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

Support LAMBDA in the Apalache IR #2532

Open
shonfeder opened this issue Apr 13, 2023 · 0 comments
Open

Support LAMBDA in the Apalache IR #2532

shonfeder opened this issue Apr 13, 2023 · 0 comments
Labels

Comments

@shonfeder
Copy link
Contributor

shonfeder commented Apr 13, 2023

The Apalache IR has not yet picked up support for TLA LAMBDA. Instead we perform a de-lambdification to convert any lambdas into let expressions. However, let expressions cannot be applied, as noted in #2517.

This has required workarounds in quint conversion:

Adding support for LAMBDA in the IR will have at least the following benefits:

  • Reduce complexity of quint conversion.
  • Improve readability of TLA we generate from parsed specs (e.g., as recorded with --write-intermediate)
  • Reduce complexity of our pre-processing, since we won't need to de-lambdafy.

See also #251, #872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant