Zulip Chat Archive

Stream: new members

Topic: install mathlib


Victor Porton (Apr 01 2022 at 23:37):

How install mathlib without waiting till it completely compiles?

Victor Porton (Apr 01 2022 at 23:39):

I mean how to add it to my project.

Arthur Paulino (Apr 01 2022 at 23:41):

Is it already added as a dependency in the leanpkg.toml file? If you already have it as a dependency, leanproject get-mathlib-cache should do the trick

Victor Porton (Apr 01 2022 at 23:42):

@Arthur Paulino It isn't.

Arthur Paulino (Apr 01 2022 at 23:43):

Then try leanproject add-mathlib first

Arthur Paulino (Apr 01 2022 at 23:44):

leanproject --help will list a lot of helpful information about what it's capable of doing

John Honaker (Apr 03 2022 at 14:29):

Install matlib using leanproject, not leanpkg. If you have already installed it using leanpkg, delete _targets and the line in the leanpkg.toml.

John Honaker (Apr 03 2022 at 14:29):

I ran into this the other day, when I didn’t realize the difference


Last updated: Dec 20 2023 at 11:08 UTC