lean4-htt/tests/lean/mutwftypemismatch.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

10 lines
549 B
Text

mutwftypemismatch.lean:11:0-11:25: error: The termination measures of mutually recursive functions must have the same return type, but the termination measure of Ex1.foo has type
Nat
while the termination measure of Ex1.bar has type
Prop
Try using `sizeOf` explicitly
mutwftypemismatch.lean:26:0-26:44: error: The termination measures of mutually recursive functions must have the same return type, but the termination measure of Ex2.foo has type
Nat
while the termination measure of Ex2.bar has type
Fin fixed
Try using `sizeOf` explicitly