Skip to content

feat(opt): ægraph i64 ops + 8 new identity rules + commutativity helpers (v1.1.0 Track C)#137

Merged
avrabe merged 1 commit into
mainfrom
release/v1.1.0-pr-egraph-widen-rebased
May 19, 2026
Merged

feat(opt): ægraph i64 ops + 8 new identity rules + commutativity helpers (v1.1.0 Track C)#137
avrabe merged 1 commit into
mainfrom
release/v1.1.0-pr-egraph-widen-rebased

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 19, 2026

Rebased version of the v1.1.0 Track C agent's work onto post-Track-B main.

  • 11 new Op variants (i64 set)
  • 8 new identity rules
  • Op::is_commutative() + canonicalize_commutative() helpers

25 egraph tests pass. 1 ignored (commutativity end-to-end, v1.1.1 follow-up — needs insertion-time normalization).

🤖 Generated with Claude Code

…ers (v1.1.0 Track C, rebased)

Track C's content rebased onto post-Track-B main. Track B's
cost-driven extract is preserved (it's already merged on main as
PR #134); this PR adds i64 op variants + 8 i64 identity rules +
commutativity helpers on top.

## What lands

11 new Op variants: I64Add/Sub/Mul/And/Or/Xor/Shl/ShrS/ShrU/Eq/Eqz.
8 new identity rules (i64 add/or/and/mul/xor + 3 shift-by-zero).
Op::is_commutative() + EGraph::canonicalize_commutative() helpers.

## Tests

25 egraph tests pass (was 18 after Track B). 1 ignored
(commutativity end-to-end — needs insertion-time normalization, v1.1.1).

Trace: REQ-3
@avrabe avrabe merged commit 6ae62ed into main May 19, 2026
@avrabe avrabe deleted the release/v1.1.0-pr-egraph-widen-rebased branch May 19, 2026 19:14
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.

1 participant