Lean 4 has just made its first official stable release, with the arrival of
We're excited to transition from only providing nightly releases to having regular stable releases.
Currently most of the Lean ecosystem works with nightly releases,
and projects depending on branches (often
rather than fixed versions of upstream dependencies.
As Lean matures into a significant programming language, and an even better theorem prover for modern mathematics and software/hardware verification, that ecosystem will grow. We want to make sure that everyone can find compatible versions of libraries, and that everything just works.
It's a long road to get there, but the Lean Focused Research Organization intends to dedicate resources towards making this happen.
The core language releasing regular stable versions is a first step towards this!
The plan at this stage is to create a new "minor" version (i.e.
v4.2.0) approximately each month.
There will be a release candidate
v4.1.0-rc1 early in each month, and if all goes well that will become the stable version at the end of the month.
Further release candidates will be made if we find something broken,
and sometimes also just to make new features available to Mathlib faster.
We're hoping that Mathlib is able to begin tracking release candidate toolchains, rather than nightly toolchains.
At this point the "patch" version (the
v4.2.0) will be unused: it's space to grow later.
We're not at the point that we can promise backwards compatibility between versions,
beyond documenting all breaking changes in our
As Lean and the Lean ecosystem matures we will update this approach.