lean4-htt/tests/lean/nested_match.lean.expected.out

24 lines
1.3 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

nested_match.lean:7:13: error: failed to prove recursive application is decreasing, well founded relation
@has_well_founded.r (@has_well_founded_of_has_sizeof nat.has_sizeof)
Possible solutions:
- Use 'using_well_founded' keyword in the end of your definition to specify tactics for synthesizing well founded relations and decreasing proofs.
- The default decreasing tactic uses the 'assumption' tactic, thus hints (aka local proofs) can be provided using 'have'-expressions.
The nested exception contains the failure state for the decreasing tactic.
nested exception message:
failed
state:
f : ,
n m :
⊢ m < n
nested_match.lean:25:7: error: failed to prove recursive application is decreasing, well founded relation
@has_well_founded.r (psum )
(@has_well_founded_of_has_sizeof (psum ) (@psum.has_sizeof nat.has_sizeof nat.has_sizeof))
Possible solutions:
- Use 'using_well_founded' keyword in the end of your definition to specify tactics for synthesizing well founded relations and decreasing proofs.
- The default decreasing tactic uses the 'assumption' tactic, thus hints (aka local proofs) can be provided using 'have'-expressions.
The nested exception contains the failure state for the decreasing tactic.
nested exception message:
failed
state:
n :
⊢ 1 < 1