This is the root file in Mathlib: it is imported by virtually all Mathlib files.
For this reason, the imports of this files are carefully curated. Any modification involving a change in the imports of this file should be discussed beforehand.
Here are some general guidelines:
- no bucket imports (e.g.
Batteries
/Lean
/etc); - every import needs to have a comment explaining why the import is there;
- strong preference for avoiding files that themselves have imports beyond
Lean
, and any exception to this rule should by accompanied by a comment explaining the transitive imports.