Zulip Chat Archive
Stream: lean4
Topic: Dependency Graph Generation
madab (Aug 04 2025 at 14:39):
Hi, I am trying to automatically generate the dependency graph for a given theorem in Lean4. Are there tools that already do this? And if I want to do this myself, can someone point me in the right direction?
Kim Morrison (Aug 05 2025 at 05:31):
Check out https://github.com/leanprover-community/import-graph for file level dependency graphs.
For declaration level dependencies, start with docs#Lean.ConstantInfo.getUsedConstantsAsSet
Last updated: Dec 20 2025 at 21:32 UTC