Semantics of a sequential language for exact real-number computation
Research output: Contribution to journal › Article
Colleges, School and Institutes
We study a programming language with a built-in ground type for real numbers. In order for the language to be sufficiently expressive but still sequential, we consider a construction proposed by Boehm and Cartwright. The non-deterministic nature of the construction suggests the use of powerdomains in order to obtain a denotational semantics for the language. We show that the construction cannot be modelled by the Plotkin or Smyth powerdomains, but that the Hoare powerdomain gives a computationally adequate semantics. As is well known, Hoare semantics can be used in order to establish partial correctness only. Since computations on the reals are infinite, one cannot decompose total correctness into the conjunction of partial correctness and termination as is traditionally done. We instead introduce a suitable operational notion of strong convergence and show that total correctness can be proved by establishing partial correctness (using denotational methods) and strong convergence (using operational methods). We illustrate the technique with a representative example. (c) 2007 Elsevier B.V. All rights reserved.
|Number of pages||22|
|Journal||Theoretical Computer Science|
|Publication status||Published - 1 Jun 2007|
- sequential computation, PCF, semantics, exact real-number computation, non-determinism