Lune

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Better Together: Unifying Datalog and Equality Saturation cites Synthesizing structured CAD models with equality saturation and inverse transformations
  • Better Together: Unifying Datalog and Equality Saturation cites Relational e-matching
  • Better Together: Unifying Datalog and Equality Saturation cites egg: Fast and extensible equality saturation
  • Relational e-matching cites Synthesizing structured CAD models with equality saturation and inverse transformations
  • Relational e-matching cites egg: Fast and extensible equality saturation
  • egg: Fast and extensible equality saturation cites Synthesizing structured CAD models with equality saturation and inverse transformations
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on13

  1. egg: Fast and extensible equality saturationMax Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt et al.POPL 2021 · 170 citations
  2. Synthesizing structured CAD models with equality saturation and inverse transformationsChandrakana Nandi, Max Willsey, Adam Anderson, James R. Wilcox et al.PLDI 2020 · 65 citations
  3. Better Together: Unifying Datalog and Equality SaturationYihong Zhang, Yisu Remy Wang, Oliver Flatt, David Cao et al.PLDI 2023 · 38 citations
  4. Abstract extensionality: on the properties of incomplete abstract interpretationsRoberto Bruni, Roberto Giacobazzi, Roberta Gori, Isabel Garcia-Contreras et al.POPL 2020 · 27 citations
  5. Relational e-matchingYihong Zhang, Yisu Remy Wang, Max Willsey, Zachary TatlockPOPL 2022 · 12 citations

Related papers

  1. Graph UnlearningMin Chen, Zhikun Zhang, Tianhao Wang, Michael Backes et al.CCS 2022 · 103 citations
  2. Recall Distortion in Neural Network Pruning and the Undecayed Pruning AlgorithmAidan Good, Jiaqi Lin, Xin Yu, Hannah Sieg et al.NeurIPS 2022 · 15 citations
  3. CDMAD: Class-Distribution-Mismatch-Aware Debiasing for Class-Imbalanced Semi-Supervised LearningHyuck Lee, Heeyoung KimCVPR 2024
  4. Optimal Metric-Aware Class Rebalancing in Federated LearningSihao Lv, Zian Le, Mingyang Zhou, Hao Liao et al.KDD 2026
  5. LCGC: Learning from Consistency Gradient Conflicting for Class-Imbalanced Semi-Supervised DebiasingWeiwei Xing, Yue Cheng, Hongzhu Yi, Xiaohui Gao et al.AAAI 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines