A Formal Proof of Square Root and Division Elimination in Embedded Programs
Keywords:Program Transformation, Arithmetic, Embedded Systems
AbstractThe use of real numbers in a program can introduce differences between the expected and the actual behavior of the program, due to the finite representation of these numbers. Therefore, one may want to define programs using real numbers such that this difference vanishes. This paper defines a program transformation for a certain class of programs that improves the accuracy of the computations on real number representations by removing the square root and division operations from the original program in order to enable exact computation with addition, multiplication and subtraction. This transformation is meant to be used on embedded systems, therefore the produced programs have to respect constraints relative to this kind of code. In order to ensure that the transformation is correct, i.e. preserves the semantics, we also aim at specifying and proving this transformation using the PVS proof assistant.
How to Cite
Neron, P. (2013). A Formal Proof of Square Root and Division Elimination in Embedded Programs. Journal of Formalized Reasoning, 6(1), 89–111. https://doi.org/10.6092/issn.1972-5787/3887
Copyright (c) 2013 Pierre Neron
Copyrights and publishing rights of all the texts on this journal belong to the respective authors without restrictions.
This journal is licensed under a Creative Commons Attribution 3.0 Unported License (full legal code).
See also our Open Access policy