version stringclasses 20
values | section stringclasses 12
values | text stringlengths 11 1.75k | date stringdate 2022-03-26 21:50:05 2025-12-14 08:01:30 ⌀ | change_type stringclasses 5
values | is_breaking bool 2
classes | affects_mathlib bool 2
classes | files_changed listlengths 0 30 |
|---|---|---|---|---|---|---|---|
v4.27.0 | Tactics | #11656 adds support for Int.sign, Int.fdiv, Int.tdiv, Int.fmod, Int.tmod, and Int.bmod to grind. These operations are just preprocessed away. We assume that they are not very common in practice. Examples: example {x y : Int} : y = 0 → (x.fdiv y) = 0 := by grind example {x y : Int} : y = 0 → (x.tdiv y) = 0 := by grind e... | 2025-12-13T15:16:11Z | Added | false | false | [
"src/Init/Grind/Norm.lean",
"tests/lean/run/grind_11622.lean",
"tests/lean/run/grind_bitvec2.lean"
] |
v4.27.0 | Tactics | #11658 fixes a bug in the internalization of parametric literals in grind. That is, literals whose type is BitVec _ or Fin _. | 2025-12-13T18:07:00Z | Fixed | false | false | [
"src/Lean/Meta/Tactic/Grind/Internalize.lean",
"src/Lean/Meta/Tactic/Grind/Split.lean",
"tests/lean/run/grind_11545.lean"
] |
v4.27.0 | Tactics | #11659 adds MessageData.withNamingContext when generating pattern suggestions at @[grind]. It fixes another issue reported during ItaLean. | 2025-12-13T18:35:46Z | Added | false | false | [
"src/Lean/Meta/Tactic/Grind/EMatchTheorem.lean",
"tests/lean/run/grind_pattern2.lean"
] |
v4.27.0 | Tactics | #11660 fixes another theorem activation issue in grind. | 2025-12-13T18:55:01Z | Fixed | false | false | [
"src/Lean/Meta/Tactic/Grind/Internalize.lean",
"tests/lean/run/grind_ematch_theorem_activation.lean"
] |
v4.27.0 | Tactics | #11663 fixes the grind pattern validator. It covers the case where an instance is not tagged with the implicit instance binder. This happens in declarations such as ZeroMemClass.zero_mem {S : Type} {M : outParam Type} {inst1 : Zero M} {inst2 : SetLike S M} [self : @ZeroMemClass S M inst1 inst2] (s : S) : 0 ∈ s | 2025-12-14T08:01:30Z | Fixed | false | false | [
"src/Lean/Meta/Tactic/Grind/EMatchTheorem.lean",
"tests/lean/run/grind_pattern_validation_instance.lean"
] |
v4.27.0 | Compiler | #11082 prevents symbol clashes between (non-@[export]) definitions from different Lean packages. | 2025-11-19T02:55:09Z | Changed | false | true | [
"doc/dev/ffi.md",
"src/Lean/Compiler/IR/EmitC.lean",
"src/Lean/Compiler/IR/EmitLLVM.lean",
"src/Lean/Compiler/InitAttr.lean",
"src/Lean/Compiler/ModPkgExt.lean",
"src/Lean/Compiler/NameMangling.lean",
"src/Lean/Elab/Frontend.lean",
"src/Lean/Elab/Import.lean",
"src/Lean/Language/Lean.lean",
"src/L... |
v4.27.0 | Compiler | #11185 fixes the reduceArity compiler pass to consider over-applications to functions that have their arity reduced. Previously, this pass assumed that the amount of arguments to applications was always the same as the number of parameters in the signature. This is usually true, since the compiler eagerly introduces pa... | 2025-11-17T08:14:07Z | Added | false | false | [
"src/Lean/Compiler/LCNF/ReduceArity.lean",
"tests/compiler/reduceArity_overapp.lean",
"tests/compiler/reduceArity_overapp.lean.expected.out"
] |
v4.27.0 | Compiler | #11210 fixes a bug in the LCNF simplifier unearthed while working on #11078. In some situations caused by unsafeCast, the simplifier would record incorrect information about cases, leading to further bugs down the line. | 2025-11-04T15:38:41Z | Fixed | false | false | [
"src/Lean/Compiler/LCNF/CompilerM.lean",
"src/Lean/Compiler/LCNF/Simp/DiscrM.lean",
"src/Lean/Compiler/LCNF/Simp/Main.lean",
"tests/lean/run/double_match.lean",
"tests/lean/updateExprIssue.lean.expected.out"
] |
v4.27.0 | Compiler | #11215 fixes an issue where header nesting levels were properly tracked between, but not within, moduledocs. | 2025-11-17T14:22:16Z | Fixed | false | false | [
"src/Lean/Elab/DocString.lean",
"tests/lean/run/versoDocMarkdown.lean",
"tests/lean/run/versoDocNesting.lean"
] |
v4.27.0 | Compiler | #11217 fixes fallout of the closure allocator changes in #10982. As far as we know this bug only meaningfully manifests in non default build configurations without mimalloc such as: cmake --preset release -DUSE_MIMALLOC=OFF | 2025-10-27T10:41:47Z | Fixed | false | false | [
"src/include/lean/lean.h",
"tests/compiler/large_closure_bug.lean",
"tests/compiler/large_closure_bug.lean.expected.out"
] |
v4.27.0 | Compiler | #11310 makes the specializer (correctly) share more cache keys across invocations, causing us to produce less code bloat. | 2025-11-21T23:41:30Z | Fixed | false | false | [
"src/Lean/Compiler/LCNF/Specialize.lean"
] |
v4.27.0 | Compiler | #11340 fixes a miscompilation when encountering projections of non trivial structure types. | 2025-11-24T19:56:04Z | Fixed | false | true | [
"src/Lean/Compiler/LCNF/StructProjCases.lean",
"tests/lean/run/11322.lean"
] |
v4.27.0 | Compiler | #11362 accelerates termination of the ElimDeadBranches compiler pass. | 2025-11-25T23:18:45Z | Changed | false | false | [
"src/Lean/Compiler/LCNF/ElimDeadBranches.lean"
] |
v4.27.0 | Compiler | #11366 sorts the declarations fed into ElimDeadBranches in increasing size. This can improve performance when we are dealing with a lot of iterations. | 2025-11-27T22:39:49Z | Changed | false | false | [
"src/Lean/Compiler/LCNF/ElimDeadBranches.lean",
"tests/lean/4089.lean.expected.out",
"tests/lean/4240.lean.expected.out",
"tests/lean/computedFieldsCode.lean.expected.out",
"tests/lean/doubleReset.lean.expected.out",
"tests/lean/reduceArity.lean.expected.out"
] |
v4.27.0 | Compiler | #11381 fixes a bug where the closed term extraction does not respect the implicit invariant of the c emitter to have closed term decls first, other decls second, within an SCC. This bug has not yet been triggered in the wild but was unearthed during work on upcoming modifications of the specializer. | 2025-11-26T12:44:33Z | Fixed | false | false | [
"src/Lean/Compiler/LCNF/ExtractClosed.lean",
"tests/lean/run/emptyLcnf.lean",
"tests/lean/run/erased.lean"
] |
v4.27.0 | Compiler | #11383 fixes the compilation of structure projections with unboxed arguments marked extern, adding missing dec instructions. It led to leaking single allocations when such functions were used as closures or in the interpreter. | 2025-11-26T19:51:15Z | Fixed | false | false | [
"src/Lean/Compiler/IR/AddExtern.lean",
"tests/lean/externBoxing.lean",
"tests/lean/externBoxing.lean.expected.out"
] |
v4.27.0 | Compiler | #11388 is a followup of #11381 and enforces the invariants on ordering of closed terms and constants required by the EmitC pass properly by toposorting before saving the declarations into the Environment. | 2025-11-26T12:44:33Z | Changed | false | false | [
"src/Lean/Compiler/LCNF/ExtractClosed.lean",
"tests/lean/run/emptyLcnf.lean",
"tests/lean/run/erased.lean"
] |
v4.27.0 | Compiler | #11426 closes #11356. | 2025-12-01T17:56:08Z | Changed | false | false | [
"src/Lean/Compiler/IR/Boxing.lean",
"tests/lean/run/boxing_bug.lean"
] |
v4.27.0 | Compiler | #11445 slightly improves the types involved in creating boxed declarations. Previously the type of the vdecl used for the return was always tobj when returning a boxed scalar. This is not the most precise annotation we can give. | 2025-12-01T15:39:11Z | Changed | false | false | [
"src/Lean/Compiler/IR/Boxing.lean",
"tests/lean/4240.lean.expected.out",
"tests/lean/computedFieldsCode.lean.expected.out",
"tests/lean/run/10934.lean",
"tests/lean/sint_basic.lean.expected.out"
] |
v4.27.0 | Compiler | #11451 adapts the lambda lifter in LCNF to eta contract instead of lambda lift if possible. This prevents the creation of a few hundred unnecessary lambdas across the code base. | 2025-12-02T09:25:46Z | Changed | false | false | [
"src/Lean/Compiler/LCNF/LambdaLifting.lean",
"tests/lean/run/eta_lambda_lift.lean"
] |
v4.27.0 | Compiler | #11517 implements constant folding for Nat.mul | 2025-12-04T23:59:48Z | Added | false | false | [
"src/Lean/Compiler/LCNF/Simp/ConstantFold.lean"
] |
v4.27.0 | Compiler | #11525 makes the LCNF simplifier eliminate cases where all alts are .unreach to just an .unreach. an .unreach | 2025-12-05T20:51:38Z | Changed | false | false | [
"src/Lean/Compiler/LCNF/Simp/Main.lean"
] |
v4.27.0 | Compiler | #11530 introduces the new tagged_return attribute. It allows users to mark extern declarations to be guaranteed to always return tagged return values. Unlike with object or tobject the compiler does not emit reference counting operations for them. In the future information from this attribute will be used for a more po... | 2025-12-08T11:22:57Z | Added | false | false | [
"src/Lean/Compiler/IR/ToIR.lean",
"src/stdlib_flags.h",
"tests/lean/run/tagged_return_1.lean"
] |
v4.27.0 | Compiler | #11576 removes the old ElimDeadBranches pass and shifts the new one past lambda lifting. | 2025-12-11T10:59:56Z | Added | false | false | [
"src/Lean/Compiler/IR.lean",
"src/Lean/Compiler/IR/ElimDeadBranches.lean",
"src/Lean/Compiler/LCNF/Passes.lean",
"src/Lean/Compiler/LCNF/ToDecl.lean",
"tests/lean/run/boxing_bug.lean"
] |
v4.27.0 | Compiler | #11586 allows projections on tagged values in the IR type system. | 2025-12-10T13:55:30Z | Changed | false | false | [
"src/Lean/Compiler/IR/Checker.lean"
] |
v4.27.0 | Documentation | #11119 introduces a clarifying note to "undefined identifier" error messages when the undefined identifier is in a syntactic position where autobinding might generally apply, but where and autobinding is disabled. A corresponding note is made in the lean.unknownIdentifier error explanation. | 2025-11-19T03:35:52Z | Added | true | true | [
"src/Lean/Elab/AutoBound.lean",
"src/Lean/Elab/Term/TermElabM.lean",
"src/Lean/ErrorExplanations/UnknownIdentifier.lean",
"tests/lean/1011.lean.expected.out",
"tests/lean/autoBoundImplicits1.lean.expected.out",
"tests/lean/autoBoundImplicits3.lean",
"tests/lean/autoBoundImplicits3.lean.expected.out",
... |
v4.27.0 | Documentation | #11364 adds missing docstrings for constants that occur in the reference manual. | 2025-11-26T15:30:04Z | Added | false | false | [
"src/Init/Data/ByteArray/Basic.lean",
"src/Init/Data/Iterators/Basic.lean",
"src/Init/Data/Iterators/Consumers/Loop.lean",
"src/Init/Data/Range/Polymorphic/PRange.lean",
"src/Init/Data/String/Basic.lean",
"src/Init/Grind/Ring/Basic.lean",
"src/Init/Grind/Ring/Field.lean"
] |
v4.27.0 | Documentation | #11472 adds missing docstrings for the mkSlice methods. | 2025-12-02T09:25:46Z | Added | false | false | [
"src/Init/Data/Slice/Notation.lean"
] |
v4.27.0 | Documentation | #11550 reviews the docstrings for Std.Do that will appear in the Lean reference manual and adds those that were missing. | 2025-12-09T10:15:11Z | Added | false | true | [
"src/Std/Do/PostCond.lean",
"src/Std/Do/PredTrans.lean",
"src/Std/Do/SPred.lean",
"src/Std/Do/SPred/DerivedLaws.lean",
"src/Std/Do/SPred/Laws.lean",
"src/Std/Do/SPred/Notation.lean",
"src/Std/Do/SPred/Notation/Basic.lean",
"src/Std/Do/SPred/SPred.lean",
"src/Std/Do/SPred/SVal.lean",
"src/Std/Do/Tr... |
v4.27.0 | Documentation | #11575 fixes a typo in the docstring of the cases tactic. | 2025-12-10T08:49:45Z | Fixed | false | false | [
"src/Init/Tactics.lean"
] |
v4.27.0 | Documentation | #11595 documents that tests in tests/lean/run/ run with -Dlinter.all=false, and explains how to enable specific linters when testing linter behavior. | 2025-12-11T01:51:53Z | Changed | false | false | [
"doc/dev/testing.md"
] |
v4.27.0 | Server | #11162 reduces the memory consumption of the language server (the watchdog process in particular). In Mathlib, it reduces memory consumption by about 1GB. | 2025-12-01T11:30:57Z | Changed | false | false | [
"src/Lean/Data/Lsp/Extra.lean",
"src/Lean/Data/Lsp/Internal.lean",
"src/Lean/Data/Lsp/Ipc.lean",
"src/Lean/Elab/Frontend.lean",
"src/Lean/Server/FileWorker.lean",
"src/Lean/Server/FileWorker/RequestHandling.lean",
"src/Lean/Server/References.lean",
"src/Lean/Server/Watchdog.lean",
"src/stdlib_flags.... |
v4.27.0 | Server | #11164 ensures that the code action provided on unknown identifiers correctly inserts public and/or meta in modules | 2025-12-12T21:41:49Z | Fixed | false | true | [
"src/Lean/Elab/Command.lean",
"src/Lean/Elab/InfoTree/Main.lean",
"src/Lean/Elab/InfoTree/Types.lean",
"src/Lean/Elab/MutualDef.lean",
"src/Lean/Server/CodeActions/UnknownIdentifier.lean",
"src/Lean/Server/References.lean",
"src/Lean/Server/Test/Runner.lean",
"tests/lean/interactive/unknownIdentifierC... |
v4.27.0 | Server | #11577 fixes the tactic framework reporting file progress bar ranges that cover up progress inside tactic blocks nested in tactic combinators. This is a purely visual change, incremental re-elaboration inside supported combinators was not affected. | 2025-12-10T10:24:45Z | Fixed | false | true | [
"src/Lean/Elab/Tactic/BuiltinTactic.lean",
"src/Lean/Elab/Tactic/Induction.lean",
"tests/lean/snapshotTree.lean",
"tests/lean/snapshotTree.lean.expected.out"
] |
v4.27.0 | Lake | #11198 fixes an error message in Lake which suggested incorrect lakefile syntax. | 2025-11-17T15:33:10Z | Fixed | false | false | [
"src/lake/Lake/Load/Materialize.lean"
] |
v4.27.0 | Lake | #11216 ensures that the text argument of computeArtifact is always provided in Lake code, fixing a hashing bug with buildArtifactUnlessUpToDate in the process. | 2025-11-17T22:49:43Z | Fixed | false | false | [
"src/lake/Lake/Build/Common.lean",
"src/lake/Lake/Build/Module.lean"
] |
v4.27.0 | Lake | #11270 adds a module resolution procedure to Lake to disambiguate modules that are defined in multiple packages. | 2025-12-03T01:07:26Z | Added | false | true | [
"src/lake/Lake/Build/Facets.lean",
"src/lake/Lake/Build/Infos.lean",
"src/lake/Lake/Build/Job/Monad.lean",
"src/lake/Lake/Build/Module.lean",
"src/lake/Lake/Config/Monad.lean",
"src/lake/Lake/Config/Package.lean",
"src/lake/Lake/Config/Workspace.lean",
"tests/lake/tests/module/test.sh",
"tests/pkg/m... |
v4.27.0 | Lake | #11500 adds a workspace-index to the name of the package used by build target. To clarify the distinction between the different uses of a package's name, this PR also deprecates Package.name for more use-specific variants (e.g., Package.keyName, Package.prettyName, Package.origName). | 2025-12-09T02:30:14Z | Added | true | true | [
"src/lake/Lake/Build/Index.lean",
"src/lake/Lake/Build/Info.lean",
"src/lake/Lake/Build/Infos.lean",
"src/lake/Lake/Build/Key.lean",
"src/lake/Lake/Build/Library.lean",
"src/lake/Lake/Build/Module.lean",
"src/lake/Lake/Build/Package.lean",
"src/lake/Lake/Build/Run.lean",
"src/lake/Lake/Build/Target/... |
v4.27.0 | Other | #11328 fixes freeing memory accidentally retained for each document version in the language server on certain elaboration workloads. The issue must have existed since 4.18.0. | 2025-11-24T10:40:06Z | Fixed | false | false | [
"src/Lean/Environment.lean",
"src/Lean/Meta/Basic.lean",
"tests/bench/speedcenter.exec.velcom.yaml"
] |
v4.27.0 | Other | #11437 adds recording functionality such that shake can more precisely track whether an import should be preserved solely for its attribute commands. | 2025-12-01T20:56:31Z | Added | false | false | [
"src/Lean/Elab/Declaration.lean",
"src/Lean/Environment.lean",
"src/Lean/ExtraModUses.lean",
"stage0/src/stdlib_flags.h",
"tests/lean/run/extraModUses.lean"
] |
v4.27.0 | Other | #11496 implements new flags and annotations for shake for use in Mathlib: Options: --keep-implied Preserves existing imports that are implied by other imports and thus not technically needed anymore --keep-prefix If an import X would be replaced in favor of a more specific import X.Y... it implies, preserves the origin... | 2025-12-05T10:02:08Z | Added | false | true | [
"script/Shake.lean",
"script/lakefile.toml",
"src/Lean/Elab/Declaration.lean",
"src/Lean/Elab/Tactic/Basic.lean",
"src/Lean/ExtraModUses.lean",
"tests/lean/run/extraModUses.lean"
] |
v4.27.0 | Other | module -- shake: keep-all: Preserves all existing imports in this module as is. New imports now needed because of upstream changes may still be added. | null | Added | false | false | [] |
v4.27.0 | Other | import X -- shake: keep: Preserves this specific import in the current module. The most common use case is to preserve a public import that will be needed in downstream modules to make sense of the output of a metaprogram defined in this module. For example, if a tactic is defined that may synthesize a reference to a t... | null | Changed | false | false | [] |
v4.27.0 | Other | #11507 optimizes the filesystem accesses during importing for a ~3% win on Linux, potentially more on other platforms. | 2025-12-05T09:58:36Z | Changed | false | true | [
"src/library/module.cpp"
] |
v4.26.0 | Language | #10763 improves match compilation: Branch on variables in the order suggested by the first remaining alternative, and do not branch when the first remaining alternative does not require it. This fixes https://github.com/leanprover/lean4/issues/10749. With set_option backwards.match.rowMajor false the old behavior can b... | 2025-10-30T20:25:20Z | Fixed | false | true | [
"src/Lean/Meta/Match/Match.lean",
"src/Lean/Meta/Tactic/Cases.lean",
"tests/lean/run/issue10749.lean",
"tests/lean/run/issue10794.lean",
"tests/lean/run/match1.lean",
"tests/lean/run/matchOverlapInaccesible.lean"
] |
v4.26.0 | Language | #10823 lets the match compilation procedure use sparse case analysis when the patterns only match on some but not all constructors of an inductive type. This way, less code is produce. Before, code handling each of the other cases was then optimized and commoned-up by later compilation pipeline, but that is wasteful to... | 2025-11-06T14:17:01Z | Changed | false | true | [
"src/Init/Data/Int/Lemmas.lean",
"src/Lean/Compiler/LCNF/Util.lean",
"src/Lean/Elab/Tactic/RCases.lean",
"src/Lean/Meta/Match/Match.lean",
"src/Lean/Meta/Tactic/Cases.lean",
"src/Lean/Meta/Tactic/Induction.lean",
"tests/bench/reduceMatch.lean",
"tests/lean/run/double_match.lean",
"tests/lean/run/iss... |
v4.26.0 | Language | #10826 fixes the location of the “deprecated constant” and similar error messages on field notation (e.f, (e).f, e |>. f). Fixes #10821. | 2025-10-23T21:18:55Z | Deprecated | false | true | [
"src/Lean/Elab/App.lean",
"tests/lean/1038.lean.expected.out",
"tests/lean/346.lean.expected.out",
"tests/lean/funind_errors.lean.expected.out",
"tests/lean/run/issue10821.lean"
] |
v4.26.0 | Language | #10851 lets match compilation use exfalso as soon as no alternatives are left. This way, the compiler does not have to look at subsequent case splits. | 2025-10-20T12:46:30Z | Changed | false | true | [
"src/Lean/Meta/Match/Match.lean"
] |
v4.26.0 | Language | #10865 makes the spec Std.Do.Spec.forIn'_list and friends more universe polymorphic. | 2025-10-21T09:30:27Z | Changed | false | false | [
"src/Lean/Elab/Tactic/Do/Spec.lean",
"src/Lean/Elab/Tactic/Do/VCGen/SuggestInvariant.lean",
"src/Std/Do/Triple/SpecLemmas.lean",
"tests/lean/run/forInListSpecUnivPoly.lean"
] |
v4.26.0 | Language | #10872 improves the performance of mvcgen by an optimized implementation for try (mpure_intro; trivial). This tactic sequence is used to eagerly discharge VCs and in the process instantiates schematic variables. | 2025-10-21T11:59:08Z | Added | false | false | [
"src/Lean/Elab/Tactic/Do/ProofMode/Cases.lean",
"src/Lean/Elab/Tactic/Do/ProofMode/Have.lean",
"src/Lean/Elab/Tactic/Do/ProofMode/Pure.lean",
"src/Lean/Elab/Tactic/Do/ProofMode/Specialize.lean",
"src/Lean/Elab/Tactic/Do/Spec.lean",
"src/Lean/Elab/Tactic/Do/VCGen.lean",
"src/Std/Do/SPred/DerivedLaws.lean... |
v4.26.0 | Language | #10926 topologically sorts abstracted vars in Meta.Closure.mkValueTypeClosure if MVars are being abstracted. Fixes #10705 | null | Fixed | false | false | [] |
v4.26.0 | Language | #10931 strips the Expr.mdata that WF.Fix uses to associate goal with recursive calls from the goal presented to the tactics. Fixes #10895. | 2025-10-23T21:17:20Z | Fixed | false | true | [
"src/Lean/Elab/PreDefinition/WF/Fix.lean",
"tests/lean/run/issue10895.lean",
"tests/lean/run/wfrecUnary.lean"
] |
v4.26.0 | Language | #10944 runs enableRealizationsForConst on sizeOf declarations. Fixes #10573. | null | Fixed | false | false | [] |
v4.26.0 | Language | #10980 tries to preserve names of pattern variables in match alternatives in decreasing_by, by telescoping into the concrete alternative rather than the type of the matcher's alt. Fixes #10976. | null | Fixed | false | false | [] |
v4.26.0 | Language | #11011 extracts some refactorings from #10763, including dropping dead code and not failing in inaccessibleAsCtor, which leadas to (slightly) better error messages, and also on the grounds that the failing alternative may actually be unreachable. | 2025-10-29T23:47:03Z | Changed | false | true | [
"src/Lean/Meta/Match/Basic.lean",
"src/Lean/Meta/Match/Match.lean",
"tests/lean/match1.lean",
"tests/lean/match1.lean.expected.out",
"tests/lean/run/issue10749.lean",
"tests/lean/run/match1.lean",
"tests/lean/run/match2.lean",
"tests/lean/run/matchOverlapInaccesible.lean"
] |
v4.26.0 | Language | #11024 lets Bool have .ctorIdx like any other inductive. | 2025-10-30T21:41:08Z | Changed | false | false | [
"src/Init/Prelude.lean"
] |
v4.26.0 | Language | #11068 removes the verifyEnum functions from the bv_decide frontend. These functions looked at the implementation of matchers to see if they really do the matching that they claim to do. This breaks that abstraction barrier, and should not be necessary, as only functions with a MatcherInfo env entry are considered here... | 2025-11-06T09:43:06Z | Added | false | true | [
"src/Lean/Elab/Tactic/BVDecide/Frontend/Normalize/TypeAnalysis.lean"
] |
v4.26.0 | Language | #11072 adds “sparse casesOn” constructions. They are similar to .casesOn, but have arms only for some constructors and a catch-all (providing t.ctorIdx ≠ 42 assumptions). The compiler has native support for these constructors and now (because of the similarity) also the per-constructor elimination principles. | 2025-11-05T16:12:28Z | Added | false | true | [
"src/Lean/AuxRecursor.lean",
"src/Lean/Compiler/LCNF/Main.lean",
"src/Lean/Compiler/LCNF/ToLCNF.lean",
"src/Lean/Compiler/LCNF/Util.lean",
"src/Lean/Meta/CasesInfo.lean",
"src/Lean/Meta/Constructions.lean",
"src/Lean/Meta/Constructions/CtorElim.lean",
"src/Lean/Meta/Constructions/CtorIdx.lean",
"src... |
v4.26.0 | Language | #11094 makes workspaceSymbol benchmarks modules, so that they are less sensitive to additions of private symbols in the standard library. | 2025-11-05T18:59:46Z | Changed | false | true | [
"tests/bench/speedcenter.exec.velcom.yaml",
"tests/bench/workspaceSymbols.lean",
"tests/bench/workspaceSymbolsNewRanges.lean",
"tests/common.sh"
] |
v4.26.0 | Language | #11095 makes use of hasIndepIndices. That function was unused since commit 54f6517ca36b237b40e02aac62ea36dbd4179758, but it seems it should be used. | 2025-11-05T19:01:59Z | Changed | false | true | [
"src/Lean/Meta/Tactic/Cases.lean"
] |
v4.26.0 | Language | #11107 tests the missing cases error. | 2025-11-06T14:58:30Z | Changed | false | false | [
"tests/lean/run/matchMissingCase.lean"
] |
v4.26.0 | Language | #11122 fixes a problem for structures with diamond inheritance: rather than copying doc-strings (which are not available unless .server.olean is loaded), we link to them. Adds tests. | 2025-11-10T01:23:42Z | Added | false | true | [
"src/Lean/Elab/Structure.lean",
"tests/pkg/structure_docstrings/StructureDocstrings.lean",
"tests/pkg/structure_docstrings/StructureDocstrings/A.lean",
"tests/pkg/structure_docstrings/StructureDocstrings/B.lean",
"tests/pkg/structure_docstrings/StructureDocstrings/C.lean",
"tests/pkg/structure_docstrings/... |
v4.26.0 | Language | #11125 adds a filter for premise selectors to ensure deprecated theorems are not returned. | 2025-11-10T04:42:17Z | Added | false | false | [
"src/Lean/LibrarySuggestions/Basic.lean"
] |
v4.26.0 | Language | #11132 adds support for grind +suggestions and simp_all? +suggestions in try?. It outputs grind only [X, Y, Z] or simp_all only [X, Y, Z] suggestions (rather than just +suggestions). | 2025-11-11T06:57:48Z | Added | false | false | [
"src/Lean/Elab/Tactic/Try.lean",
"tests/lean/run/try_library_suggestions.lean"
] |
v4.26.0 | Language | #11146 fixes a bug in #11125. Added a test this time ... | 2025-11-12T01:18:18Z | Fixed | false | false | [
"src/Lean/LibrarySuggestions/Basic.lean",
"tests/lean/run/library_suggestions_deprecated.lean"
] |
v4.26.0 | Language | #11150 adds a new, inactive and unused doElem_elab attribute that will allow users to register custom elaborators for doElems in the form of the new type DoElab. The old do elaborator is active by default but can be switched off by disabling the new option backward.do.legacy. | 2025-11-12T14:51:37Z | Added | false | true | [
"src/Init/Control/Except.lean",
"src/Lean/Elab/Do.lean",
"src/Lean/Elab/Do/Basic.lean",
"src/Lean/Elab/Do/Legacy.lean",
"src/Lean/Elab/Do/Switch.lean",
"src/Lean/Elab/ElabRules.lean",
"src/Lean/Elab/Term/TermElabM.lean",
"src/Lean/LocalContext.lean",
"src/Lean/Meta/Basic.lean",
"src/Lean/Meta/Prod... |
v4.26.0 | Language | #11161 adds getEntry/getEntry?/getEntry!/getEntryD operation on DTreeMap. | 2025-11-14T09:31:42Z | Added | false | true | [
"src/Std/Data/DTreeMap/Basic.lean",
"src/Std/Data/DTreeMap/Internal/Cell.lean",
"src/Std/Data/DTreeMap/Internal/Lemmas.lean",
"src/Std/Data/DTreeMap/Internal/Model.lean",
"src/Std/Data/DTreeMap/Internal/Queries.lean",
"src/Std/Data/DTreeMap/Internal/WF/Lemmas.lean",
"src/Std/Data/DTreeMap/Raw/Basic.lean... |
v4.26.0 | Language | #11184 modifies the error message that is returned when more than one synthetic metavariable can't be resolved. | 2025-11-16T00:29:38Z | Fixed | false | false | [
"src/Lean/Elab/SyntheticMVars.lean",
"tests/lean/353.lean.expected.out",
"tests/lean/defaultInstance.lean.expected.out",
"tests/lean/run/due_to_metavariables.lean"
] |
v4.26.0 | Language | #11190 avoids running into an “unknown free variable” when printing the “Failed to compile pattern matching” error. Fixes #11186. | null | Fixed | false | false | [] |
v4.26.0 | Language | #11191 makes sure that inside a realizeConst the maxHeartbeat option is effective. | 2025-11-15T17:55:35Z | Changed | true | true | [
"src/Lean/Meta/Basic.lean"
] |
v4.26.0 | Library | #9515 adds a missing lemma for the List API. | 2025-11-11T04:37:27Z | Added | false | true | [
"src/Init/Data/List/FinRange.lean"
] |
v4.26.0 | Library | #10739 adds two missing NeZero instances for n^0 where n : Nat and n : Int. | 2025-11-14T03:59:35Z | Added | false | false | [
"src/Init/Data/Int/Pow.lean",
"src/Init/Data/Nat/Basic.lean"
] |
v4.26.0 | Library | #10743 renames theorems that use sorted in their name to instead use pairwise. | 2025-10-30T16:30:15Z | Changed | false | false | [
"src/Init/Data/List/Perm.lean",
"src/Init/Data/List/Sort/Lemmas.lean",
"src/Std/Data/DTreeMap/Internal/WF/Lemmas.lean"
] |
v4.26.0 | Library | #10765 extends the all/any functions from hash sets to hash maps and dependent hash maps and verifies them. | 2025-11-15T17:20:23Z | Changed | false | false | [
"src/Std/Data/DHashMap/Basic.lean",
"src/Std/Data/DHashMap/Internal/RawLemmas.lean",
"src/Std/Data/DHashMap/Lemmas.lean",
"src/Std/Data/DHashMap/Raw.lean",
"src/Std/Data/DHashMap/RawLemmas.lean",
"src/Std/Data/HashMap/Basic.lean",
"src/Std/Data/HashMap/Lemmas.lean",
"src/Std/Data/HashMap/Raw.lean",
... |
v4.26.0 | Library | #10769 adds a find? consumer in analogy to List.find? and variants thereof. | 2025-10-20T09:37:01Z | Added | false | true | [
"src/Init/Data/Iterators/Consumers/Loop.lean",
"src/Init/Data/Iterators/Consumers/Monadic/Loop.lean",
"src/Init/Data/Iterators/Lemmas/Consumers/Loop.lean",
"src/Init/Data/Iterators/Lemmas/Consumers/Monadic/Loop.lean",
"src/Init/Data/List/Control.lean"
] |
v4.26.0 | Library | #10776 adds iterators and slices for DTreeMap/TreeMap/TreeSet based on zippers and provides basic lemmas about them. | 2025-11-11T18:12:18Z | Added | false | false | [
"src/Std/Data/DTreeMap.lean",
"src/Std/Data/DTreeMap/Internal/Def.lean",
"src/Std/Data/DTreeMap/Internal/Zipper.lean",
"src/Std/Data/DTreeMap/Iterator.lean",
"src/Std/Data/DTreeMap/Raw.lean",
"src/Std/Data/DTreeMap/Raw/Iterator.lean",
"src/Std/Data/DTreeMap/Raw/Slice.lean",
"src/Std/Data/DTreeMap/Slic... |
v4.26.0 | Library | #10820 shows that the iterators returned by String.Slice.split and String.Slice.splitInclusive are finite as long as the forward matcher iterator for the pattern is finite (which we already know for all of our patterns). | 2025-10-20T10:46:00Z | Changed | false | false | [
"src/Init/Data/Iterators/Basic.lean",
"src/Init/Data/Iterators/Combinators/Monadic/FilterMap.lean",
"src/Init/Data/String/Pattern/Basic.lean",
"src/Init/Data/String/Slice.lean",
"tests/lean/run/string_slice.lean"
] |
v4.26.0 | Library | #10852 renames String.Range to Lean.Syntax.Range, to reflect that it is not part of the standard library. | 2025-10-21T07:55:51Z | Changed | false | true | [
"src/Lean/Data/Lsp/Utf16.lean",
"src/Lean/DocString/Links.lean",
"src/Lean/Elab/DocString/Builtin.lean",
"src/Lean/Elab/DocString/Builtin/Parsing.lean",
"src/Lean/Elab/InfoTree/InlayHints.lean",
"src/Lean/Language/Basic.lean",
"src/Lean/Linter/ConstructorAsVariable.lean",
"src/Lean/Linter/UnusedSimpAr... |
v4.26.0 | Library | #10853 renames String.endPos to String.rawEndPos, as in a future release the name String.endPos will be taken by the function that is currently called String.endValidPos. | 2025-10-21T11:52:36Z | Changed | false | true | [
"script/Modulize.lean",
"script/Shake.lean",
"src/Init/Data/Format/Basic.lean",
"src/Init/Data/String/Basic.lean",
"src/Init/Meta/Defs.lean",
"src/Init/Prelude.lean",
"src/Init/System/FilePath.lean",
"src/Lean/Data/Lsp/LanguageFeatures.lean",
"src/Lean/DocString/Add.lean",
"src/Lean/DocString/Exte... |
v4.26.0 | Library | #10854 fixes the IPv4 address encoding from libuv to lean | 2025-10-21T14:40:41Z | Fixed | false | false | [
"src/runtime/uv/dns.cpp",
"tests/lean/run/async_dns.lean"
] |
v4.26.0 | Library | #10865 makes the spec Std.Do.Spec.forIn'_list and friends more universe polymorphic. | 2025-10-21T09:30:27Z | Changed | false | false | [
"src/Lean/Elab/Tactic/Do/Spec.lean",
"src/Lean/Elab/Tactic/Do/VCGen/SuggestInvariant.lean",
"src/Std/Do/Triple/SpecLemmas.lean",
"tests/lean/run/forInListSpecUnivPoly.lean"
] |
v4.26.0 | Library | #10896 adds union operations on DTreeMap/TreeMap/TreeSet and their raw variants and provides lemmas about union operations. | 2025-11-03T14:11:48Z | Added | false | false | [
"src/Std/Data/DHashMap/Lemmas.lean",
"src/Std/Data/DHashMap/RawLemmas.lean",
"src/Std/Data/DTreeMap/Basic.lean",
"src/Std/Data/DTreeMap/Internal/Lemmas.lean",
"src/Std/Data/DTreeMap/Internal/Operations.lean",
"src/Std/Data/DTreeMap/Internal/Queries.lean",
"src/Std/Data/DTreeMap/Internal/WF/Defs.lean",
... |
v4.26.0 | Library | #10933 adds the basic infrastructure to perform termination proofs about String.ValidPos and String.Slice.Pos. | 2025-10-27T10:28:02Z | Added | false | true | [
"src/Init/Data/ByteArray/Lemmas.lean",
"src/Init/Data/String.lean",
"src/Init/Data/String/Basic.lean",
"src/Init/Data/String/Defs.lean",
"src/Init/Data/String/Lemmas.lean",
"src/Init/Data/String/Lemmas/Splits.lean",
"src/Init/Data/String/Modify.lean",
"src/Init/Data/String/Pattern/Char.lean",
"src/I... |
v4.26.0 | Library | #10941 removes a redundant instance requirement from Std.instIrreflLtOfIsPreorderOfLawfulOrderLT. | 2025-10-30T13:49:02Z | Removed | false | false | [
"src/Init/Data/Order/Lemmas.lean"
] |
v4.26.0 | Library | #10946 adds union operation on ExtDHashMap/ExtHashMap/ExtHashSet nd provides lemmas about union operations. | 2025-11-10T14:12:24Z | Added | false | false | [
"src/Std/Data/DHashMap/Basic.lean",
"src/Std/Data/DHashMap/Internal/RawLemmas.lean",
"src/Std/Data/DHashMap/Lemmas.lean",
"src/Std/Data/DHashMap/Raw.lean",
"src/Std/Data/DHashMap/RawLemmas.lean",
"src/Std/Data/ExtDHashMap/Basic.lean",
"src/Std/Data/ExtDHashMap/Lemmas.lean",
"src/Std/Data/ExtHashMap/Ba... |
v4.26.0 | Library | #10952 replaces Iter(M).size with the Iter(M).count. While the former used a special IteratorSize type class, the latter relies on IteratorLoop. The IteratorSize class is deprecated. The PR also renames lemmas about ranges be replacing _Rcc with _rcc, _Rco with _roo (and so on) in names, in order to be more consistent ... | 2025-11-12T17:06:57Z | Deprecated | false | true | [
"src/Init/Data/Array/Lex/Lemmas.lean",
"src/Init/Data/Iterators/Combinators/Monadic/Attach.lean",
"src/Init/Data/Iterators/Combinators/Monadic/FilterMap.lean",
"src/Init/Data/Iterators/Combinators/Monadic/ULift.lean",
"src/Init/Data/Iterators/Consumers/Loop.lean",
"src/Init/Data/Iterators/Consumers/Monadi... |
v4.26.0 | Library | #10966 fixes some mis-stated lemmas which should have been about the .Raw variants of maps. | 2025-10-26T08:09:57Z | Fixed | false | true | [
"src/Std/Data/DTreeMap/Raw/Lemmas.lean",
"src/Std/Data/TreeSet/Raw/Lemmas.lean"
] |
v4.26.0 | Library | #10986 defines String.Slice.replace and redefines String.replace to use the Slice version. | 2025-10-29T08:09:51Z | Changed | false | false | [
"src/Init/Data/String.lean",
"src/Init/Data/String/Modify.lean",
"src/Init/Data/String/Search.lean",
"src/Init/Data/String/Slice.lean",
"src/Init/Data/String/ToSlice.lean",
"src/Lean/Compiler/FFI.lean",
"src/Lean/Data/Lsp/Utf16.lean",
"src/Lean/DocString/Markdown.lean",
"tests/lean/run/string_replac... |
v4.26.0 | Library | #10993 allows grind to work extensionally on extensional maps/sets. | 2025-10-28T05:41:54Z | Changed | false | false | [
"src/Std/Data/ExtDHashMap/Lemmas.lean",
"src/Std/Data/ExtDTreeMap/Lemmas.lean",
"src/Std/Data/ExtHashMap/Lemmas.lean",
"src/Std/Data/ExtHashSet/Lemmas.lean",
"src/Std/Data/ExtTreeMap/Lemmas.lean",
"src/Std/Data/ExtTreeSet/Lemmas.lean",
"tests/lean/run/grind_ExtTreeSet.lean"
] |
v4.26.0 | Library | #11006 removes the duplicate lemmas Std.Do.SPred.{and_pure,or_pure,imp_pure,entails_pure_intro}. | 2025-10-29T07:44:48Z | Removed | false | false | [
"src/Std/Do/SPred/DerivedLaws.lean",
"src/Std/Do/SPred/Laws.lean"
] |
v4.26.0 | Library | #11008 inlines several Decidable instances for performance reasons. | 2025-10-29T11:25:51Z | Changed | false | false | [
"src/Init/Core.lean",
"src/Init/Prelude.lean",
"src/Init/PropLemmas.lean",
"tests/lean/run/10934.lean"
] |
v4.26.0 | Library | #11017 establishes String.ofList and String.toList as the preferred method for converting between strings and lists of characters and deprecates the alternatives String.mk, List.asString and String.data. | 2025-10-31T15:06:06Z | Deprecated | true | true | [
"src/Init/Data/BitVec/Basic.lean",
"src/Init/Data/Repr.lean",
"src/Init/Data/String/Basic.lean",
"src/Init/Data/String/Bootstrap.lean",
"src/Init/Data/String/Defs.lean",
"src/Init/Data/String/Lemmas.lean",
"src/Init/Data/String/Modify.lean",
"src/Lean/DocString/Parser.lean",
"src/Lean/Elab/StructIns... |
v4.26.0 | Library | #11019 introduces slices of lists that are available via slice notation (e.g., xs[1...5]). | 2025-11-14T11:53:36Z | Added | true | true | [
"src/Init/Data/Iterators.lean",
"src/Init/Data/Iterators/Basic.lean",
"src/Init/Data/Iterators/Combinators.lean",
"src/Init/Data/Iterators/Combinators/Monadic.lean",
"src/Init/Data/Iterators/Combinators/Monadic/Take.lean",
"src/Init/Data/Iterators/Combinators/Take.lean",
"src/Init/Data/Iterators/Lemmas.... |
v4.26.0 | Library | #11021 adds more theory about Splits for strings and deduces the first user-facing String lemma, String.toList_map. | 2025-11-01T14:18:41Z | Added | false | false | [
"doc/examples/palindromes.lean",
"src/Init/Data/Array/Lemmas.lean",
"src/Init/Data/List/Lemmas.lean",
"src/Init/Data/String/Basic.lean",
"src/Init/Data/String/Lemmas.lean",
"src/Init/Data/String/Lemmas/Basic.lean",
"src/Init/Data/String/Lemmas/Modify.lean",
"src/Init/Data/String/Lemmas/Splits.lean",
... |
v4.26.0 | Library | #11058 changes Nat.ble by joining the two Nat.ble Nat.zero _ cases into one, allowing decide (0 <= x) = true and decide (0 < succ x) = true to be solvable by rfl. | 2025-11-02T13:02:34Z | Changed | false | false | [
"src/Init/Prelude.lean"
] |
v4.26.0 | Library | #11060 add list min and max operations to complement min? and max? ones in the same vain as head? and head. | 2025-11-10T10:22:01Z | Added | false | true | [
"src/Init/Data/List/Basic.lean",
"src/Init/Data/List/Impl.lean",
"src/Init/Data/List/Lemmas.lean",
"src/Init/Data/List/MinMax.lean"
] |
v4.26.0 | Library | #11070 adds union operation on ExtDHashMap/ExtHashMap/ExtHashSet nd provides lemmas about union operations. | 2025-11-11T17:14:23Z | Added | false | false | [
"src/Std/Data/DTreeMap/Internal/Lemmas.lean",
"src/Std/Data/DTreeMap/Lemmas.lean",
"src/Std/Data/DTreeMap/Raw/Lemmas.lean",
"src/Std/Data/ExtDTreeMap/Basic.lean",
"src/Std/Data/ExtDTreeMap/Lemmas.lean",
"src/Std/Data/ExtTreeMap/Basic.lean",
"src/Std/Data/ExtTreeMap/Lemmas.lean",
"src/Std/Data/ExtTreeS... |
v4.26.0 | Library | #11076 adds getEntry/getEntry?/getEntry!/getEntryD operation on DHashMap. | 2025-11-12T17:23:17Z | Added | false | false | [
"src/Std/Data/DHashMap/Basic.lean",
"src/Std/Data/DHashMap/Internal/AssocList/Basic.lean",
"src/Std/Data/DHashMap/Internal/AssocList/Lemmas.lean",
"src/Std/Data/DHashMap/Internal/Defs.lean",
"src/Std/Data/DHashMap/Internal/Model.lean",
"src/Std/Data/DHashMap/Internal/RawLemmas.lean",
"src/Std/Data/DHash... |
v4.26.0 | Library | #11100 adds theorem Int.ediv_pow {a b : Int} {n : Nat} (hab : b ∣ a) : (a / b) ^ n = a ^ n / b ^ n and related lemmas. | 2025-11-06T06:38:22Z | Added | false | false | [
"src/Init/Data/Dyadic/Basic.lean",
"src/Init/Data/Int/DivMod.lean",
"src/Init/Data/Int/DivMod/Lemmas.lean",
"src/Init/Data/Int/DivMod/Pow.lean",
"src/Init/Data/Int/Pow.lean"
] |
v4.26.0 | Library | #11102 adds some annotations missing in the Array bootstrapping files. | 2025-11-06T05:45:13Z | Added | false | false | [
"src/Init/Data/Array/Basic.lean"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.