Departmental/CECM Colloquium

April 16, 2003 in K9509, SFU

3:30 - 4:30
Richard Fateman (Berkeley)

Title: "High-level Proofs of Mathematical Programs Using Automatic Differentiation, Simplification, and some Common Sense."

Abstract: One problem in applying elementary methods to prove correctness of interesting scientific programs is the large discrepancy in level of discourse between low-level proof methods and the logic of scientific calculation, especially that used in a complex numerical program. The justification of an algorithm typically relies on algebra or analysis, but the correctness of the program requires that the arithmetic expressions are written correctly and that iterations converge to correct values in spite of truncation of infinite processes and the commission of roundoff errors. We hope to help bridge this gap by showing how we can, in some cases, state a high-level requirement and by using a computer algebra system (CAS) demonstrate that a program satisfies that requirement. A CAS can contribute program manipulation, partial evaluation, simplification or other algorithmic methods. A novelty here is we add to the usual list of techniques algorithm differentiation, a method already widely used in different contexts (usually optimization), to those used already for program proofs.

We sketch a proof of a numerical program to compute sine, and display a similar approach to a recursive version of a Bessel function algorithm for J_0(x).