Syntax errors with 'begin' and 'end' keywords in Lean 4.7.0
devin-ai-integration opened this issue · comments
devin-ai-integration commented
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.
Mario Carneiro commented
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...?