File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,12 @@ server = Server()
2929
3030The server created from ` Server() ` is sufficient for basic theorem proving tasks
3131reliant on Lean's ` Init ` library. Some users may find this insufficient and want
32- to use non-builtin libraries such as Aesop or Mathlib4.
32+ to use non-builtin libraries such as Aesop or Mathlib4. In this case, feed in a
33+ list of module names via the ` imports ` parameter e.g. ` imports=["Mathlib"] ` . Due
34+ to inherent restrictions in Lean, importing a module that has not been imported
35+ before after the server has already started is not allowed and will trigger
36+ initializer exceptions. It may be possible to circumvent this if Lean relaxes
37+ this constraint.
3338
3439To use external Lean dependencies such as
3540[ Mathlib4] ( https://github.com/leanprover-community/mathlib4 ) , Pantograph relies
You can’t perform that action at this time.
0 commit comments