Madhavan Mukund



Theorem Proving

Jan-Apr, 2014


Course plan

  • Resolution, Rewriting, Decision Procedures (to be elaborated)

  • Instructors: Madhavan Mukund (MM), MK Srivas (MKS), SP Suresh (SPS)

  • Guest lectures:, Deepak Kapur


Reading Material



Lecture summary

  • Lecture 1, 16 Jan 2014 (MM)

    Review of propositional logic syntax and semantics, CNF, the resolution rule (Ben-Ari, Chapter 4.1)

  • Lecture 2, 21 Jan 2014 (MM)

    Soundness and completeness of propositional resolution, review of first-order logic syntax and semantics (Ben-Ari, Chapter 4.1)

  • Lecture 3, 23 Jan 2014 (MM)

    Clausal form, Skolemization, unification algorithm (Ben-Ari, Chapter 7.1–7.3, 7.5–7.7)

  • Lecture 4, 28 Jan 2014 (MM)

    Unification algorithm, first order resolution (Ben-Ari, Chapter 7.7–7.8)

  • Lecture 5, 30 Jan 2014 (MM)

    Abstract reduction systems: Equivalence and reduction, well-founded induction, proving termination, lexicographic orders (Baader and Nipkow, Chapter 2.1–2.4)

  • Lecture 6, 4 Feb 2014 (MM)

    Lexicographic orders, multiset orders, proving confluence (Baader and Nipkow, Chapter 2.4–2.5, 2.7)

  • Lecture 7, 6 Feb 2014 (MM)

    Terms, substitutions and identities (Baader and Nipkow, Chapter 3.1)

    Deciding ≈E, term rewriting systems, unification (Baader and Nipkow, Chapter 4.1–4.2,4.5–4.6)

    Termination for term rewriting systems (Baader and Nipkow, Chapter 5.1 — undecidability proof to be done in detail later)

  • Lecture 8, 7 Feb 2014 (MM)

    Reduction orders, the interpretation method, polynomial interpretations, simplification orders (Baader and Nipkow, Chapter 5.2–5.4 — many details, including proof of Kruskal's Theorem, to be done in detail later)

  • Lecture 9, 11 Feb 2014 (MM)

    Simplification orders: recursive path orders (lexicographic order), Knuth-Bendix order (Baader and Nipkow, Chapter 5.4)

    Confluence: the decision problem, critical pairs (Baader and Nipkow, Chapter 6.1–6.2)

    Completion: the basic completion procedure (Baader and Nipkow, Chapter 7.1)

    Many proofs omitted in the above, to be done in detail later.

  • Lecture 10, 12 Feb 2014 (Deepak Kapur)

    Three examples involving completion

    • Vector addition systems. Completion procedure always terminates by Dickson's lemma.
    • Thue systems. Completion procedure may not terminate, Thue systems are Turing complete.
    • Group axioms. Use recursive path ordering and show that completion procedure terminates.
  • Lecture 11, 13 Feb 2014 (Deepak Kapur)

    Clarification on lex ordering on strings

    Formal definition of superposition

    • Reduction as a special case of superposition

    Discovering a canonical rewrite system through completion

    • Fair derivations, ensure that all critical pairs are checked
    • Dealing with non-orientable critical pairs

    Semi-decision procedure for t = t',

    • Unfailing completion, attempt a reduction to normal form after each critical pair is completed

    Superposition calculus

    • Review first-order resolution: two rules, resolution and factoring.
    • Lifting order on terms to literals, clauses, proofs
    • New inference rules: positive/negative superposition, equality factoring
    • Some examples
  • Lecture 12, 18 Feb 2014 (Deepak Kapur)

    Proving properties for inductively defined datatypes via term rewriting ("inductionless induction")

  • Lecture 13, 20 Feb 2014 (SPS)

    Undecidability of termination for term rewriting systems (Baader and Nipkow, Chapter 5.1)

  • Lecture 14, 04 Mar 2014 (SPS)

    Polynomial intepretations and their limitations in terms of deriviation length (Baader and Nipkow, Chapter 5.3)

    Simplification orderings: well-quasi orderings, Dickson's Theorem, Higman's Theorem (Baader and Nipkow, Chapter 5.4, Gallier paper Sections 2 and 3)

  • Lecture 15, 06 Mar 2014 (SPS)

    Higman's Theorem (Gallier paper Section 3)

    Kruskal's Tree Theorem (Baader and Nipkow, Chapter 5.4)

  • Lecture 16, 13 Mar 2014 (SPS)

    Recursive path orderings (Baader and Nipkow, Chapter 5.4.2)

    • Termination of Ackermann rewrite system
    • Generalizations of lexicographic order to mixed and multiset order
    • Lexicographic path order is a simplification order
  • Lecture 17, 18 Mar 2014 (MKS) (Slides)

    Background on SAT: normal forms, efficiently solvable subclasses, Tseitin encoding (Kroening and Strichman, Chapter 1)

    Efficient SAT solving: the DPLL algorithm (Kroening and Strichman, Chapter 2.1, 2.2)

  • Lecture 18, 20 Mar 2014 (MKS) (Slides)

    More on DPLL:

    • Conflict driven learning and non-chronological backtracking (Slides, see the reference to GRASP under Reading Material),
    • VSIDS heuristic (see the reference to Chaff under Reading Material),
  • Lecture 19, 25 Mar 2014 (MKS) (Slides)

    BDDs: Binary decision diagrams (see notes by Henrik Reif Andersen under Reading Material)

  • Lecture 20, 27 Mar 2014 (MKS) (Slides)

    Equality logic and uninterpreted functions (Kroening and Strichman, Chapter 3)

  • Lecture 21, 1 Apr 2014 (MKS) (Slides)

    Decision procedures for equality logic and uninterpreted functions (Kroening and Strichman, Chapter 4)

  • Lecture 22, 7 Apr 2014 (MM)

    Linear arithmetic constraints

  • Lecture 23, 8 Apr 2014 (MM)

    Linear arithmetic constraints

  • Lecture 24, 11 Apr 2014 (MKS) (Slides)

    Decision procedures for equality logic and uninterpreted functions (Kroening and Strichman, Chapter 4; papers by Bryant and Velev, Meir and Strichman, and Rozanov and Strichman under Reading Material),)

  • Lecture 25, 15 Apr 2014 (MKS) (Slides)

    Propositional encoding of decidable first order theories (Kroening and Strichman, Chapter 11)

  • Lecture 26, 17 Apr 2014 (MKS) (Slides)

    Propositional encoding of decidable first order theories (Kroening and Strichman, Chapter 11)