Article ID Journal Published Year Pages File Type
421523 Electronic Notes in Theoretical Computer Science 2015 15 Pages PDF
Abstract

This paper presents the implementation of a program transformation that removes square roots and divisions from functional programs without recursion, producing code that can be exactly computed. This transformation accepts different subsets of languages as input and it provides a certifying mechanism when the targeted language is Pvs. In this case, we provide a relation between every function definition in the output code and its corresponding one in the input code, that specifies the behavior of the produced function with respect to the input one. This transformation has been implemented in OCaml and has been tested on different algorithms from the NASA ACCoRD project.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics