@techreport{dar-kun-12-aa-solneq-tr, author = {Darulov{\'a}, Eva and Kuncak, Viktor}, title = {On the Automatic Computation of Error Bounds for Solutions of Nonlinear Equations}, institution = {{\'E}cole Politecnique F{\'e}d{\'e}rale de Lausanne}, year = 2012, month = jun, location = {Lausanne, CH}, number = {177989}, pages = {15}, url = {https://infoscience.epfl.ch/record/177989}, comment = {Static analysis of FP roudoff errors. Handles conditionals and some loops. Uses AA but seems to say that one can do better.}, abstract = {A large portion of software is used for numerical calculations in mathematics, physics and engineering applications. Among the things that make verification in this domain difficult is the quantification of numerical errors, such as roundoff errors and errors due to the approximate numerical method. Much of numerical software uses self-stabilizing iterative algorithms, for example, to find solutions of nonlinear equations. To support such algorithms, we present a runtime verification technique that checks, given a nonlinear equation and a tentative solution, whether this value is indeed a solution to within a specified precision. Our technique combines runtime verification approaches with information about the analytical equation being solved. It is independent of the algorithm used for finding the solution and is therefore applicable to a wide range of problems. We have implemented our technique for the Scala programming language using our affine arithmetic library and the macro facility of Scala 2.10.} }