Hide menu

TDDD08 Logic Programming

Lectures

Subject to modifications and alignments.
The linked files may be corrected/updated without notice. (Cf. the version number and the automatically generated compilation date.) The linked slides are in a form for printing (4 slides per page). Their original form (with hyperlinks) may be found in the same directory.
#1 Practical matters, objectives, introduction to logic programming
Handouts: [introduction], [puzzle solving program with a fragment of a trace], [transforming expressions into postfix form program], [grandchild/2 and similar predicates]
#2 Definite logic programs, declarative semantics (includes 1st order logic, repetition)
Handouts: [declarative semantics].
#3,4 Unification. Operational semantics.
#5,6 Introduction to Prolog. Example programs.
#6 Herbrand interpretations
#7,8 Program correctness.
Declarative diagnosis.
#8 Difference lists. Definite Clause Grammars (DCGs)
#9,10 Constraints (Ch 14 and a supplementary chapter of [Nilsson,Maluszynski])
#10,#11 Negation
#11,#12 Negation, general programs. Final comments.
Extra: control in Prolog, on termination of definite programs, a note on occur check
Lectures of 2015

Page responsible: Wlodek Drabent
Last updated: 2016-08-28