TERMINATION METHODS
Course Data
Location: Ornstein 103
Time: Thursday, 10-13
Instructor: Nachum
Dershowitz
Office: 218 Schreiber
Phone: 03/640-5356
E-mail: nachumd@tau.ac.il
PURPOSE
The purpose of the course is to learn various interesting methods of
proving the termination (halting) of programs. Topics include:
- Structural Induction and Intermittent Decreases
- Commutations and Transformations
- Ramsey's Theorem and Ordering Decomposition
- Lexicographic and Bag Orderings, Konig's Lemma
- Well-founded Orderings, Ordinals, The Hydra
- Higman's Lemma, Kruskal's Theorem, Simplification Orderings
- Well-quasi Orderings, Recursive Path Orderings
- Knuth-Bendix Orderings, General Path Ordering
- Linear Termination Functions, Farkas's Lemma, Polyhedral
Constraints
REQUIREMENTS
The course is open to undergraduate students and to graduate
students. Only basic programming (including recursion) and basic
discrete math (including induction) are required.
Lectures & Readings
- Introduction (28 Feb. 2013)
- Games (7 Mar. 2013)[Gal]
- Bigger and Bigger (14 Mar. 2013) [Jonathan]
- Well-Founded Orderings (11 Apr. 2013) [Yevgeny]
- Well-Quasi Orderings (18 Apr. 2013)
- Tree Orderings (25 Apr. 2013)
- Rewriting (2 May 2013) [Gleb]
- Semantic Path Ordering (9 May 2013) [Ori Handout]
- Dependency Pairs (16 May 2013)
- Recursion and Induction (23 May 2013)
- Iteration and Induction (30 May 2013) [Gitit]
- Typed Lambda Calculus (6 June
2013)
- Higher
Order Orderings (13 June 2013) [Liron]
- Terminate (or Epsilon_0, Gamma_0, and Other
Ordinals) (20 June 2013) [Nissan Extra]
Lecture Notes (pdf) (ppt)
(key)
Examples
- Turing's Factorial Program
- Greatest Common Divisor
- McCarthy's
91 Function
- Ackermann's Function
- Ackermann's Function via a Stack
- Dutch National Flag with Marbles
- Growing Railroad Trains
- Goodstein's
Sequence
- Battle
of Hercules and Hydra
- Amoeba Colonies
- Grid Game
- Gremlins
- Differentiation
- Disjunctive
Normal Form Examples
- Dependency Pair Examples
- Unification Algorithm
- Recursion Examples
- Counting Leaves
Resources