leanprover / lean4

Lean 4 programming language and theorem prover

Home Page:https://lean-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax errors with 'begin' and 'end' keywords in Lean 4.7.0

devin-ai-integration opened this issue · comments

I am experiencing syntax errors related to the 'begin' and 'end' keywords when attempting to compile Lean files, even with minimal examples. The errors persist despite ensuring that the Lean environment is correctly set up with version 4.7.0 and Mathlib dependencies are in place. The issue occurs in a Linux environment with Lake 5.0.0. Any assistance or guidance on resolving these errors would be greatly appreciated.

begin ... end is now spelled by ... in lean 4. See also https://lean-lang.org/lean4/doc/lean3changes.html , although surprisingly this fairly visible syntax change is not mentioned...?