-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(naive_rewriter): also rewrite expressions inside lettings
Allow rewriting of expressions inside lettings. The rewriter, on each pass, checks for possible applicable rules in the lettings then the model. The semantics of rewriting sub-expressions inside lettings and the model are the same as before. Rewriting `letting A be EXPENSIVE` (where EXPENSIVE is a complex expression which needs many rule applications to refine) before we substitute it should reduce the number of rule applications needed.
- Loading branch information
1 parent
742d745
commit f5af399
Showing
5 changed files
with
397 additions
and
282 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
Oops, something went wrong.