Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Lean Version #3

Open
FedericoAureliano opened this issue Sep 15, 2017 · 2 comments
Open

Lean Version #3

FedericoAureliano opened this issue Sep 15, 2017 · 2 comments

Comments

@FedericoAureliano
Copy link

I am using Lean version 3.2.1, but can't seem to sort out the imports and opens.

For example, inside core/generated.lean, at the first line, I get the error "file 'core/pre' not found in the LEAN_PATH. I can fix this particular error by changing the import to read import ..core.pre. Is there another way to fix this that doesn't involve editing the files?

In sem.lean, at line 3, open eq.ops, I get the error "invalid namespace name 'eq.ops'". Is replacing that line with open eq OK?

Finally, anywhere where there is an command of the form open [.+] .+ I get the error "invalid 'open/export' command, identifier expected". I am not sure how to fix those either.

I suspect that this could all be fixed by switching to the correct Lean version. What version of Lean does electrolysis depend on? Is there a fix that doesn't involve switching versions of Lean?

Thanks!

@Kha
Copy link
Owner

Kha commented Sep 15, 2017

Electrolysis is using Lean 2, I should probably mention that in the readme. Porting it to Lean 3 would not be a small endeavor, and so will probably not happen anytime in the near future because I'm focused on other projects at the moment. Having said that, the project would certainly benefit from Lean 3's metaprogramming and better automation.

@arademaker
Copy link

Related to #5 , see #5 (comment). This can be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants