Skip to content

Add missing add subtract reductions.#11

Merged
cianciosa merged 1 commit into
mainfrom
reduction_bugs
Jun 2, 2026
Merged

Add missing add subtract reductions.#11
cianciosa merged 1 commit into
mainfrom
reduction_bugs

Conversation

@cianciosa

Copy link
Copy Markdown
Collaborator

Add reductions for

(a - b) + a -> 2a - b
(b - a) + a -> b
c1 + (c2 - a) -> c3 - a
c1 + (a - c2) -> c3 + a
a + (a - b) -> 2a - b
a + (b - a) -> b

@cianciosa cianciosa linked an issue Jun 1, 2026 that may be closed by this pull request
@cianciosa cianciosa merged commit 368ab48 into main Jun 2, 2026
2 checks passed
@cianciosa cianciosa deleted the reduction_bugs branch June 2, 2026 14:17
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

Successfully merging this pull request may close these issues.

Missed Reductions

1 participant