|
| Instructor | Supratik Chakraborty |
| Friendly TAs | Rahul Kapur, Dhvanil Gheewala, Aryan Katiyar, Ishita, Vedant Saini, Ansh Garg |
| What | When | Where |
|---|---|---|
(by email appointment) |
||
Fri Mar 13, 8.30-9.30 am Fri Apr 10, 8:30-9:30 am |
| Midterm | 35% |
| Endterm | 35% |
| Pre-scheduled Quizes | 18% |
| Surprise Quizes (best 4) | 12% |
| Exam/Quiz date | Question paper |
|---|---|
| Jan 14, 2026 | Surprise Quiz 1 |
| Jan 30, 2026 | Quiz 1 |
| Feb 18, 2026 | Surprise Quiz 2 |
| Feb 25, 2026 | Midsem Exam |
| Mar 13, 2026 | Quiz 2 |
| Apr 8, 2026 | Surprise Quiz 3 |
| Apr 10, 2026 | Quiz 3 |
| Apr 15, 2026 | Surprise Quiz 4 |
| Date of posting | Problem set | |
|---|---|---|
| Jan 21, 2026 | Tutorial 1 Problems (solutions discussed in tutorial) | |
| Jan 24, 2026 | Practice Problem Set 1, Sample solutions | |
| Jan 28, 2026 | Tutorial 2 Problems (solutions discussed in tutorial) | |
| Feb 2, 2026 | Practice Problem Set 2, Sample solutions | |
| Feb 6, 2026 | Tutorial 3 Problems (solutions discussed in tutorial) | |
| Feb 18, 2026 | Practice Problem Set 3, Solutions | |
| Mar 11, 2026 | Tutorial 4 Problems (solutions discussed in tutorial) | |
| Mar 15, 2026 | Practice Problem Set 4, Solutions | |
| Mar 25, 2026 | Tutorial 5 Problems (solutions discussed in tutorial) | |
| Apr 6, 2026 | Practice Problem Set 5, Solutions | |
| Apr 8, 2026 | Tutorial 6 Problems (solutions discussed in tutorial) |
| Date | Topics | Readings, slides, etc. |
|---|---|---|
| Jan 7 | Introduction, course logistics, motivation for studying logic; introduction to propositional logic: syntax and semantics | Huth and Ryan: Sec 1.3 |
| Jan 9 | Delving deeper into semantics of propositional logic: truth tables and their impracticality, notions of (un)satisfiabiliy, validity, semantic entailment, semantic equivalence and equisatisfiability; | Huth and Ryan: Sec 1.3, 1.4.1 |
| Jan 14 | Introduction to Natural Deduction (ND) proof rules: rules without assumptions; soundness of rules and simple applications; syntactic entailment and its relation to semantic entailment | |
| Jan 14 Compensation lecture |
More ND proof rules: rules with assumptions and their usage: soundness and simple applications | |
| Jan 16 | Derived rules in ND; examples of use of ND proof rules for proving sequents (syntactic entailments); completeness of ND proof system -- mimicking truth tables using ND proofs | |
| Jan 23 Guest lecture |
Normal forms in propositional logic: NNF, CNF, DNF; Tseitin (also Tseytin) encoding and examples; equisatisfiable formulas using Tseitin encoding; example of graph coloring encoded as CNF, and solution using SAT solver | Huth and Ryan: Sec 1.5.1, 1.5.2 Wiki page on Tseytin encoding, Prof. Ashutosh's slides: 1-15 from here, 3-5 from here |
| Jan 28 | More on NNF, CNF, DNF; converting from one normal form to another; resolution proof system; soundness of resolution | Huth and Ryan: Sec 1.5.1, 1.5.2 A good reference chapter on resolution |
| Jan 30 | Completeness of resolution, and illustration through examples; introduction to Horn formulas and an sketch of Horn-SAT solving | A good reference chapter on resolution Huth and Ryan: Sec 1.5.3 |
| Feb 4 Guest lecture |
Horn formulas; an efficient algorithm for checking satisfiabilty of Horn formulas | Huth and Ryan: Sec 1.5.3 Prof. Krishna's slides |
| Feb 11 | DPLL algorithm for satisfiability (SAT) solving, unit propagation, pure literals, branching and chronological backtracking; illustrating run of the algorithm for satisfiable problem instances |
|
| Feb 11 Compensation lecture |
DPLL algorithm: run on unsatisfiable instances; conflict-driven clause learning (CDCL): conflicts, implication graphs, cuts, conflict clauses, non-chronological backtracking; illustrating run of algorithm with conflicts and clause learning | |
| Feb 13 | Illustrating effect of branching choices on performance of DPLL solver; VSIDS and other variable selection heuristics in CDCL | |
| Feb 17 | Smart data structures in SAT solvers; two watched literals scheme; Implication graphs and unique implication points in CDCL | |
| Feb 20 | First order logic: syntax and intuitive meaning of predicates, universal and existential quantifiers; illustration through examples | Huth and Ryan: Sec 2.1, 2.2.1 Slides (1-6) |
| Mar 4 | First order logic: recap of syntax; terms and formulas; notion of free and bound variables: illustration through examples; substitution in first-order logic | Huth and Ryan: Sec 2.2.1, 2.2.2, 2.2.3, 2.2.4 Slides (7-10) |
| Mar 6 | Vocabulary V and V-structures: illustration through examples; semantics of FOL and its dependence on structures and binding | Slides (11-13) |
| Mar 11 | Formal semantics of first-order logic: illustration through examples; notions of semantic entailment, satisfiability, validity, consistency | Slides (14-17) |
| Mar 13 | More on semantic relations in FOL, quantifier equivalences in FOL, scoping rules for quantifiers, renaming bound variables to enable application of scoping rules | Slides (17-19) |
| Mar 18 | Natural deduction proof system for first-order logic; introduction and elimination rules for equality, universal and existential quantifiers; reasoning about soundness of above rules | Huth and Ryan: Sec 2.3 |
| Mar 20 | Illustrating application of natural deduction proof rules to prove sequents in first-order logic; soundness and completeness of natural deduction proof systems | Huth and Ryan: Sec 2.3 |
| Mar 25 | More practice on proving sequents in first-order logic using natural deduction; soundness, completeness and compactness of first-order logic; using compactness to show inexpressibility results | Huth and Ryan: Sec 2.3, 2.6 (excluding 2.6.1) |
| Mar 27 | Additional examples on use of compactness theorem to show inexpressibility results in first-order logic. Guest lecture by R. Venkatesh on use of logic in industrial applications | Huth and Ryan: Sec 2.6 (excluding 2.6.1) |
| Apr 1 | Alternative statement of compactness theorem; Lowenheim-Skolem theorem and applications; quantified equivalences and prenex normal forms for first-order logic | Huth and Ryan: Sec 2.6 (excluding 2.6.1) Slides (18-20) |
| Apr 8 | Prenex normal forms; notion of Skolem functions; Skolemization and Skolem Normal Form | Slides by Valentin Goranko |
| Apr 10 | More on Skolem normal form; Herbrand models; Godel-Herbrand-Skolem Theorem, Herbrand Theorem | Excellent slides from TU Munich |
| Apr 15 | More on Herbrand Theorem, ground clauses of Skolem normal form formulas, and a glimpse of first-order logic resolution | Sec 8.1 and 8.2 of chapter by David Toman |
| Apr 17 | Problem solving session: Prenex normal form, Skolem normal form, converting a formula with function symbols to an equisatisfiable one without function symbols, finding a formula all of whose models are necessarily infinite | (Problems solved in class) |