(midterm results)
Line 141: Line 141:
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_c.pdf Description Logic ALC]
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_c.pdf Description Logic ALC]
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_d.pdf Reasoning with ALC]
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_d.pdf Reasoning with ALC]
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_e.pdf Logic Programming - Prolog]
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_e.pdf Logic Programming]
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_f.pdf Prolog]
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_g.pdf Answer Set Programming]
=== Exercises ===
=== Exercises ===
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_x.pdf Resolution]
# [http://www.dai.fmph.uniba.sk/w/File:Cl2011_x.pdf Resolution]

Revision as of 14:51, 15 November 2011

Course opens in winter semester 2011/2012. First lecture: Tue 20 September 2011 in lecture room F-109. See more details below.

Computational Logic 2-AIN-108

go to list of all courses...

Course name and code: Computational Logic (2-AIN-108)
Prerequisite courses: none
Available in/recommended study year: Winter semester / 1
Form and # of hours/week: L - lecture (2), P - practicals (2)
Credits: 5
Evaluation (semester/exam): 50/50
Course webpage: you are reading it
Information sheet: 2-AIN-108 information sheet
Teacher(s): Martin Homola, Martin Baláž (lectures), Alexander Šimko(labs)
E-mail: teaching@tbc.sk, balaz@ii.fmph.uniba.sk
Homepage(s): http://www.dai.fmph.uniba.sk/w/Computational_Logic

Short description:

The course introduces logic as a method for computational problem solving. It introduces multiple practical logics and logic based systems such as logic programs, modal logics, description logics and ontologies, multi context systems, etc. with readily available reasoners.

Offered in these study programs: Compulsory elective for the Master program in Applied Informatics

Recommendations: none


  • Nov 12: Midterm results added (see below). The password is the same as for wiki assignments results.
  • Nov 10: New bonus assignment HOWTO Work With Sources added.
  • Nov 2: Yes, the wiki assignment runs also during this week, even if there was no lecture.
  • Oct 31: Midterm will take place on Wed 2 Nov 2011 9:50 in room II

Basic Information

  • lectures: Tue 13:10 2h F-109
  • labs: Wed 9:50 2h II
  • labs: Wed 8:10 2h H6

Evaluation and Conditions

Updated 10 Nov 2011!

There will be a midterm and a final exam. During the semester you can earn evaluation points at the practicals (possibly for homeworks) and by participating on the wiki-based collaborative lecture notes. You can earn up to 102 points 107 points:

  • practicals: 3 pts every week (6 weeks)
  • lecture notes: 3 pts every week (12 weeks)
  • midterm: 15 pts
  • exam: 30 pts
  • bonus assignment: 5 pts

The following grading scale will be used:

  • A = 80 pts and more
  • B = 71 pts and more
  • C = 62 pts and more
  • D = 53 pts and more
  • E = 44 pts and more
  • Fx = less than 44 pts


  1. Propositional Logic (PL) and First Order Logic (FOL)
    • The language of PL and FOL
    • Semantics: interpretation and model
    • Satisfiability and logical consequence
    • Proof theory: deduction, skolemization, unification, resolution
  2. Modal Logic
    • Modal operators box and diamond
    • System K
    • Basic axioms of modal logic
    • Semantics: Kripke structures
    • Basic axioms of modal logic
    • Systems T, B, S4 and S5 (briefly)
  3. Description Logics (DL) and Ontologies
    • Ontologies
    • Description logic ALC: syntax and semantics
    • Tableaux reasoning algorithm
    • More expressive DL (briefly)
    • Applications
  4. Logic Programming (LP)
    • Horn clauses
    • SLD-resolution and Prolog
    • Definite LP
    • Normal LP
    • Stable model semantics and Answer Set Programming
    • Extensions: extended, disjunctive and nested LP (briefly)
  5. Logic of Context
    • Problem of generality in AI, need of context
    • Context as a box
    • Context properties and operations
    • Local Model Semantics
    • Multi-context Systems
  6. Dynamic Logic
  7. Epistemic Logic
  8. Temporal Logic (♠)
  9. Multi-valued Logics (♠)

♠) The last two topics of the course may be left out due to time constraints


Lecture Notes

There is no coherent study-material for this course. You are advised to take notes. To facilitate this, we have created dedicated lecture-notes pages in the students' wiki where you are all asked to regularly contribute in a collaborative fashion. Your goal is to keep coherent, full-scope, up-to-date lecture notes, covering all material from the lectures. And at least briefly, also the practicals. For your activity you can earn up to 3 pts per week. Visit the lecture notes.

HOWTO Work With Sources

Every year we meet students who need increased guidance when working with sources protected by intellectual property rights such as articles and images found on the Web or in the library. Help your colleagues by collaborativelty creating a guide explaining how to properly work with sources so that authors' right are not violated. Your task is to collaboratively produce this HOWTO on the following wikipage:

Use Slovak language in this document. If you wish, you can also create an english version as a separate wiki page. There is probably a large number of publications and articles on this topic available via the Web. Use these sources (proprely) to learn about this problematics. Before you contribute, don't forget to log in.

The deadline for this assignment is 8 Jan 2012 and you can earn up to 5 additional points with it. After the deadline we will evaluate the 5 best contributors to this assignment. The first will get 5 points, the second will get 4 points, and so on.



  1. Propositional Logic
  2. First-Order Logic
  3. Description Logic ALC
  4. Reasoning with ALC
  5. Logic Programming
  6. Prolog
  7. Answer Set Programming


  1. Resolution