In the question about non-termination With clauses obscuring termination an answer suggests to recourse to <-wellFounded
.
I looked at the definition of <-wellFounded
before, and it strikes me there is a --safe
in OPTIONS
. Is it meant to work without this option? That is, is using --safe
some optimisation, or is it working around some fundamental problem? So in this case we just delegate the termination problem to a function marked as "safe"?