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
The code handling the generation of the below helper functions is too conservative with regards to reduction, and fails in certain cases
Steps to Reproduce
inductiveBar : Nat -> Prop :=
| bar e : (α → Bar e) -> Bar e --worksdefFoo (F : α -> Prop) : Prop :=
∀ x , F x
inductiveBad : Nat -> Prop :=
| bar e : Foo (fun _ => Bad e) -> Bad e --fails
Expected behavior: Both types get accepted with no error
Prerequisites
Description
The code handling the generation of the
below
helper functions is too conservative with regards to reduction, and fails in certain casesSteps to Reproduce
Expected behavior: Both types get accepted with no error
Actual behavior: Some errors occur in
mkCtorType
inLean/Meta/IndPredBelow.lean
Versions
Lean v4.2.0
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: