Skip to content

Conversation

@pavpanchekha
Copy link
Contributor

Currently we guarantee rewrite soundness using rules called sound-/, sound-log, and sound-pow. But then in lowering we currently have duplicate lowering rules with and without the sound- prefix. This is ugly, so this PR instead replaces it with three rules that drop the sound- part of the operation and run in a separate rewrite step. It should be simpler and cleaner, and also easier to add to egglog when the time comes.

@pavpanchekha pavpanchekha marked this pull request as ready for review November 3, 2025 23:49
@pavpanchekha pavpanchekha merged commit 1deb9e1 into main Nov 4, 2025
6 checks passed
@pavpanchekha pavpanchekha deleted the sound-X-rewrites branch November 4, 2025 00:13
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.

2 participants