Logic in Computer Science — LP1 2010/2011

News

Goals of the course

The goal of the course is to present the fundamental basic notions of logic that are important in computer science. One presents propositional and predicate logic in natural deductions the way it is done in most interactive theorem provers, with a suggestive box notations for proofs. One presents also the basis of model checking and temporal logic (LTL and CTL). One does not cover a detailed proof of completeness theorem for predicate logic (and one gives a sktech of completeness for propositional logic) but what is important is that the students understand well the -meaning- of the various completeness theorems. (On the other hand one gives a proof of undecidability of predicate logic via Post systems.) In the same spirit, one does not present complete proofs of decidability for LTL and CTL but one presents in detail the fixed-point semantics of CTL.

The content of the course is roughly the 3 first chapters of Huth and Ryan "Logic in Computer Science".

There are some slides motivating the course.

Text Book

This course use Logic in Computer Science by Michael Huth and Mark Ryan.

Schema

Changes:

The letcure 21 September is swapped with the exercise 24 September; i.e., there is an exercise session Tuesday 21 September 13.15-15.00 in HB2 and Lecture Friday 24 September 10.00-11.45 in HB3.
Lectures
First week, Wednesday 1st of September 10:00-11:45 HA3 and 13:15-14:00 HA1
Otherwise Tuesday 13.15 - 15:00 in HB2 and Wednesday 10:00 - 11:45 in HA3.
Exercice Sessions
Friday 10:00-11:45 in HB3.

Plan for the lectures

Week Tuesday Wednesday Chapters Topics Exercises
1 1 sep 1 sep 1.1, 1.2 Propositional logic, natural deduction Week 1
2 7 sep 8 sep 1.3, 1.4, 1.5 formal language, proof by induction, semantics, normal form Week 2
3 14 sep 15 sep 2.1, 2.2 Predicate logic as a formal language Week 3
4 21 sep 22 sep 2.3,2.4 Semantics of predicate logic Week 4
5 28 sep 29 sep 2.5, 2.6, 3.1, 3.2 Undecidability, expressivity of predicate logic; Model checking Week 5
6 5 oct 6 oct 3.3, 3.4, 3.5, 3.6 LTL, CTL Week 6
7 12 oct 13 oct 3.7 Algorithms, fixed-point characterisation, repetition Week 7

Exam

No books or written help during the exam.

Exercises

Here is a list of exercices from a previous year, some with comments. Since time is short there are no guarentees that all exercises will be covered during the exercise session on Fridays. Exercises marked with a * in the text book have solutions.

Interesting links

Communications

Feel free to contact Jan Smith, Thierry Coquand or/and HÃ¥kan Burden in case you have any questions or problems. Almost everything you get in the class is available electronically. Send me a request if you have missed some stuff.