A Quest for Exactness: Program Transformation for Reliable Real Numbers

This thesis presents an algorithm that eliminates square root and division operations in some straight-line programs used in embedded systems while preserving the semantics. Eliminating these two operations allows to avoid errors at runtime due to rounding. These errors can lead to a completely unexpected behavior from the program. This transformation respects the constraints of embedded systems, such as the need for the program to be executed in a fixed size memory. The transformation uses two fundamental algorithms developed in this thesis. The first one allows to eliminate square roots and divisions from Boolean expressions built with comparisons of arithmetic expressions. The second one is an algorithm that solves a particular anti-unification problem, that we call constrained anti-unification. This program transformation is defined and proven in the PVS proof assistant. It is also implemented as a strategy for this system. Con- strained anti-unification is also used to extend this transformation to programs containing functions. It allows to eliminate square roots and divisions from PVS specifications. Robustness of this method is highlighted by a major example: the elimination of square roots and divisions in a conflict detection algorithm used in aeronautics.

Data and Resources

Additional Info

Field Value
Source https://pastel.hal.science/pastel-00960808
Author Neron, Pierre
Maintainer CCSD
Last Updated May 6, 2026, 00:09 (UTC)
Created May 6, 2026, 00:09 (UTC)
Identifier pastel-00960808
Language en
Rights https://about.hal.science/hal-authorisation-v1/
contributor Deduction modulo, interopérabilité et démonstration automatique (DEDUCTEAM) ; Inria Paris-Rocquencourt ; Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)
creator Neron, Pierre
date 2013-10-04T00:00:00
harvest_object_id 3da6b044-f390-449a-a471-f4e60067eb96
harvest_source_id 3374d638-d20b-4672-ba96-a23232d55657
harvest_source_title test moissonnage SELUNE
metadata_modified 2025-08-12T00:00:00
set_spec type:THESE