This PR changes the `math` and `math-lax` templates for `lake new` and `lake init` to use the version of Mathlib corresponding to the current Lean toolchain. Thus, `lake +x.y.z new <pkg> math` will use the Mathlib for Lean `x.y.z`. On the other hand, `lake update` on such packages will no longer update Mathlib automatically. Users will need to change the Mathlib revision in the configuration file before updating. This change was inspired by a [discussion](https://leanprover.zulipchat.com/#narrow/channel/270676-lean4/topic/Build.20error.20on.20.60lake.20.2Bleanprover.2Flean4.3Av4.2E22.2E0.20new.20foo.20math.60/near/546236449) on the community Zulip. |
||
|---|---|---|
| .. | ||
| bench | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lake | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| common.sh | ||
| lakefile.toml | ||
| lean-toolchain | ||