https://9dok.net/document/zgw3pkxn-partial-functions-in-induction-theorem-proving.html