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

Transformation to "group" and "de-group" higher arity operators #3

Open
daemontus opened this issue Oct 1, 2023 · 0 comments
Open

Comments

@daemontus
Copy link
Member

The current plan is to support and/or as operators with arbitrary arity, since this makes a lot of sense for DNF/CNF normal forms. However, this also means that (x & (y & z)) is a different formula than (x & y & z). This is fundamentally fine, but we should have a way to contract/expand such high arity operators. That is, at the very least have a function which will "merge" all and/or operators where possible, and also have a function that will "break them up" into normal binary operators.

One reason why we might want this is that not everything may work with the higher arity representation, and in some cases we simply need to output a representation with only binary operators.

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