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

Flatten associative composition application and simplification #48

Open
zliu41 opened this issue Apr 15, 2022 · 0 comments
Open

Flatten associative composition application and simplification #48

zliu41 opened this issue Apr 15, 2022 · 0 comments

Comments

@zliu41
Copy link
Member

zliu41 commented Apr 15, 2022

In some cases, we can have complex composition operator application like
((f . g) . (h . (i. j)) which is equivalent to f . g . h . i . j, which can have some opportunity of simplification via g . h = someexp. The original form is obscure to apply such simplification. Therefore, common procedure is to apply flattening simplification to have a normal reducible form and apply further simplification.

Acceptance Criteria:

  • Identify the cases where this is effective.
  • Have a consensus inside the team about the approach (discussing pros and cons)
  • Implement flattening and simplification if decided.

(Extricated from https://kitty-hawk.atlassian.net/browse/SW-3372)

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

No branches or pull requests

1 participant