arXiv · 2406.16063
Optimal matching for sharing and linearity analysis
Abstract
Static analysis of logic programs by abstract interpretation requires designing abstract operators which mimic the concrete ones, such as unification, renaming and projection. In the case of goal-driven analysis, where goal-dependent semantics are used, we also need a backward-unification operator, typically implemented through matching. In this paper we study the problem of deriving optimal abstract matching operators for sharing and linearity properties. We provide an optimal operator for matching in the domain ${\mathtt{ShLin}^{\omega}}$, which can be easily instantiated to derive optimal operators for the domains ${\mathtt{ShLin}^{2}}$ by Andy King and the reduced product $\mathtt{Sharing} \times \mathtt{Lin}$.
Explore related subjects
Keep this discovery
Gianluca Amato, Francesca Scozzari. 2024-06-23. Optimal matching for sharing and linearity analysis. https://doi.org/10.1017/s1471068424000152
Cite the original work for its findings. Save a collection to share your selection of sources.