Getting Started - pH34r-pH/theorem-library GitHub Wiki
Getting started
The repository pins both Lean and Mathlib inputs.
Bootstrap and build
bash scripts/bootstrap_mathlib.sh
lake build TheoremLibrary
bash scripts/dev_check.sh
bash scripts/validate_formal.sh
The ordinary library import surface is TheoremLibrary.lean; reusable modules live under the TheoremLibrary.* namespace.
What a green build means
A green build and validation pass mean the checked theorem statements type-check in the pinned environment and satisfy the repository's structural/public-core checks.
That is formal evidence for the encoded mathematics. It is not evidence about an empirical model unless a separate argument establishes that the model satisfies the assumptions.
Read before editing
Use INDEX.md for plain-language theorem mapping, PUBLIC_CORE.md for the exported inventory, and NAMESPACE.md for namespace/contribution boundaries.