# Begin chapter on extensionality

> Episode of [Iowa Type Theory Commute](https://podistic.com/podcast/iowa-type-theory-commute.md) · Published January 25, 2023 · Duration 10:27 · Episode 5, season 4

- **Listen on Podistic:** https://podistic.com/episode/begin-chapter-on-extensionality
- **Audio:** https://www.buzzsprout.com/728558/episodes/12114753-begin-chapter-on-extensionality.mp3 (audio/mpeg)

## About this episode

This episode begins a new chapter on extensionality in type theory, where we seek to equate terms in different ways based on their types.  The basic example is function extensionality, where we would like to equate functions from A to B if given equal inputs at type A, they produce equal outputs at type B.  With this definition, quicksort and mergesort are equal, even though their codes are not syntactically equivalent.  The episode begins by reviewing the distinction between d...
