Summary: MiniAgda: Checking Termination using Sized Types
Department of Computer Science
Logic and Computation Seminar
School of Computer Science
McGill University, Montreal, Canada
14 March 2011
Andreas Abel (LMU) MiniAgda McGill '11 1 / 21
View data (natural numbers, lists, binary trees) as trees.
Type of data is equipped with a size.
Size = upper bound on height of tree.
Size must decrease in each recursive call.
Termination is ensured by type-checker.
Andreas Abel (LMU) MiniAgda McGill '11 2 / 21
Sized types in a nutshell
Sizes are upper bounds.