lean4-htt/tests/lean/terminationFailure.lean.expected.out
Leonardo de Moura 52403fca83 feat: add support for guessing (very) simple WF relations
There are a lot of TODOs, but it is already useful for simple cases.

closes #847
2022-03-02 11:52:00 -08:00

23 lines
615 B
Text

terminationFailure.lean:7:2-7:3: error: fail to show termination for
f.g
f
with errors
structural recursion does not handle mutually recursive functions
failed to prove termination, use `termination_by` to specify a well-founded relation
f : Nat → Nat
f.g : Nat → Nat
1
2
terminationFailure.lean:20:4-20:5: error: fail to show termination for
h
with errors
argument #1 was not used for structural recursion
failed to eliminate recursive application
h x
structural recursion cannot be used
failed to prove termination, use `termination_by` to specify a well-founded relation
h : Nat → Foo
Foo.a