Zulip Chat Archive
Stream: mathlib4
Topic: Cache.lean?
Damiano Testa (Apr 03 2024 at 10:46):
In the context of lake exe mkAll, I noticed that the libraries on which Mathlib depends all have a library.lean file importing all the .lean files of the library except for Cache. I realize that no one probably wants to import Cache, but this argument would apply also to MathlibExtras and docs.
Should Cache.lean be (auto-)generated?
Yaël Dillies (Apr 03 2024 at 11:58):
That's a bit strange indeed. Was not having Cache.lean a conscious design decision or an oversight?
Mario Carneiro (Apr 03 2024 at 12:24):
Cache is not really a library, it's an exe which is too big for one file
Mario Carneiro (Apr 03 2024 at 12:25):
and lake has some silly restrictions about lake exes not having multiple modules
Last updated: May 02 2025 at 03:31 UTC