Skip to content

Releases: leanprover/lean4

v4.0.0

08 Sep 04:44
Compare
Choose a tag to compare

This is the first official release of Lean 4.

We intend to begin regular releases of Lean 4, providing a new "minor" version approximately monthly.
We do not yet make promises about backwards compatibility, although all breaking changes will be documented in RELEASES.md.

Please visit

We have had over 2000 commits since the previous milestone.

% git log v4.0.0-m5..v4.0.0 --pretty="%an" | sort | uniq -c | sort -rn
 833 Leonardo de Moura
 662 Mac Malone
 301 Sebastian Ullrich
 228 Gabriel Ebner
 215 Mario Carneiro
  46 Henrik Böving
  41 Ed Ayers
  26 Scott Morrison
  20 Siddharth Bhat
  12 Wojciech Nawrocki
  11 Bulhwi Cha
   8 Adrien Champion
   7 Chris Lovett
   6 Alex J Best
   5 Yuri de Wit
   5 Tobias Grosser
   4 Rishikesh Vaishnav
   4 David Renshaw
   3 pcpthm
   3 int-y1
   3 Patrick Massot
   3 Martin Dvořák
   3 Marcus Rossel
   3 Elias Aebi
   2 Pietro Monticone
   2 Parth Shastri
   2 Joachim Breitner
   2 Jannis Limperg
   2 James Gallicchio
   2 François G. Dorais
   2 Floris van Doorn
   2 Eric Wieser
   2 Connor Baker
   2 Chris Hughes
   2 Anders Christiansen Sørby
   1 thorimur
   1 mcdoll
   1 locriacyber
   1 joao guilherme
   1 bc²
   1 awson
   1 ammkrn
   1 Richard Musiol
   1 Olivier Taïbi
   1 Matthias Hetzenberger
   1 Kaiyu Yang
   1 Junyan Xu
   1 Juan Pablo Romero
   1 Jon Eugster
   1 Jeremy Salwen
   1 Jakob von Raumer
   1 Gabriel Dahia
   1 Fynn Schmitt-Ulms
   1 Evgenia Karunus
   1 Enrico Borba
   1 Denis Gorbachev
   1 David Thrane Christiansen
   1 Arthur Paulino
   1 Andrés Goens

v4.0.0-rc5

08 Sep 01:54
Compare
Choose a tag to compare
v4.0.0-rc5 Pre-release
Pre-release

This is the fifth release candidate for the first official release of Lean 4.

It replaces v4.0.0-rc4, but has no changes except for the values of Lean.toolchain and Lean.versionString, which were not set correctly under the previous release process.

v4.0.0-rc4

30 Aug 10:57
a7efe5b
Compare
Choose a tag to compare
v4.0.0-rc4 Pre-release
Pre-release

This is the fourth release candidate for the first official release of Lean 4.

It replaces v4.0.0-rc3, which included a commit that broke Mathlib. Setting up better integrated testing is in the works!

What's Changed

Full Changelog: v4.0.0-rc3...v4.0.0-rc4

v4.0.0-rc3

30 Aug 06:02
b8084d5
Compare
Choose a tag to compare
v4.0.0-rc3 Pre-release
Pre-release

This is the third release candidate for the first official release of Lean 4.

It replaces v4.0.0-rc2, which was not properly prepared as a release, so #eval Lean.toolchain and lean --version gave incorrect answers. Additionally, there are changes to the CI for building releases and additions to RELEASES.md for previously undocumented breaking changes.

What's Changed

  • chore: remove binaries before building them by @tydeu in #2450
  • doc: improve doc-string for Meta.getConst? by @semorrison in #2454
  • fix: make sure refine preserves pre-existing natural mvars by @thorimur in #2435
  • doc: fix typos by @marcusrossel in #2467
  • fix: nix: If src is a dir, assume the lean file has the full path by @nomeata in #2465
  • feat: add labels from comments by @semorrison in #2460
  • feat: create release at lean4-pr-releases for each PR by @semorrison in #2448
  • chore: update CI to create official releases by @semorrison in #2472
  • test: basic tests exercising rw by @semorrison in #2397
  • chore: use bash-compatible SemVer regex by @semorrison in #2475
  • chore: add introduction to RELEASES.md by @semorrison in #2476
  • chore: update README to reflect beginning stable releases by @semorrison in #2477
  • chore: remove - from semver prerelease by @semorrison in #2481
  • doc: update RELEASES.md for change to getConst? by @semorrison in #2482

Full Changelog: v4.0.0-rc2...v4.0.0-rc3

v4.0.0-rc2

24 Aug 00:47
Compare
Choose a tag to compare
v4.0.0-rc2 Pre-release
Pre-release

This is the second release candidate for the first official release of Lean 4.

It replaces v4.0.0-rc1 as we decided that the experimental build/lake.lock behaviour was too disruptive to users, and temporarily removed it.

