You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce the issue to a minimal, self-contained, reproducible test case. Avoid dependencies to mathlib4 or std4.
Description
If a function f is defined using well-founded recursion, then implemented_by attribute looks f._unary instead of f.
As a result, it causes a type error if more than one arguments are involved in the termination proof.
Prerequisites
Description
If a function
f
is defined using well-founded recursion, thenimplemented_by
attribute looksf._unary
instead off
.As a result, it causes a type error if more than one arguments are involved in the termination proof.
Context
Discussed in Zulip
Steps to Reproduce
MWE:
Versions
Lean version: 4.3.0-rc1
The text was updated successfully, but these errors were encountered: