Prospectus

nl en

Logic 2

Course
2024-2025

Note: in 2024-25 this course is formally not part of any ongoing curriculum, as this 3 EC Logic 2 course together with the 3 EC Logic 1 course replaces the former 6 EC Introduction to Logic course. However, it will be taught in block 4 (2nd half of Spring semester).

Admission requirements

Not applicable.

Description

Logic is both the origin of computer science and at its very foundation. Digital computers work with logic gates to manipulate bits, but the connection between computer science and logic goes much deeper than that. The history of logic is complex and begins with the philosophy and debates of ancient Greece, India and China, as the study of the relations of propositions and arguments. Motivated by the ambiguity of human language, mathematics of the late 19th century started to develop logic as a field in its own right with the hope of finding a universal language and absolutely correct foundation that would allow the formalisation of all mathematical proofs. This hope was shattered by Gödel's incompleteness and Church's undecidability theorems. But these results required a formal definitions of computation, which lead to the theory of computation that we know today. The boundary between logic and computer science is blurred and insights in logic lead to new methods of computation or visa versa.

In this course, you will learn what formal logic is and about its relationship to computer science. In particular, we will study syntax and proof systems for propositional and first-order logic.

Course objectives

The course gives an introduction to mathematical logic and its computational aspects. Specifically, after completing the you

  • Can construct a formal natural deduction proof of a FOL sequent with equality in tree- and in Fitch-style.

  • Can analyse the relation of models and formulas in the Boolean semantics of first-order logic.

  • Understand the difference between proofs in classical and intuitionistic logic, and the ramifications for the relation between syntax and semantics.

  • Can formulate and prove a property using the induction principle for trees, natural numbers and terms.

  • Can evaluate primitive recursive functions and recognise a given function as primitive recursive.
    Understand the limits of FOL with respect to expressiveness, computability and provability.

Timetable

The most updated version of the timetables can be found on the students' website:

You will find the timetables for all courses and degree programmes of Leiden University in the tool MyTimetable (login). Any teaching activities that you have sucessfully registered for in MyStudymap will automatically be displayed in MyTimetable. Any timetables that you add manually, will be saved and automatically displayed the next time you sign in.

MyTimetable allows you to integrate your timetable with your calendar apps such as Outlook, Google Calendar, Apple Calendar and other calendar apps on your smartphone. Any timetable changes will be automatically synced with your calendar. If you wish, you can also receive an email notification of the change. You can turn notifications on in ‘Settings’ (after login).

For more information, watch the video or go the the 'help-page' in MyTimetable. Pleas note: Joint Degree students Leiden/Delft have to merge their two different timetables into one. This video explains how to do this.

Mode of instruction

Weekly lectures, complemented with lecture notes and some in-depth video tutorials. Exercise classes, during which students can work on and ask questions about the weekly assignments and homework.

Assessment method

Students will be evaluated on the basis of a written examination complemented with homework assignments. Examination is worth 70% of the final grade. The remaining 30% is from the average grade of homework assignments, where the worst homework grades will be dropped. At least half of the homework assignments have to be completed (empty or non-sense submissions do not count). A retake is offered for the exam. The course is passed with a minimum of 5.5 as final grade. This means that the homework grade can compensate the exam grade.

Reading list

The main source of information are the lectures and the Logic Rondo lecture notes.

Additionally, the following sources can be consulted for further study.

  • Michael R. A. Huth and Mark D. Ryan. Logic in Computer Science: Modelling and Reasoning about Systems, Cambridge University Press, 2004.

  • The Open Logic Project.

  • Jon Barwise and John Etchemendy. Language, Proof and Logic, CSLI Publications, 1999.

  • Sara Negri and Jan von Plato. Structural Proof Theory

  • Jean H. Gallier. Logic for Computer Science, John Wiley & Sons, 1987.

  • J.F.A.K. van Benthem, H.P. van Ditmarsch, J. Ketting, J.S. Lodder, and W.P.M. Meyer-Viol. Logica voor informatica, derde editie Pearson Education, 2003.

A complete list of literature can be found in the lecture notes.

Registration

From the academic year 2022-2023 on every student has to register for courses with the new enrollment tool MyStudymap. There are two registration periods per year: registration for the fall semester opens in July and registration for the spring semester opens in December. Please see this page for more information. An exemption is the fall semester for 1st year bachelor students, the student administration will enroll this group.

Please note that it is compulsory to register for every exam and retake. Not being registered for a course means that you are not allowed to participate in the final exam of the course.

Extensive FAQ on MyStudymap can be found here.

Contact

Remarks

Website: Introduction to Logic 2025