{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T11:07:40Z","timestamp":1790075260266,"version":"4.0.1"},"reference-count":63,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T00:00:00Z","timestamp":1780876800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["IIS-1955488"],"award-info":[{"award-number":["IIS-1955488"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["IIS-2027575"],"award-info":[{"award-number":["IIS-2027575"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000015","name":"DOE U.S. Department of Energy","doi-asserted-by":"publisher","award":["DE-SC0016260"],"award-info":[{"award-number":["DE-SC0016260"]}],"id":[{"id":"10.13039\/100000015","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000015","name":"DOE U.S. Department of Energy","doi-asserted-by":"publisher","award":["AC02-05CH11231"],"award-info":[{"award-number":["AC02-05CH11231"]}],"id":[{"id":"10.13039\/100000015","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100006502","name":"Defense Sciences Office, DARPA","doi-asserted-by":"publisher","award":["HR00112590131"],"award-info":[{"award-number":["HR00112590131"]}],"id":[{"id":"10.13039\/100006502","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,6,8]]},"abstract":"<jats:p>Equality saturation is a program optimization technique based on non-destructive rewriting and a form of abstract interpretation called e-class analysis. Existing e-class analyses are pessimistic and therefore typically imprecise when analyzing cyclic programs, such as those in SSA form. We show that a straightforward optimistic variant of e-class analysis can result in unsoundness, due to a subtlety in how e-graphs represent programs. We propose an abstract interpretation algorithm that circumvents this issue and can optimistically analyze e-graphs during equality saturation. This results in a unified algorithm for optimistic analysis and non-destructive rewriting. We implement a prototype abstract interpreter and equality saturation tool for SSA programs. Our tool exhibits precision improvements over pure abstract interpretation (without rewriting) and pessimistic e-class analysis on example programs. Additionally, its performance is comparable to existing abstract interpretation and e-class analysis techniques.<\/jats:p>","DOI":"10.1145\/3808302","type":"journal-article","created":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T18:04:09Z","timestamp":1780941849000},"page":"1383-1406","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Optimism in Equality Saturation"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0003-8700-0846","authenticated-orcid":false,"given":"Russel","family":"Arbore","sequence":"first","affiliation":[{"name":"University of California, Berkeley, Berkeley, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6261-6263","authenticated-orcid":false,"given":"Alvin","family":"Cheung","sequence":"additional","affiliation":[{"name":"University of California, Berkeley, Berkeley, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8066-4218","authenticated-orcid":false,"given":"Max","family":"Willsey","sequence":"additional","affiliation":[{"name":"University of California, Berkeley, Berkeley, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,8]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","DOI":"10.1145\/73560.73561"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","unstructured":"Russel Arbore Alvin Cheung and Max Willsey. 2026. Artifact for \"Optimism in Equality Saturation\" (PLDI 2026). doi:10.5281\/zenodo.19581777","DOI":"10.5281\/zenodo.19581777"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0039704"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371096"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/3669940.3707262"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30579-8_11"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/201059.201061"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/202529.202534"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.129.19"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/512950.512973"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/567752.567778"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/512760.512770"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/3589250.3596144"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","unstructured":"Samuel Coward Theo Drane and George A. Constantinides. 2024. ROVER: RTL Optimization via Verified E-Graph Rewriting. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (2024) 1\u20131. doi:10.1109\/TCAD.2024.3410154","DOI":"10.1109\/TCAD.2024.3410154"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3178372.3179503"},{"key":"e_1_3_1_18_2","first-page":"1","volume-title":"SAS 2025 \u2013 32nd Static Analysis Symposium","author":"Drewery Alexandre","year":"2025","unstructured":"Alexandre Drewery, Thomas Jensen, and David Pichardie. 2025. Contextual Equality Saturation. In SAS 2025 \u2013 32nd Static Analysis Symposium. Singapore, Singapore, 1\u201326. https:\/\/inria.hal.science\/hal-05226543"},{"key":"e_1_3_1_19_2","unstructured":"Chris Fallin. 2023. \u00e6graphs: Acyclic E-graphs for Efficient Optimization in a Production Compiler. https:\/\/pldi23.sigplan.org\/details\/egraphs-2023-papers\/2\/-graphs-Acyclic-E-graphs-for-Efficient-Optimization-in-a-Production-Compiler"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/3704882"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/3689801"},{"key":"e_1_3_1_22_2","unstructured":"Tyler Hou Shadaj Laddad and Joseph M. Hellerstein. 2025. Towards Relational Contextual Equality Saturation. arXiv:2507.11897 [cs.PL] https:\/\/arxiv.org\/abs\/2507.11897"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF00290339"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF00268497"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2004.1281665"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1109\/CGO51591.2021.9370308"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/3571258"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/503272.503298"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3656392"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3729298"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/1363686.1363736"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.5555\/645774.668110"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.5555\/647171.718313"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10990-006-8609-1"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-73595-3_13"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3649837"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3386012"},{"key":"e_1_3_1_38_2","volume-title":"Ph. D. Dissertation","author":"Charles Gregory Nelson","year":"1980","unstructured":"Charles Gregory Nelson. 1980. Techniques for program verification. Ph. D. Dissertation. Stanford, CA, USA. AAI8011683."},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1145\/357073.357079"},{"key":"e_1_3_1_40_2","first-page":"1","volume-title":"Proceedings of the 2001 Symposium on JavaTM Virtual Machine Research and Technology Symposium \u2013 Volume 1 (Monterey, California) (JVM\u201901)","author":"Paleczny Michael","year":"2001","unstructured":"Michael Paleczny, Christopher Vick, and Cliff Click. 2001. The java hotspotTM server compiler. In Proceedings of the 2001 Symposium on JavaTM Virtual Machine Research and Technology Symposium \u2013 Volume 1 (Monterey, California) (JVM\u201901). USENIX Association, USA, 1."},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2737959"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.5555\/3002539"},{"key":"e_1_3_1_43_2","unstructured":"Amit Sabne. 2020. XLA : Compiling Machine Learning for Peak Performance."},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10990-010-9062-8"},{"key":"e_1_3_1_45_2","unstructured":"Taylor Simpson Keith Cooper and L. Simpson. 1997. SCC-based value numbering. (02 1997)."},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2738000"},{"key":"e_1_3_1_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009885"},{"key":"e_1_3_1_48_2","unstructured":"Eytan Singher and Shachar Itzhaky. 2023. Colored E-Graph: Equality Reasoning with Conditions. arXiv:2305.19203 [cs.PL] https:\/\/arxiv.org\/abs\/2305.19203"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","unstructured":"Eytan Singher and Shachar Itzhaky. 2024. Easter Egg: Equality Reasoning Based on E-Graphs with Multiple Assumptions. In 2024 Formal Methods in Computer-Aided Design (FMCAD). 70\u201383. doi:10.34727\/2024\/isbn.978-3-85448-065-5_13","DOI":"10.34727\/2024\/isbn.978-3-85448-065-5_13"},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-22110-1_59"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ICDT.2025.11"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/1594834.1480915"},{"key":"e_1_3_1_53_2","unstructured":"Todd Veldhuizen and Jeremy Siek. 2003. On Combining Program Improvers. (04 2003)."},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","unstructured":"Harishankar Vishwanathan Matan Shachnai Srinivas Narayana and Santosh Nagarakatte. 2022. Sound Precise and Fast Abstract Interpretation with Tristate Numbers. In 2022 IEEE\/ACM International Symposium on Code Generation and Optimization (CGO). 254\u2013265. doi:10.1109\/CGO53902.2022.9741267","DOI":"10.1109\/CGO53902.2022.9741267"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.14778\/3407790.3407799"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1145\/103135.103136"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/3434304"},{"key":"e_1_3_1_58_2","unstructured":"Yichen Yang Phitchaya Mangpo Phothilimtha Yisu Remy Wang Max Willsey Sudip Roy and Jacques Pienaar. 2021. Equality Saturation for Tensor Graph Superoptimization. In Proceedings of Machine Learning and Systems. arXiv:2101.01332"},{"key":"e_1_3_1_59_2","doi-asserted-by":"crossref","unstructured":"Jiaqi Yin Zhan Song Chen Chen Yaohui Cai Zhiru Zhang and Cunxi Yu. 2025. e-boost: Boosted E-Graph Extraction with Adaptive Heuristics and Exact Solving. arXiv preprint arXiv:2508.13020 (2025).","DOI":"10.1109\/ICCAD66269.2025.11240719"},{"key":"e_1_3_1_60_2","unstructured":"Yihong Zhang. 2022. PLDI: U: Towards a Relational E-graph. https:\/\/api.semanticscholar.org\/CorpusID:250122313"},{"key":"e_1_3_1_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591239"},{"key":"e_1_3_1_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498696"},{"key":"e_1_3_1_63_2","unstructured":"Philip Zucker. 2024. Co-Egraphs: Streams Unification PEGs Rational Lambdas. https:\/\/www.philipzucker.com\/coegraph\/"},{"key":"e_1_3_1_64_2","unstructured":"Philip Zucker. 2025. Omelets Need Onions: E-graphs Modulo Theories via Bottom-up E-matching. arXiv:2504.14340 [cs.PL] https:\/\/arxiv.org\/abs\/2504.14340"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808302","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808302","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T10:45:20Z","timestamp":1790073920000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808302"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,8]]},"references-count":63,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2026,6,8]]}},"alternative-id":["10.1145\/3808302"],"URL":"https:\/\/doi.org\/10.1145\/3808302","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,8]]},"assertion":[{"value":"2025-11-13","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-03","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-06-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}