Closed javra closed 1 year ago
This is a bug in Lean itself. Qq-free MWE:
def ZMod : Nat → Type
| 0 => Int
| n+1 => Fin n
example (x : ZMod (2^300)) : Prop :=
x = x -- maximum recursion depth has been reached
Also, I was positively surprised that I could debug this in GDB using rbreak throwMaxRecDepthAt
.
Oof, sorry, I'll post it there then. Seems like a unification problem then.
This causes an error