ACM Home Page
Please provide us with feedback. Feedback
Side effects and aliasing can have simple axiomatic descriptions
Full text PdfPdf (1.37 MB)
Source ACM Transactions on Programming Languages and Systems (TOPLAS) archive
Volume 7 ,  Issue 4  (October 1985) table of contents
Pages: 637 - 655  
Year of Publication: 1985
ISSN:0164-0925
Author
Hans-Juergen Boehm  Univ. of Washington, Seattle
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 0,   Downloads (12 Months): 29,   Citation Count: 7
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/4472.4474
What is a DOI?

ABSTRACT

We present a different style of axiomatic definition for programming languages. It is oriented toward imperative languages, such as Algol 68, that do not distinguish between statements and expressions. Rather than basing the logic on a notion of pre- or postcondition, we use the value of a programming language expression as the underlying primitive. A number of language constructs are examined in this framework. We argue that this style of definition gives us a significantly different view of the notion of “easy axiomatixability.” Side effects in expressions as well as aliasing between variables are shown to be “easily axiomatizable” in our system.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
 
3
BOEHM, H.-J., DEMERS, A., AND DONAHUE, J. A programmer's introduction to Russell. Tech. Rep. 85-16, Dept. of Computer Science, Rice Univ., 1985. See also {12}.
 
4
BOYER, R. S., ANO STROTHER MOORE, J. A Computational Logic. Academic Press, New York, 1979.
 
5
BROOKES, S.D. A fully abstract semantics and a proof system for an Algol-like language with sharing. Tech. Rep. CMU-CS-84-118A, Dept. of Computer Science, Carnegie-Mellon Univ., Feb. 1985.
 
6
CARTWRIGHT, R., AND OPPEN, D. The logic of aliasing. Acta Inf. 15 (1981), 365-384.
7
8
 
9
CONSTABLE, R. L., AND O'DONNELL, M.J. A Programming Logic. Winthrop, Cambridge, 1978.
 
10
COOK, S. Soundness and completeness of an axiom system for program verification. Tech. Rep. 95, Dept. of Computer Science, Univ. of Toronto, June 1976.
 
11
CUNNINGHAM, R. J., ANO GILFORD, M. E.J. A note on the semantic definition of side effects. Inf. Process. Lett. 4, 5 (Feb. 1976), 118-120.
 
12
DEMERS, A. J., ANO DONAHUE, J. E. Data types are values. Tech. Rep. 79-393, Dept. of Computer Science, Cornell Univ., 1979.
 
13
14
 
15
 
16
17
18
 
19
 
20
KOWALTOWSKI, T. Axiomatic approach to side effects and general jumps. Acta Inf. 7, 4 (1977), 357-360.
 
21
McCARTHY, J. A basis for a mathematical theory of computation. In Computer Programming and Formal Systems, P. Braffort and D. Hirschberg, Eds., North-Holland, Amsterdam, 1963. See also {24}.
 
22
MIRKOWSKA, G. On formalized systems of algorithmic logic. Bull. de L'Academie Polonaise des Sciences, Serie des Sciences Math., Astr. et Phys. 19, 6 (1971), 421-428.
23
 
24
PARK, D. Fixpoint induction and proofs of program properties. Mach. lntell. 5, American Elsevier, New York, 1970, 59-78.
25
 
26
PRITCHARD, P. Program proving--expression languages. In Information Processing 77, North- Holland, Amsterdam, 1977, 727-731. For more details see: An axiomatic semantics for expression languages. Thesis, Australian National Univ., Nov. 1979. Available as a joint technical report from the Computer Science Depts. at the Australian National Univ. (TR-CS-80-11) and the Univ. of Queensland (TR-20).
 
27
SCHWARTZ, R.L. An axiomatic treatment of asynchronous processes in Algol 68. Preliminary draft. More details can be found in: An axiomatic semantic definition of Algol 68, Computer Science Dept., UCLA-34P214-75, Univ. of California, Los Angeles, July 1978.
 
28
VAN WIJNGAARDEN, A., MAILLOUX, B. J., PECK, J. E. L., KOSTER, C. H. A., SINTZOr~, M., LINDSEY, C. H., MEERTENS, L. G. L. T., AND FISKER, R.G. Revised report on the algorithmic language Algol 68. Acta Inf. 5, 1-3 (1975), 1-236.
 
29
WULr, W. A., ET AL. BLISS-11 Programmer's Manual. Digital Equipment Corp., Maynard, Mass., 1972.

CITED BY  7


REVIEW

"Frank George Pagan : Reviewer"

The axiomatic approach to the formal definition of programming language semantics was founded by Hoare [1] and has been extended and refined over the years by numerous people. The author argues that the well-known difficulties pertaining to the   more...