Skip to main content

mathlib-build

Building Mathlib

来源信息

仓库
leanprover/skills
最近来源活动
2026年2月20日 12:34
检测到的 SKILL.md 语言
英语
星标
74
Forks
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
mathlib-build
description
Building Mathlib
# Building Mathlib Fetch the Mathlib olean cache before build: ```bash lake exe cache get ``` Use `lake exe cache get!` (with `!`) to force re-download if the cache appears corrupt. When building Mathlib reduce verbosity to save on tokens: ```bash lake build -q --log-level=info ``` For merge conflict resolution or small fixes build only the affected files: `lake build Mathlib.Foo.Bar -q --log-level=info`. Often it is fine to leave a complete build to CI. If you need a thorough local build, use `lake build Mathlib MathlibTest Archive Counterexamples && lake exe runLinter`.
在 GitHub 查看