An explanation of an Agda mechanization of hereditary substitution by Keller and Altenkirch.
Their original code:
http://www.lix.polytechnique.fr/~keller/Recherche/hsubst.html
My code adapted for examples in this presentation:
https://github.com/larrytheliquid/plclub-apr-2013