# Compositional termination checking with sized types

> Episode of [Iowa Type Theory Commute](https://podistic.com/podcast/iowa-type-theory-commute.md) · Published March 30, 2020 · Duration 18:37 · Episode 62, season 1

- **Listen on Podistic:** https://podistic.com/episode/compositional-termination-checking-with-sized-types
- **Audio:** https://www.buzzsprout.com/728558/episodes/3177274-compositional-termination-checking-with-sized-types.mp3 (audio/mpeg)

## About this episode

Discussion of a compositional method of termination checking using so-called sized types.  Datatypes are indexed by sizes, and recursive calls can only be made on data of strictly smaller size than the data as input to the recursion.  Since the method is type-based, it is compositional: we can break out helper functions from a recursive function and not upset the termination checker.  A readable and interesting tutorial on the subject is here.
