Zulip Chat Archive

Stream: mathlib4

Topic: import graph


Yury G. Kudryashov (Jun 12 2023 at 14:28):

Do we have something like leanproject import-graph for Lean 4?

Yury G. Kudryashov (Jun 21 2023 at 03:48):

Ping here. Can we ask lake/lean about all module goals and their dependencies?

Scott Morrison (Jun 21 2023 at 04:28):

This was discussed in the last porting meeting. Tentatively, I think the answer is "no we can't do that right now, but we'd like to be able to, and this seems like a good first project in learning how to work with lake". :-)

Scott Morrison (Jun 24 2023 at 06:10):

@Yury G. Kudryashov #5441 provides some basic functionality for inspecting the import graph. Currently it only provides the import graph of the current file, but with some frontend magic we could ask about not-yet-imported files, too.

This is not asking lake, and in particular is relying on having all the oleans in place.

Scott Morrison (Jun 27 2023 at 03:12):

And now #5513 provides most of the functionality of leanproject import-graph.

Scott Morrison (Jun 27 2023 at 03:13):

import_graph.jpg


Last updated: Dec 20 2023 at 11:08 UTC