AADT: Abstract Abstract Data Types
Julien Simonnet, Matthieu Lemerre, Mihaela Sighireanu
Key points
From the paper's conclusion- We introduce open lattices and abstract abstract datatypes (AADT), a new foundation for building precise and reusable abstract domains for structured values.
Abstract
Proving properties of programs that manipulate compound data structures requires both disjunctive reasoning (e.g., a pointer may target different arrays) and relational reasoning. Existing abstract interpreters struggle to combine both: non-relational designs support modular composition of abstract domains but lose relations, while assignment-based relational designs capture relations but hinder modularity and reuse. We introduce open lattices and abstract abstract datatypes (AADT), a new foundation for building precise and reusable abstract domains for structured values. Open lattices generalize classical lattices by introducing shared symbolic values constrained by an abstract valuation domain, enabling relational reasoning across independently defined abstractions. AADTs are compositional transformers over open lattices that mirror the structure of concrete data types: addresses, records, unions, variants, arrays, and their arbitrary nesting. Because each AADT closely follows the concrete datatype definition, abstract domain operations are modular and easy to reuse or extend. Most AADT transformers that we provide are exact: when the abstract valuation domain is exact, the resulting abstraction is a precise translation of the concrete semantics. This enables applications beyond static analysis, such as counter-example generation. We formalize open lattices and AADTs, present key instances, and implement them in a framework for the analysis of C and binary programs. Our experiments show precision gains over state-of-the-art abstract interpreters, while maintaining comparable analysis times.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Infinitary Relational LogicProceedings of the ACM on Programming Languages · 2026
- A Unifying Metatheorem on Weak-Memory RobustnessarXiv · 2026
- Kukicha -- Efficient Yet Powerful Refinement Types for Object-Oriented LanguagesFormal Aspects of Computing · 2026
- Decoupling Data Layouts from Algebraic Data TypesarXiv · 2026
- Weighted NetKAT: A Programming Language for Quantitative Network VerificationProceedings of the ACM on Programming Languages · 2026
- Compositional Symbolic Execution \`a la Carte (Extended Version)arXiv · 2026