Zulip Chat Archive
Stream: lean4
Topic: Help needed: Invalid Import
HinaNarukami (Aug 07 2025 at 10:45):
I'm researching the "Incorrectness Logic", and have cloned the Lean project of the paper. I then ran leanpkg configure, and met this error after the dependencies were installed.
image.png
Does anyone have any idea how to fix it?
HinaNarukami (Aug 07 2025 at 10:47):
I'm running on WSL btw
Aaron Liu (Aug 07 2025 at 10:55):
That looks like Lean 3
Aaron Liu (Aug 07 2025 at 10:55):
I can tell because all the imports are in lowercase
HinaNarukami (Aug 07 2025 at 10:58):
Yes this is Lean 3
I can't find the stream for Lean 3's topic, that's why i choose Lean 4...
Aaron Liu (Aug 07 2025 at 10:59):
Lean 3 is deprecated :(
HinaNarukami (Aug 07 2025 at 11:00):
So basically there's no way I can use this project right?
František Silváši 🦉 (Aug 07 2025 at 11:05):
Normally, Lean 3 projects came with a leanpkg.toml which one could then build with leanpkg build.
František Silváši 🦉 (Aug 07 2025 at 11:06):
But I would strongly discourage you from using Lean 3.
HinaNarukami (Aug 07 2025 at 11:19):
The reason I try to fix things is because the project used Lean 3.
If there's no way to fix, I may just convert to Lean 4 instead.
Thank you.
Ruben Van de Velde (Aug 07 2025 at 11:51):
Yeah, if you want to do any more with it than look at the code, you probably should move to lean 4. There's tooling to do that semi-automatically, but I don't know how well it works at this point
Last updated: Dec 20 2025 at 21:32 UTC