Semantical proofs of correctness for programs performing non-deterministic tests on real numbers

  • Authors:
  • Thomas AnberrÉe

  • Affiliations:
  • Division of computer science, university of nottingham in ningbo, china, 199 taikang road east, 315100, ningbo, china email: thomas.anberree@nottingham.edu.cn

  • Venue:
  • Mathematical Structures in Computer Science
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider a functional language that performs non-deterministic tests on real numbers and define a denotational semantics for that language based on Smyth powerdomains. The semantics is only an approximate one because the denotation of a program for a real number may not be precise enough to tell which real number the program computes. However, for many first-order total functions f : n → , there exists a program for f whose denotation is precise enough to show that the program indeed computes the function f. In practice, it is not difficult to find programs like this that possess a faithful denotation. We provide a few examples of such programs and the corresponding proofs of correctness.