Zulip Chat Archive
Stream: lean4
Topic: where is the lean4 core libary defined?
Arien Malec (Oct 14 2022 at 23:14):
I know there's std4
, but the Nat directory doesn't have the core definition of Nat
in the same way that the lean3 equivalent does, and despite hunting around core lean4
I haven't been able to find the lean3 equivalent....
Julian Berman (Oct 14 2022 at 23:17):
If you type #check Nat
in a file and hit go to definition in your editor (F12 in VSCode I think) you'll get brought to the definition. It's in lean/Init/prelude.lean
it seems.
Last updated: Dec 20 2023 at 11:08 UTC