Releases: leanprover/lean4
Releases · leanprover/lean4
v4.23.0-rc2
fix: panic in `delabPRange`
v4.23.0-rc1
chore: set LEAN_VERSION_IS_RELEASE=1
v4.22.0
v4.22.0-rc4
refactor: Expose DeclNameGenerator idx (#9342) Backport 275e4838858c1ad7c8618a700fee51c70b923762 from #9020. Co-authored-by: Leni Aniva <[email protected]>
v4.22.0-rc3
chore: fix test
v4.22.0-rc2
fix: lake: source file not in module input trace & some logs dropped …
v4.22.0-rc1
chore: set LEAN_VERSION_IS_RELEASE 1
v4.21.0
fix: remove global `NatCast (Fin n)` instance (#8620) This PR removes the `NatCast (Fin n)` global instance (both the direct instance, and the indirect one via `Lean.Grind.Semiring`), as that instance causes causes `x < n` (for `x : Fin k`, `n : Nat`) to be elaborated as `x < ↑n` rather than `↑x < n`, which is undesirable. Note however that in Mathlib this happens anyway!
v4.21.0-rc3
fix: remove global `NatCast (Fin n)` instance (#8620) This PR removes the `NatCast (Fin n)` global instance (both the direct instance, and the indirect one via `Lean.Grind.Semiring`), as that instance causes causes `x < n` (for `x : Fin k`, `n : Nat`) to be elaborated as `x < ↑n` rather than `↑x < n`, which is undesirable. Note however that in Mathlib this happens anyway!
v4.20.1
chore: revise environment constant addition details (#8610) * Move constant registration with elab env from `Lean.addDecl` to `Lean.Environment.addDeclCore` for compatibility * Make module system behavior independent of `Elab.async` value