[I2 logo] [RWTH logo] MOVES: Software Modeling and Verification
(Informatik 2)
Computer Science / RWTH / I2 / Teaching / Course / Semantik / 2004
Printer-friendly

Semantics of Programming Languages

Fall 2004/05

Diplomstudiengang Informatik, Masterstudiengang Software Systems Engineering (Theoretical CS, Specialization Subject)

News

26.01.2005
The tutorial on January 31st has to be moved from lecture hall AH II to 5052 (one of the seminar rooms between buildings E1 and E2).
11.01.2005
The lecture on January 25th has to be cancelled. Solutions to exercise sheet 7 should be directly delivered to Markus Schlütter.
28.10.2004
Exercise 7 on the 2nd sheet employs a notation which has not been defined so far: O[[c]] denotes the state transformation which is caused by the statement c, that is, the functional O is defined by
O[[c]](σ) = σ' iff ⟨c,σ⟩ -> σ'.
28.10.2004
Because of the "Fachschaftsvollversammlung", the lecture on November 2nd has to be cancelled. Thus the next lecture will be given on November 9th, after the tutorial on November 8th. Solutions to the exercises should be returned at the institute or directly to the assistant, Markus Schlütter.

Dates

Kind Time Place Start Docent
Lecture Tue 11:30-13:00 AH I 12.10. Noll
Exercises Mon 13:45-15:15 (!) (every two weeks) AH II (!) 25.10. (!) Noll

Contents

Studying the imperative model language WHILE, the most prominent methods for specifying the formal semantics of programming languages are being introduced:
  • The denotational semantics, which defines the input/output relation of a program by means of structural induction,
  • The operational semantics, which describes the execution behaviour of a program, and
  • The axiomatic semantics, which supports the proof of program properties.

Slides

  1. Organization
  2. Introduction (no slides)
  3. Syntax of WHILE
  4. Operational Semantics of WHILE (no slides)
  5. Denotational Semantics of WHILE
  6. Equivalence of Operational and Denotational Semantics (no slides)
  7. Axiomatic Semantics of WHILE
  8. Outlook: Blocks and Procedures
Excursus: Proof by Structural Induction

Exercises

No. Issued Due Presentation Sheet
1 19.10.04 25.10.04 25.10.04 here
2 26.10.04 02.11.04 08.11.04 here
3 09.11.04 16.11.04 22.11.04 here
4 23.11.04 30.11.04 06.12.04 here
5 07.12.04 14.12.04 20.12.04 here
6 21.12.04 11.01.05 17.01.05 here
7 18.01.05 25.01.05 31.01.05 here

Literature

Valid HTML 4.01 Strict! Valid CSS!