Lune

PLDI2024Top-tier venue

Compiling with Abstract Interpretation

Dorian Lesbre, Matthieu Lemerre

Abstract

Rewriting and static analyses are mutually beneficial techniques: program transformations change the inten- sional aspects of the program, and can thus improve analysis precision, while some efficient transformations are enabled by specific knowledge of some program invariants. Despite the strong interaction between these techniques, they are usually considered distinct. In this paper, we demonstrate that we can turn abstract interpreters into compilers, using a simple free algebra over the standard signature of abstract domains. Functor domains correspond to compiler passes, for which soundness is translated to a proof of forward simulation, and completeness to backward simulation. We achieve translation to SSA using an abstract domain with a non-standard SSA signature. Incorporating such an SSA translation to an abstract interpreter improves its precision; in particular we show that an SSA-based non-relational domain is always more precise than a standard non-relational domain for similar time and memory complexity. Moreover, such a domain allows recovering from precision losses that occur when analyzing low-level machine code instead of source code. These results help implement analyses or compilation passes where symbolic and semantic methods simultaneously refine each other, and improves precision when compared to doing the passes in sequence.

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.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Relational Abstractions Based on Labeled Union-Find cites SSA Translation Is an Abstract Interpretation
  • Optimism in Equality Saturation cites Relational Abstractions Based on Labeled Union-Find
  • Optimism in Equality Saturation cites SSA Translation Is an Abstract Interpretation
  • Optimism in Equality Saturation cites Abstract extensionality: on the properties of incomplete abstract interpretations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Relational Abstractions Based on Labeled Union-FindDorian Lesbre, Matthieu Lemerre, Hichem Rami Ait El Hara, François BobotPLDI 2025 · 3 citations
  2. Optimism in Equality SaturationRussel Arbore, Alvin Cheung, Max WillseyPLDI 2026
  3. A Categorical Basis for Robust Program AnalysisZachary Kincaid, Shaowei ZhuPLDI 2026

Builds on2

  1. Abstract extensionality: on the properties of incomplete abstract interpretationsRoberto Bruni, Roberto Giacobazzi, Roberta Gori, Isabel Garcia-Contreras et al.POPL 2020 · 27 citations
  2. SSA Translation Is an Abstract InterpretationMatthieu LemerrePOPL 2023 · 7 citations

Related papers

  1. Program analysis via efficient symbolic abstractionPeisen Yao, Qingkai Shi, Heqing Huang, Charles ZhangOOPSLA 2021 · 12 citations
  2. SNIP: Speculative Execution and Non-Interference Preservation for Compiler TransformationsSören van der Wall, Roland MeyerPOPL 2025 · 7 citations
  3. Monotonicity and the Precision of Program AnalysisMarco Campion, Mila Dalla Preda, Roberto Giacobazzi, Caterina UrbanPOPL 2024 · 1 citation
  4. Synthesizing abstract transformersPankaj Kumar Kalita, Sujit Kumar Muduli, Loris D'Antoni, Thomas W. Reps et al.OOPSLA 2022 · 21 citations
  5. Nice to Meet You: Synthesizing Practical MLIR Abstract TransformersXuanyu Peng, Dominic Kennedy, Yuyou Fan, Ben Greenman et al.POPL 2026
Dusk over the sea between two cliffs drawn in fine vertical lines