Lean 4 proof formalization for the Learning Real Analysis project.
This repo was extracted from Learning-Real-Analysis/lean/.
lakefile.lean — Lake build configuration
lean-toolchain — Lean 4 version pin
LRA/ — Lean source modules
Repository-level aggregators are standardized as:
LRA.Core — imports only volume `*Core` aggregators
LRA.ExamplesFailures — imports only volume `*ExamplesFailures` aggregators
LRA.All — maximal aggregate from the standard root chain
LRA — backward-compatible alias of LRA.All
Active curricular volume slices follow the same flat naming convention:
LRA.VolumeICore
LRA.VolumeIExamplesFailures
LRA.VolumeIAll
LRA.VolumeI
LRA.VolumeIICore
LRA.VolumeIIExamplesFailures
LRA.VolumeIIAll
LRA.VolumeII
LRA.VolumeIIICore
LRA.VolumeIIIExamplesFailures
LRA.VolumeIIIAll
LRA.VolumeIII
LRA.VolumeVIICore
LRA.VolumeVIIExamplesFailures
LRA.VolumeVIIAll
LRA.VolumeVII
LRA.VolumeTBDCore
LRA.VolumeTBDExamplesFailures
LRA.VolumeTBDAll
LRA.VolumeTBD
VolumeTBD is the provisional holding slice for mathematical subject routers
that are not yet assigned to a numbered volume while the LaTeX volume structure
is being reworked.
The flat names are intentional: on Windows, LRA/VolumeI.lean cannot coexist
with a sibling LRA/VolumeI/ directory that would hold Core.lean or
All.lean.
Docker is the reproducible default used by CI and the local wrappers:
docker build -t lra-lean .
docker run --rm -v "$PWD:/workspace" -w /workspace lra-lean lake buildOn Windows:
.\build.ps1 docker-build
.\build.ps1 buildNative builds are allowed when the pinned lean-toolchain is installed:
lake build LRAVolumeI LRAVolumeII LRAVolumeIII LRAVolumeIV LRAVolumeVI LRAVolumeVII LRATestsProduction Lean modules live under LRA/. Build-gated smoke and regression
checks live under test/ and are built through LRATests.
The Blueprint toolchain is containerized separately from the Lean build image:
.\build.ps1 docker-blueprint-build
.\build.ps1 blueprintWhen docs/number-systems is not available in the checkout, the container
skips number-system input regeneration and still emits Lean-driven volume
Blueprint chapters from LRA/.
This repo is a standalone Lean workspace. The monorepo (Learning-Real-Analysis) references it for context but does not build it. Lean files live here and only here.