doc-gen: Explorability of theories
hargoniX opened this issue · 1 comments
hargoniX commented
Implementation idea:
- The individual JSON of each module contains:
- A list of used theorems per theorem
- A map from theorem names to a counter for how often this name was used
- In the index step this information is accumulated into the final JSON in such a way that the following things can be calculated in JS with little runtime:
- The list of theorems a certain theorem used, sorted by use counter, the theorem with the least use counter first. This is so theorems that are special for this declaration show up first
- The list of theorems that use a certain theorem, sorted by use counter, here the theorem with the highest counter first. This is so the significant results can be visited quickly.
hargoniX commented
Addressed by tools like blueprint and David's docs.