Class Schedule


Note: Grayed items are tentative. The cited references can be found in the Readings section.

Date Topic Readings
 
Aug 24

Course introduction and syllabus overview. Discussion of the basic role of logic in Computer Science: logic as the formal foundation of CS. Applications of logic in CS.

- [KV]
- [Var] (Rec.)
- [Gen1] (Rec.)
Aug 26

Basic components of a logic: syntax, semantics and inference rules. Logic as a tool for stating and proving arguments formally. Deductive reasoning vs. other forms of reasoning (inductive, abductive, ...).
Introduction to propositional logic. Scope of the logic. The language: propositional symbols and connectives. A natural deduction-style calculus. Some rules of the calculus. Examples of derivations in the calculus.

Chap. 1 of [HR] (Sec. 1-2)
 
Aug 31

More on the rules of the natural deduction calculus. Proofs and nested subproofs. More examples.

Chap. 1 of [HR] (Sec. 1-2)
Sep 2

The complete set of natural deduction rules. Derived rules. Derivation exercises. Formal definition of the language of propositional logic.  

Chap. 1 of [HR] (Sec. 1-2)  
 
Sep 7

Parse trees for PL formulas. Formal semantics of PL formulas. Truth tables and interpretations. Compositional nature of the PL semantics. The logical entailment relation |= and its properties. Examples. Satisfiable, unsatisfiable, valid and invalid formulas. Relationship between logical entailment and provability in the natural deduction calculus. Soundness and completeness of the calculus. Significance of the calculus' soundness and completeness. Decidability of logical entailment in propositional logic.  

Chap. 1 of [HR] (Sec. 3-4)  
Sep 9

Sketch of soundness proof for natural deduction.
Alternative methods to check for logical entailment. Logical equivalence. Equivalence preserving transformations into a formal form.
A general, equivalence preserving, CNF conversion procedure. Checking the validity of PL formulas by conversion into CNF.  

- Chap. 1 of [HR] (Sec. 5)
- [N1]  
 
Sep 14

Examples CNF conversion by means of equivalence preserving rewrite rules.
A general, satisfiability preserving, Definitional Clausal Form conversion procedure. Motivation and examples. Discussion on the complexity of the various transformations.
Introduction to DPLL: a decision procedure for the satisfiability of CNF formulas. Main idea and examples.

- [N1]
- [Vor]
- [N2]  
Sep 16

Sublanguages of propositional logic: Horn clauses. A linear satisfiability procedure for Horn clauses.
Examples.
Discussion of Hw1 solution.
Abstract description of DPLL by mean of a transition system. The rules of the systems. Examples of applications and strategies.  

- [HR] (1.5.3)
- [N2]
- Hw1 solution on ICON  
 
Sep 21

More on the abstract DPLL system. Examples of executions.
Improvements to the original DPPL procedure: backjumping, learning and restarts. Motivations, discussion and examples. Discussion of termination and correctness of the DPLL system with backjumping and of the DPLL system extended with learning and restarts with backjumping.

[N2]  
Sep 23

Introduction to First-Order Logic. Domain of discourse, individuals, properties of individuals and relations over them. Quantification over individuals. The basic vocabulary of FOL: variables, constant, function and predicate symbols.

- [HR] (2.1-2.2)
- Hw2 solution on ICON  
 
Sep 28

Syntax of FOL. Terms and formulas. Free and bound variables. Substitutions.
A natural deduction calculus for FOL.
Discussion of Homework 2.  

[HR] (2.1-2.2)
 
Sep 30

Midterm I

See Exams section  
 
Oct 5

Free and bound variables. Substitutions. Proof rules for universal quantification. Derivation examples.
Discussion of Midterm I.

[HR] (2.3)  
Oct 7

Proof rules for existential quantification and for equality. Derivation examples.
Quantifier equivalences and examples.

[HR] (2.3)  
 
Oct 12

Introduction to FOL semantics. First-order models. Examples of models and formulas satisfied or falsified in them.

[HR] (2.4)  
Oct 14

Satisfiability relation and logical entailment. The soundness and completeness of natural deduction wrt to logical entailment, and the undecidability of logical entailment.

[HR] (2.4-2.5)  
 
Oct 19

The deduction and compactness theorems for FOL. Representational power of FOL. Inability of FOL to represent reachability in a graph.

[HR] (2.6)  
Oct 21

Introduction to temporal logic. Motivation and applications. Syntax and informal semantics of Linear Temporal Logic. LTL Models. Examples of transition systems. Examples of LTL formulas and paths that falsify/satisfy them.  

[HR] (3.1-3.2)  
 
Oct 26

Regular expressions for denoting infinite paths. Definition and discussion of the satisfiability relation between paths and LTL formulas and between states and LTL formulas. Semantical equivalence in LTL. Examples of equivalent LTL formulas.
Defining temporal operators in terms of others. Minimal subsets of temporal operators. Practice with formalizing properties in LTL.

[HR] (3.2)  
Oct 28

Semantical equivalence in LTL. Logical properties of the various temporal operators. Defining operators in terms of others. Informal proofs of equivalence.
Applications of LTL: a mutual exclusion protocol. Modeling a two-process system; specifying properties such as safety, liveness and so on.

- [HR] (3.2-3.3)
- Hw3 solution on ICON
 
 
Nov 2

Discussion of Hw3 solutions.
More on the mutual exclusion protocol example; verifying properties manually against the model. Limits on the expressive power of LTL.  

[HR] (3.3)  
Nov 4

Midterm II

See Exams section  
 
Nov 9

Introduction to branching time logics and to CTL. Syntax and informal semantics of CTL.
Equivalence of CTL formulas. Significant examples.
Discussion of Midterm II's solutions.

[HR] (3.4)  
Nov 11

More on Midterm II.
Brief discussion of applications of LTL and CTL in the hardware and software industry, and of model checking tooks like NuSMV.
Formal semantics of CTL.
Modeling English specifications into CTL. Examples of satisfiable/unsatisfiable CTL formulas in a given state of a model.

[HR] (3.4)  
 
Nov 16

 

 
Nov 18

Informal introduction to CTL* and brief discussion and comparisons with LTL and CTL.
A rule based procedure for checking the satisfiability of CTL formulas in a given model.

- [HR] (3.5-3.6)
- [N3]  
 
Nov 23

Thanksgiving break

 
Nov 25

Thanksgiving break

 
 
Nov 30

An example of applying the rule-based procedure for model checking in CTL.
Brief introduction to LTL model checking with automata.
Discussion of Hw4's solutions.

- [HR] (3.2-3.3)
- Hw4 solution on ICON
 
Dec 2

An automata-based method for checking the satisfiability of LTL formulas in a given model. High-level description of the method and example.  

[HR] (3.6.3)  
 
Dec 7

Modal logics, introduction and motivation. Modalities and their use to reason about necessity, time, knowledge, belief, etc. Connections to temporal logics.
The basic modal logic K. Syntax and semantics. Accessibility relations and Kripke models. Validity and valid formulas in K. Examples of models and satisfied/falsified formulas.

[HR] (5.1-5.2)  
Dec 9

Logic engineering. Modeling various modalities. Kripke frames. Correspondence theorems for modal logics. Examples and informal arguments.
Defining modal logics axiomatically. A natural deduction proof system for K.  

[HR] (5.3-5.4)  
 
Dec 14

Final exam at 2:15pm  

- All readings above
- Hw5 solution on ICON  




Course Info

  Announcements

  Syllabus

  Schedule

Course Work

  Homeworks

  Exams

Resources

  Readings

  ICON