Write an algorithm to statically check that a function is total (guaranteed to return a result).
Write an algorithm to statically check that a function is total (guaranteed to return a result).