What's Changed

  • doc: fix mid priority doc comment by @digama0 in #2440
  • doc: fix typo in Lake's Require DSL by @ConnorBaker in #2439
  • chore: add PULL_REQUEST_TEMPLATE.md by @semorrison in #2443
  • fix: include moreLinkArgs in precompile link by @tydeu in #2447
  • feat: lake env w/o configuration + more by @tydeu in #2428
  • chore: disable lake.lock (for now) by @tydeu in #2445

Full Changelog: v4.0.0-rc1...v4.0.0-rc2

v4.0.0-rc1

24 Aug 00:52
Compare
Choose a tag to compare
v4.0.0-rc1 Pre-release
Pre-release

This is the first release candidate for the first official release of Lean 4.

What's Changed

Read more

v4.0.0-m5

07 Aug 16:56
Compare
Choose a tag to compare
v4.0.0-m5 Pre-release
Pre-release

This is the fifth milestone release of Lean 4. It contains many improvements and many new features. For a summary of all new features, see our release notes. We had 1495 commits since the last milestone.

Contributors:

   885  Leonardo de Moura
   310  Sebastian Ullrich
    69  E.W.Ayers
    66  Wojciech Nawrocki
    49  Gabriel Ebner
    38  Mario Carneiro
    22  larsk21
    10  tydeu
     6  Ed Ayers
     6  Mariana Alanis
     4  Chris Lovett
     3  Jannis Limperg
     2  François G. Dorais
     2  Henrik Böving
     2  Jakob von Raumer
     2  Scott Morrison
     2  Siddharth
     1  Andrés Goens
     1  Arthur Paulino
     1  Connor Baker
     1  Joscha
     1  KaseQuark
     1  Lars
     1  Mac
     1  Marcus Rossel
     1  Patrick Massot
     1  Siddharth Bhat
     1  Timo
     1  Vincent de Haan
     1  William Blake
     1  Yuri de Wit
     1  ammkrn
     1  asdasd1dsadsa
     1  kzvi

v4.0.0-m4

24 Mar 00:30
Compare
Choose a tag to compare
v4.0.0-m4 Pre-release
Pre-release

This is the fourth milestone release of Lean 4. It contains many improvements and many new features. For a summary of all new features, see our release notes. We had more than 600 commits since the last milestone.

Contributors:

$ git shortlog -s -n v4.0.0-m3..v4.0.0-m4
   501  Leonardo de Moura
    65  Sebastian Ullrich
    11  Daniel Fabian
    10  larsk21
     5  Gabriel Ebner
     2  E.W.Ayers
     2  Jonathan Coates
     2  Joscha
     2  Mario Carneiro
     2  ammkrn
     1  Chris Lovett
     1  François G. Dorais
     1  Jakob von Raumer
     1  Lars
     1  Patrick Stevens
     1  Wojciech Nawrocki
     1  Xubai Wang
     1  casavaca
     1  zygi

v4.0.0-m3

31 Jan 22:01
Compare
Choose a tag to compare
v4.0.0-m3 Pre-release
Pre-release

This is the third milestone release of Lean 4, and the last planned milestone before an official release. With almost 3000 commits improving and extending many parts of the system since the last milestone, we are now close to completing all main features we have envisioned for Lean 4.

Contributors:

$ git shortlog -s -n v4.0.0-m2..v4.0.0-m3
  1719  Leonardo de Moura
   725  Sebastian Ullrich
   149  Wojciech Nawrocki
    93  Daniel Selsam
    82  Gabriel Ebner
    36  Joscha
    35  Daniel Fabian
    21  tydeu
    14  Mario Carneiro
    13  larsk21
    12  Jannis Limperg
    11  Chris Lovett
     8  Henrik Böving
     4  François G. Dorais
     4  Siddharth
     3  Joe Hendrix
     3  Scott Morrison
     3  ammkrn
     2  Josh Levine
     2  Mac
     2  Mac Malone
     2  Simon Hudon
     2  pcpthm
     1  Anders Christiansen Sørby
     1  Andrei Cheremskoy
     1  Arthur Paulino
     1  Christian Pehle
     1  Formally Verified Waffle Maker
     1  Hunter Monroe
     1  Jan Hrcek
     1  Joshua Seaton
     1  Kevin Buzzard
     1  Lorenz Leutgeb
     1  Mauricio Collares
     1  Michael Burge
     1  Paul Brinkmeier
     1  Reijo Jaakkola
     1  Severen Redwood
     1  Siddharth Bhat
     1  Tom Ball
     1  Varun Gandhi
     1  WojciechKarpiel
     1  Xavier Noria
     1  gabriel-doriath-dohler
     1  zygi
     1  Бакиновский Максим

v4.0.0-m2

02 Mar 17:49
Compare
Choose a tag to compare
v4.0.0-m2 Pre-release
Pre-release

This is the second milestone release of Lean 4. With too many improvements and bug fixes in almost all parts of the system to list, we would like to single out major improvements to simp and other built-in tactics as well as support for a goal view that make the proving experience more comfortable.