leanprover / lean4

Lean 4 programming language and theorem prover
https://lean-lang.org
Apache License 2.0
4.71k stars 425 forks source link

`lake graph` #2760

Open hargoniX opened 2 years ago

hargoniX commented 2 years ago

As discussed previously in the Zulip it would be beneficial if Lake could output a graph representation of the dependencies it has discovered. In order to replace the Lake dependency in doc-gen4 it would need to contain:

Furthermore it also requires:

but afaik those are already covered by lake print-paths

kim-em commented 1 year ago

This is not a lake level solution, of course, but some readers encountering this issue may find the lake exe graph provided in Mathlib suitable. (It could easily be extracted into a separate repo if anyone needs that.)