Closed lecopivo closed 2 years ago
You need to build LeanInk against the same Lean version as lean --version
reports in this project/directory
Ahh my default lean version is version 4.0.0-nightly-2022-08-20
and LeanInk in that commit uses 08-22
Would be nice if LeanInk would warn about this. That the current lean
version is not matching the version you build LeanInk with.
Also if LeanInk is so fussy about the version, then the installation instruction with
sh -c "$(curl https://raw.githubusercontent.com/leanprover/LeanInk/main/init.sh -sSf)"
is pretty much useless. (Well the command didn't work for me anyway)
Description
Defining a simple notation
produces an error
Reproducing the issue
Lean file
leanink_fail.lean
:Run
leanInk analyze leanink_fail.lean
, the resultingleanink_fail.lean.leanInk
is:Environment information
Operating System: Ubuntu 20.04 LeanInk version:
037440a09fbd321ea6bdf9c8001b64ed122060e0