lean4-htt/tests/lean/wf1.lean.expected.out
Joachim Breitner 56733b953e
refactor: TerminationArgument → TerminationMeasure (#6727)
this PR aligns the terminology of the code with the one use in the
reference manual, as developed with and refined by @david-christiansen.
2025-01-23 10:41:38 +00:00

18 lines
568 B
Text

wf1.lean:1:4-1:5: error: fail to show termination for
g
with errors
failed to infer structural recursion:
Cannot use parameter x:
failed to eliminate recursive application
g (x - 1)
Cannot use parameter y:
insufficient number of parameters at recursive application
g (x - 1)
Could not find a decreasing measure.
The basic measures relate at each recursive call as follows:
(<, ≤, =: relation proved, ? all proofs failed, _: no proof attempted)
x y y - x
1) 3:12-19 ≤ ? ?
Please use `termination_by` to specify a decreasing measure.