https://9dok.net/document/qvl704p0-induction-proofs-with-partial-functions.html