Programs are predicates
Authors:
- F. K. HannaFHF. K. Hanna
- 1 October 1984
- journal article
- research article
- Published by The Royal Society in Philosophical Transactions of the Royal Society of London. Series A, Mathematical and Physical Sciences
- Vol. 312 (1522) , 475-489
Abstract
A computer program is identified with the strongest predicate describing every relevant observation that can be made of the behaviour of a computer executing that program. A programming language is a subset of logical and mathematical notations, which is so restricted that products described in the language can be automatically implemented on a computer. The notations enjoy a number of elegant algebraic properties, which can be used for optimizing program efficiency. A specification is a predicate describing all permitted observations of a program, and it may be expressed with greatest clarity by taking advantage of the whole language of logic and mathematics. A program P meets its specification S iff =P=>S. The proof of this implication may use all the classical methods of mathematics and logic. These points are illustrated by design of a small language that includes assignments, conditionals, non-determinism, recursion, input, output, and concurrency.Keywords
This publication has 6 references indexed in Scilit:
- A Theory of Communicating Sequential ProcessesJournal of the ACM, 1984
- Predicative programming Part ICommunications of the ACM, 1984
- Predicative programming Part IICommunications of the ACM, 1984
- A more complete model of communicating processesTheoretical Computer Science, 1983
- A Calculus of Communicating Systems1980
- Assigning meanings to programs1967