Proofs, Recursion & Automata

Structural Induction Explained

19:09

Plays from YouTube. Watch on YouTube

How do you prove a theorem about every possible finite list, tree or expression?

Meet Structural Induction Explained: an animated exploration of mathematical recursion and its proof techniques.

We start with inductively defined datatypes and their base and recursive constructors.

From there, we prove append-length, tree leaf-count and list-map identities.

Then we distinguish finite trees from graphs with sharing and explain why no constructor can be omitted.

The big idea: sound recursive reasoning makes the smaller dependencies and the combining argument explicit.

Computer science and mathematics explained visually, one worked example at a time.