-
Notifications
You must be signed in to change notification settings - Fork 16
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
Remove SumEq expression #571
Conversation
f1c5421
to
c886ff8
Compare
FlatProductEq
and Minion conversion rulesc886ff8
to
47dfea4
Compare
47dfea4
to
a5f7dd8
Compare
This chain of PRs thing at the bottom looks useful (and autogenerated?) What's your workflow that produces those? |
I am trying out git machete. Not completely sold on it though... |
08a6f04
to
ebecc6b
Compare
a5f7dd8
to
fe8c168
Compare
PR chains/stacks are useful though, so might be good. I'll look into it too. |
LGTM, once rebased and tests pass etc. |
On a similar note, I find doing |
ebecc6b
to
0206838
Compare
fe8c168
to
f64c2db
Compare
f64c2db
to
74403c5
Compare
SumEq was used as an intermediate representation when rewriting `sum(...) = e2` into flat sumgeq / sumleq constraints. Instead, decompose `sum(...) = e2` into `sum(...) <= e2 /\ sum(...) >= e2` and let the normal Minion process for flattening these convert these to Minion.
74403c5
to
4ee053c
Compare
Closes: #515
SumEq was used as an intermediate representation when rewriting
sum(...) = e2
into flat sumgeq / sumleq constraints.Instead, decompose
sum(...) = e2
intosum(...) <= e2 /\ sum(...) >= e2
and let the normal Minion process for flattening these convert these to Minion.Based on PR #570
Chain of upstream PRs as of 2025-01-08
PR Convert Products to Minion #570:
main
←nik/pr/add-mul/minion-conversion
nik/pr/add-mul/minion-conversion
←nik/pr/add-mul/remove-sum-eq