Zulip Chat Archive

Stream: general

Topic: lean package manager


kapil verma (Mar 10 2022 at 15:35):

is there a package manager for lean? like npm, pip etc? And an equivalent ecosystem where people publish theorems for other people to use

Eric Wieser (Mar 10 2022 at 15:37):

is there a package manager for lean? like npm, pip etc?

Lean uses leanpkg.toml, which justs uses git urls for package management. leanpkg knows how to fetch the dependencies from this specification.

And an equivalent ecosystem where people publish theorems for other people to use

Right now that ecosystem is primarily the monorepo, mathlib

Eric Rodriguez (Mar 10 2022 at 15:48):

lean 4 will have something called lake, as far as I know

Yury G. Kudryashov (Mar 23 2022 at 20:31):

It's hard to have an ecosystem when the main math library changes definitions on a regular basis.

Arthur Paulino (Mar 23 2022 at 20:51):

That wouldn't be a problem for Lean 4 though, whose scope goes beyond mathematics. It would be reasonable to have an ecosystem of smaller and more stable packages

Yury G. Kudryashov (Mar 23 2022 at 20:57):

There were some discussions about this. I don't remember what's the current plan.


Last updated: Dec 20 2023 at 11:08 UTC