English

Automatic Modular Abstractions for Template Numerical Constraints

Logic in Computer Science 2019-03-14 v1 Programming Languages

Abstract

We propose a method for automatically generating abstract transformers for static analysis by abstract interpretation. The method focuses on linear constraints on programs operating on rational, real or floating-point variables and containing linear assignments and tests. Given the specification of an abstract domain, and a program block, our method automatically outputs an implementation of the corresponding abstract transformer. It is thus a form of program transformation. In addition to loop-free code, the same method also applies for obtaining least fixed points as functions of the precondition, which permits the analysis of loops and recursive functions. The motivation of our work is data-flow synchronous programming languages, used for building control-command embedded systems, but it also applies to imperative and functional programming. Our algorithms are based on quantifier elimination and symbolic manipulation techniques over linear arithmetic formulas. We also give less general results for nonlinear constraints and nonlinear program constructs.

Keywords

Cite

@article{arxiv.1005.4844,
  title  = {Automatic Modular Abstractions for Template Numerical Constraints},
  author = {David Monniaux},
  journal= {arXiv preprint arXiv:1005.4844},
  year   = {2019}
}

Comments

final version submitted to LMCS

R2 v1 2026-06-21T15:28:08.212Z