Zulip Chat Archive

Stream: new members

Topic: Unexpected Identifier ':' expected command


Linski (Oct 10 2023 at 00:11):

I have been consistently getting the error in the title from Lean simply on the expression 'constant a: Type' and it doesn't seem like anyone has a solution anywhere. I just installed Lean on WSL Ubuntu and I'm editing Lean with Neovim, if anyone could help it would be greatly appreciated.

Linski (Oct 10 2023 at 00:33):

Wait nevermind found a great solution

Linski (Oct 10 2023 at 00:33):

switching to Coq

Mario Carneiro (Oct 10 2023 at 00:43):

constant is not legal lean 4 syntax. Did you mean axiom or opaque?

Mario Carneiro (Oct 10 2023 at 00:44):

My guess is that you are reading some lean 3 materials, point it out so we can fix it


Last updated: Dec 20 2023 at 11:08 UTC