Algebraic Approaches to Program Semantics
Author | : Ernest G. Manes |
Publisher | : Springer Science & Business Media |
Total Pages | : 358 |
Release | : 2012-12-06 |
ISBN-10 | : 9781461249627 |
ISBN-13 | : 1461249627 |
Rating | : 4/5 (627 Downloads) |
Download or read book Algebraic Approaches to Program Semantics written by Ernest G. Manes and published by Springer Science & Business Media. This book was released on 2012-12-06 with total page 358 pages. Available in PDF, EPUB and Kindle. Book excerpt: In the 1930s, mathematical logicians studied the notion of "effective comput ability" using such notions as recursive functions, A-calculus, and Turing machines. The 1940s saw the construction of the first electronic computers, and the next 20 years saw the evolution of higher-level programming languages in which programs could be written in a convenient fashion independent (thanks to compilers and interpreters) of the architecture of any specific machine. The development of such languages led in turn to the general analysis of questions of syntax, structuring strings of symbols which could count as legal programs, and semantics, determining the "meaning" of a program, for example, as the function it computes in transforming input data to output results. An important approach to semantics, pioneered by Floyd, Hoare, and Wirth, is called assertion semantics: given a specification of which assertions (preconditions) on input data should guarantee that the results satisfy desired assertions (postconditions) on output data, one seeks a logical proof that the program satisfies its specification. An alternative approach, pioneered by Scott and Strachey, is called denotational semantics: it offers algebraic techniques for characterizing the denotation of (i. e. , the function computed by) a program-the properties of the program can then be checked by direct comparison of the denotation with the specification. This book is an introduction to denotational semantics. More specifically, we introduce the reader to two approaches to denotational semantics: the order semantics of Scott and Strachey and our own partially additive semantics.