You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
Reduced the issue to a self-contained, reproducible test case.
Description
I downloaded and unpacked the lean-3.4.1-linux.tar.gz. Then, per these instructions, I went to leanroot/lib/lean/library and typed
lean --export=export.out --recursive
However, I got the error below and I can't find the export.out file.
/home/user/Desktop/lean/lib/lean/library/init/data/ordering/default.lean:7:0: error: invalid import: init.data.ordering.basic invalid object declaration, environment already has an object named 'ordering' /home/user/Desktop/lean/lib/lean/library/init/data/ordering/default.lean:7:0: error: invalid import: init.data.ordering.basic invalid object declaration, environment already has an object named 'ordering' /home/user/Desktop/lean/lib/lean/library/init/data/ordering/default.lean:7:0: error: invalid import: init.data.ordering.basic invalid object declaration, environment already has an object named 'ordering' /home/user/Desktop/lean/lib/lean/library/init/data/ordering/default.lean:7:0: error: invalid import: init.data.ordering.basic invalid object declaration, environment already has an object named 'ordering' /home/user/Desktop/lean/lib/lean/library/init/data/char/classes.lean:7:0: error: invalid import: init.data.char.basic invalid object declaration, environment already has an object named 'is_valid_char' /home/user/Desktop/lean/lib/lean/library/init/data/char/classes.lean:7:0: error: invalid import: init.data.char.basic invalid object declaration, environment already has an object named 'is_valid_char' /home/user/Desktop/lean/lib/lean/library/init/data/char/classes.lean:7:0: error: invalid import: init.data.char.basic invalid object declaration, environment already has an object named 'is_valid_char' :1:1: error: invalid object declaration, environment already has an object named 'timeit'
Steps to Reproduce
Do as above.
Expected behavior: no error messages and export.out appears in the current directory
Actual behavior: Error messages and export.out cannot be found.
Reproduces how often: Only tried once.
Versions
Lean 3.4.1 Ubuntu 18.04.1 LTS
Additional Information
The text was updated successfully, but these errors were encountered:
ITervaNkYu
changed the title
Can't find the output of exporting the lean library in low level format.
Can't find the output of exporting the Lean library in low level format.
Jul 30, 2018
huma23
pushed a commit
to huma23/lean
that referenced
this issue
Nov 29, 2018
the low level export of the library is not working with the import of the init.version, that was added to .gitignore since release 3.4.0
Closesleanprover#1964
Prerequisites
or feature requests.
Description
I downloaded and unpacked the lean-3.4.1-linux.tar.gz. Then, per these instructions, I went to leanroot/lib/lean/library and typed
lean --export=export.out --recursive
However, I got the error below and I can't find the export.out file.
/home/user/Desktop/lean/lib/lean/library/init/data/ordering/default.lean:7:0: error: invalid import: init.data.ordering.basic invalid object declaration, environment already has an object named 'ordering' /home/user/Desktop/lean/lib/lean/library/init/data/ordering/default.lean:7:0: error: invalid import: init.data.ordering.basic invalid object declaration, environment already has an object named 'ordering' /home/user/Desktop/lean/lib/lean/library/init/data/ordering/default.lean:7:0: error: invalid import: init.data.ordering.basic invalid object declaration, environment already has an object named 'ordering' /home/user/Desktop/lean/lib/lean/library/init/data/ordering/default.lean:7:0: error: invalid import: init.data.ordering.basic invalid object declaration, environment already has an object named 'ordering' /home/user/Desktop/lean/lib/lean/library/init/data/char/classes.lean:7:0: error: invalid import: init.data.char.basic invalid object declaration, environment already has an object named 'is_valid_char' /home/user/Desktop/lean/lib/lean/library/init/data/char/classes.lean:7:0: error: invalid import: init.data.char.basic invalid object declaration, environment already has an object named 'is_valid_char' /home/user/Desktop/lean/lib/lean/library/init/data/char/classes.lean:7:0: error: invalid import: init.data.char.basic invalid object declaration, environment already has an object named 'is_valid_char' :1:1: error: invalid object declaration, environment already has an object named 'timeit'
Steps to Reproduce
Do as above.
Expected behavior: no error messages and export.out appears in the current directory
Actual behavior: Error messages and export.out cannot be found.
Reproduces how often: Only tried once.
Versions
Lean 3.4.1 Ubuntu 18.04.1 LTS
Additional Information
The text was updated successfully, but these errors were encountered: