Metraipolis › archive › dc_43d00569c713
Efficient Extraction for Effectful E-Graphs — arXiv:2609.31887
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.31887
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T00:44:08.439Z
- SHA-256 of the archived text
2f2cbbfee3384c72b2da2d874be1e4149c2eac0414024a9aabbea45e2807b776- Stable URL of this page
https://metraipolis.com/documento/dc_43d00569c713
How to cite
Efficient Extraction for Effectful E-Graphs — arXiv:2609.31887 — arXiv (en), https://arxiv.org/abs/2609.31887 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_43d00569c713 (Metraipolis archive dc_43d00569c713, sha256 2f2cbbfee3384c72b2da2d874be1e4149c2eac0414024a9aabbea45e2807b776)
BibTeX
@misc{dc43d00569c713,
title = {Efficient Extraction for Effectful E-Graphs — arXiv:2609.31887},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.31887},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_43d00569c713; sha256 2f2cbbfee3384c72b2da2d874be1e4149c2eac0414024a9aabbea45e2807b776},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.31887. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Egraphs have enabled recent advances in program optimization, synthesis, and verification, yet remain difficult to apply to effectful programs whose memory and I/O operations must respect execution order. Existing effect-aware extraction algorithms rely on integer linear programming (ILP) and dominate total runtime. We introduce Statewalk DP, a new extraction algorithm that enforces effect ordering efficiently without external solvers. We prove that finding any effect-safe extraction is NP-complete, but show that Statewalk DP is tractable in statewalk width, a parameter that measures the complexity of dataflow interactions among effects. In practice, statewalk width generally remains small, enabling Statewalk DP to achieve order-of-magnitude speedups over ILP extraction while producing programs comparable to LLVM across our benchmarks. We implement the algorithm in eggcc, a prototype egraph-based compiler for imperative Bril programs and demonstrate that effect-aware extraction is no longer a bottleneck. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-29 in cs.PL). Categorie arXiv: Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2609.31887 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T00:18:31.960Z dalla pagina https://arxiv.org/catchup/cs.PL/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).