A new abstract domain for the representation of mathematically equivalent expressions

  • Authors:
  • Arnault Ioualalen;Matthieu Martel

  • Affiliations:
  • Architectures et Logiciels Informatiques, Univ. Perpignan Via Domitia, Digits, Perpignan, France, Lab. d'Informatique Robotique et de Microélect. de Montpellier, Univ. Montpellier II, France, ...;Architectures et Logiciels Informatiques, Univ. Perpignan Via Domitia, Digits, Perpignan, France, Lab. d'Informatique Robotique et de Microélect. de Montpellier, Univ. Montpellier II, France, ...

  • Venue:
  • SAS'12 Proceedings of the 19th international conference on Static Analysis
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Exact computations being in general not tractable for computers, they are approximated by floating-point computations. This is the source of many errors in numerical programs. Because the floating-point arithmetic is not intuitive, these errors are very difficult to detect and to correct by hand and we consider the problem of automatically synthesizing accurate formulas. We consider that a program would return an exact result if the computations were carried out using real numbers. In practice, roundoff errors arise during the execution and these errors are closely related to the way formulas are written. Our approach is based on abstract interpretation. We introduce Abstract Program Equivalence Graphs (APEGs) to represent in polynomial size an exponential number of mathematically equivalent expressions. The concretization of an APEG yields expressions of very different shapes and accuracies. Then, we extract optimized expressions from APEGs by searching the most accurate concrete expressions among the set of represented expressions.