https://9dok.net/document/qvl70ggr-analyzing-program-termination-and-complexity-automatically-with-aprove.html