Somehow my code is so horrifying, Lean4 is able to evaluate it, the LSP says it works and the compiler gives an error. It is theoretically correct and the kernel accepts it, but the compiler isn't able to produce anything out of it. My awful code discovered a bug in Lean's compiler.
View all comments
Show parent comment
5
u/swagnation77 Sep 02 '26
Damn good catch, such a dumb mistake on my end. I will update it to match the correct specification, thanks!