Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Term transformers: a new approach to state
Morris J., Bunkenburg A., Tyrrell M. ACM Transactions on Programming Languages and Systems31 (4):1-42,2009.Type:Article
Date Reviewed: Aug 20 2009

I hope the ideas in this paper will lead to clearer languages and documentation. All language reference manuals use some kind of Backus-Naur form (BNF) grammar to define syntax. Hardly any provide formal semantics. People have proposed operational, axiomatic, and denotational methods. None has become popular. This paper extends Dijkstra’s work on predicate transformers. These are a form of axiomatic semantics. They help programmers construct correct programs. This paper extends predicate transformers to work on general expressions or terms. For example, an assignment such as x:=x+1; has a term transformer that maps the expression x × y into (x+1) × y.

This paper presents a logic of phrases that includes term transformers. It attempts to explain the theory. The confusing initial examples do not help. Delayed definitions make it even worse. For example, defining T as including the maps T→T allows paradoxes. But this possibility is excluded in an appendix where the maps must be monotonic. The middle of the paper proves results. The appendices state the axioms. Readers need to understand Dijkstra’s work, the lambda calculus, and formal logic. Perhaps they should start with the appendices. Farmer and von Mohrenschildt [1] define a different kind of term transformer using von Neumann-Bernays-Gödel set theory. They aim to improve theorem provers. They do not develop them in the direction of semantics. Somebody should introduce these two teams of researchers. Term transformers are worthy of study and application. These papers are a good start. Morris et al. promise a sequel, applying them to define a real language.

Reviewer:  Richard Botting Review #: CR137220 (1004-0396)
1) Farmer, W.M.; v. Mohrenschildt, M.; Transformers for symbolic computation and formal deduction, Presentation at Workshop on the Role of Automated Deduction in Mathematics, CADE-17, Carnegie Mellon University, Pittsburgh, Pennsylvania, June 20-21, 2000, http://imps.mcmaster.ca/doc/transformers.pdf.
Bookmark and Share
  Editor Recommended
Featured Reviewer
 
 
Logics Of Programs (F.3.1 ... )
 
 
Correctness Proofs (D.2.4 ... )
 
 
Semantics (D.3.1 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Logics Of Programs": Date
Weak logic theory
Holden M. Theoretical Computer Science 79(2): 295-321, 1991. Type: Article
Mar 1 1992
Completing the temporal picture
Manna Z., Pnueli A. (ed) Theoretical Computer Science 83(1): 97-130, 1991. Type: Article
Apr 1 1992
Partial correctness: the term-wise approach
Sokolowski S. Science of Computer Programming 4(2): 141-157, 1984. Type: Article
Mar 1 1985
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy