Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans for supporting wasm-compiled Lean 4 servers? #43

Closed
tnaoi opened this issue May 5, 2022 · 1 comment
Closed

Any plans for supporting wasm-compiled Lean 4 servers? #43

tnaoi opened this issue May 5, 2022 · 1 comment

Comments

@tnaoi
Copy link

tnaoi commented May 5, 2022

Just wondering if there are any current efforts to enable interfacing with a wasm-compiled lean 4 server.

@gebner
Copy link
Member

gebner commented May 6, 2022

Note that this library is for Lean 3. Most of the code here deals with the Lean 3 server protocol and has nothing to do with webassembly. (And so any potential Lean 4 webassembly wrapper won't be here so I will close this issue as it is out-of-scope.)

There has been some work on compiling Lean 4 to webassembly, see leanprover/lean4#398 and leanprover/lean4#505 Please come to https://leanprover.zulipchat.com/#narrow/stream/270676-lean4 for further discussion.

I'm not sure if we can ever use webassembly to run Lean 4 in the browser though. The native build of Lean 4 is already several hundred megabytes large, this is pretty infeasible to ship over the web.

@gebner gebner closed this as completed May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants