The Ackermann function is a classic example of a function that is not primitive recursive. It grows very quickly. But Lean's termination checker sees that it is terminating.
The Ackermann function is a classic example of a function that is not primitive recursive. It grows very quickly. But Lean's termination checker sees that it is terminating.