Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Syntax and Semantics
[go: Go Back, main page]


Syntax and Semantics

Lecture 14


Syntax and Semantics

Topics

This lecture will be devoted to a short introduction to a complex topic. I shall attempt to give the flavour of the process of program verification, without getting bogged down in the many details that are involved in actually constructing rigorous proofs of program properties. I strongly believe that an understanding of what is involved in the formal verification of programs is useful in informal reasoning about programs, and the most important thing to carry away from this lectures is simply a feeling for what is involved in such formal reasoning. Moreover, the topic that we shall cover, viz. partial and total correctness of programs, has strong connections with your everyday programming experience --- especially programming in groups. You will recognize familiar concepts like pre- and post-conditions, and loop invariants, which have origin in the formal treatment of partial correctness assertions given by pioneers like Floyd and Hoare.

In this lecture, we shall begin by introducing the basic program verification paradigm and reasoning about straight-line code. We shall then discuss programs containing if statements and while loops.

Time and Location

Monday, 13 December, 2004 at 9:00 in room 303.

Reading Material

Exercises

Try to discover appropriate loop invariants yourselves!


Luca Aceto, Institute of Computer Science, Aalborg University.
Last modified: Thursday, 02-Dec-2004 13:38:41 CET.