Warning
This page is located in archive.

LUP – Logical reasoning and programming

This page provides information for the class B4M36LUP - Logické usuzování a programování as well as its English-language counterpart BE4M36LUP - Logical reasoning and programming, which are taught jointly. The lectures are held in English unless all participants speak Czech.

The course's aim is to explain selected significant methods of computational logic. These include algorithms for propositional satisfiability checking, first-order theorem proving and model-finding, and logical programming in Prolog,. Time permitting, we will also discuss some complexity and decidability issues pertaining to the said methods.

Lecturers: Karel Chvalovský, Ondřej Kuželka

Lab instructors: Karel Chvalovský, Jan Tóth

Course supervisor: Filip Železný

Lectures

The materials from the previous iteration of this course are available here.

Date Lecturer Topic Resources
1 25.9. Chvalovský Introduction and propositional logic (recap) slides
2 2.10. Chvalovský SAT solving—resolution and DPLL slides
3 9.10. Chvalovský SAT solving (cont'd)—CDCL slides
4 16.10. Chvalovský SAT solving (cont'd), FOL, and SMT slides
5 23.10. Chvalovský FOL and SMT slides
6 30.10. Chvalovský SMT (cont'd) and quantifiers in FOL slides
7 6.11. Chvalovský FOL—Resolution
FOL—Equality and model finding
slides
slides
8 13.11. Chvalovský Proof assistants slides
9 20.11. Dean's Day
10 27.11. Kuželka Introduction to Prolog slides, videos: part 1, part 2, part 3 (Erratum: On the slide “An Example (2)” in part 3, the Herbrand universe should be {maria, peter, ai_techniques})
11 4.12. Kuželka Recursion, lists slides, video (Erratum: In the example starting at ~17:30, we there should be predicate connectedS instead of connected.)
12 11.12. Kuželka SLD trees, cut, negation slides, videos: part 1 (Note: Unification, which is explained in this video, was covered at the end of the previous in person lecture), part 2, part 3 (Note: Slides mostly based on materials by Peter Flach.)
13 18.12. Kuželka Search in Prolog slides, video
14 8.1. Kuželka Answer set programming slides, video

Note that the titles and topics of future lectures are tentative and subject to change.

Labs

Date Tutor Topic Resources
1 25.9. Chvalovský General discussion and exercises on propositional logic exercises
2 2.10. Chvalovský SAT Solving I exercises
3 9.10. Chvalovský SAT Solving II exercises,
notebooks
4 16.10. Chvalovský SAT Solving III and FOL exercises
notebooks
5 23.10. Chvalovský SMT exercises
SMT examples
6 30.10. Chvalovský SMT (cont'd) and FOL (basic notions) exercises
7 6.11. Chvalovský FOL Resolution, ATPs exercises
TPTP examples
8 13.11. Chvalovský Isabelle exercises
20.11. Dean's Day
9 27.11. Tóth Prolog as a Database exercises
10 4.12. Tóth Lists in Prolog exercises
11 11.12. Tóth Cut in Prolog exercises
12 18.12. Tóth Search in Prolog exercises
13 8.1. Tóth Answer Set Programming exercises

Tasks

Assigned Deadline Name BRUTE label Description Points
1 16.10. 13.11. Light Up task1 20
2 28.11. 9.1. Proof systems task2 15
3 18.12. 31.1. Escape from Zurg task3 15

Grading

Note that although we all hope for the best, it may happen that we will have to adjust the following requirements to the evolving coronavirus situation.

Labs

There will be 3 tasks (for 20, 15, and 15 points) assigned during the semester. You submit your solutions through BRUTE. Late submissions are penalized.

An assessment is awarded if you receive at least 25 points for all your solutions.

Examination

The exam will be a written test (50 points), see a sample and a test from two years ago, and to pass, you need to get at least 25 points. You are eligible for a grade only after receiving the labs assessment. However, you can still attend the exam.

The final grade is based on the sum of points you receive for labs (max. 50 pts.) and the exam (max. 50 pts.) and follows university regulations:

Points Grade
100-90 A 1 excellent
89-80 B 1.5 very good
79-70 C 2 good
69-60 D 2.5 satisfactory
59-50 E 3 sufficient
<50 F 4 failed

There are many general introductions covering basic notions from propositional and first-order logic. For example, the Open Logic Project is freely accessible. Decision Procedures (PDF is available from the CTU network) covers many topics from SAT and SMT. An online book that covers various topics discussed in the course is Logic and Mechanized Reasoning. Yet another relevant book available from the CTU networks is Mathematical Logic for Computer Science.

SAT/SMT

TPTP

Automated Theorem Provers

Model Finders

courses/lup/start.txt · Last modified: 2024/01/08 09:39 by tothjan2