Skip to content

Importing all of mathlib makes building assignments very slow #5

@kesslermaximilian

Description

@kesslermaximilian

In assignment 3 and 4, there is the line
import Mathlib
at the beginning of the file.
If you clone the repository from GitHub and let VSCode set up elan to download mathlib, then (at least in my case), this downloads all source files. The line "import Mathlib" then means that all of Mathlib is caused to compile when building the file, which takes a really long time.

I would suggest / appreciate, if such lines could be avoided. In assignment 3, the line is not needed and you can just comment in out. In assignment 4, it could be replaced by
import Mathlib.Analysis.SpecialFunctions.Log.Basic
which (I think) is enough for the file.

I know there is nothing wrong with importing all of Mathlib, but it would be appreciated if that could be avoided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions