Version
stringclasses
20 values
section
stringclasses
275 values
text
stringlengths
14
1.01k
pull request
stringlengths
3
15
v4.5.0
Bug fixes
Fixed eager evaluation in `Option.getD` (#3043), prevented panic in `leanPosToLspPos` (#3071), improved short-circuit for `List.all/any` (#2972).
none
v4.5.0
Lake bug fixes
Addressed issues #3036, #3064, #3069 in Lake.
none
v4.4.0
Lake/server options
Per-package server options (`leanOptions`/`moreServerOptions`); `moreServerArgs`→`moreGlobalServerArgs` deprecated.
2858
v4.4.0
Language server
Implemented rename request handler (LSP).
2462
v4.4.0
Language server
Import auto-completion feature.
2904
v4.4.0
Pretty printing
Added `pp.beta` to apply beta reduction in pretty printing.
2864
v4.4.0
Compiler
Embed and check githash in .olean for build verification.
2766
v4.4.0
Termination inference
Guess lexicographic order for well-founded recursion automatically.
2874
v4.4.0
Syntax
Allow trailing commas in tuples, lists, and tactics.
2643
v4.4.0
Bug fixes
Fixes #2628, #2883, #2810, #2925, #2914 in core or server code.
none
v4.4.0
Lake
Update package creation: `lake init .` uses current dir name, disallows invalid pkg names, no uppercase conversion for `lean_lib`, supports non-ident libs, filters irrelevant env extensions, re-unpacks cloud releases, simpler math template, parse build targets in `lake exe`, shadowing for later packages, excludes exe roots from importable modules.
2890
v4.4.0
Lake
Disallow invalid package names (#2637).
2637
v4.4.0
Lake
No uppercase conversion for `lean_lib` (#2567).
2567
v4.4.0
Lake
Support non-identifier library names (#2865).
2865
v4.4.0
Lake
Filter irrelevant env extensions (#2632).
2632
v4.4.0
Lake
Re-unpack cloud releases if build dir is removed (#2928).
2928
v4.4.0
Lake
Simplified math template (#2930).
2930
v4.4.0
Lake
Parse build target in `lake exe` (#2932).
2932
v4.4.0
Lake
Shadow later packages over earlier ones (#2937).
2937
v4.3.0
Simp tactic
`simp [f]` no longer unfolds partial applications of `f` by default (#2042). Use `unfold f` or `simp (config := { unfoldPartialApp := true }) [f]`.
2042
v4.3.0
Simp tactic
Does not use `Decidable` rewriting unless `decide := true` is set in config. (`simp` won't close all decidable goals).
none
v4.3.0
Bug fixes
Addresses #2778, #2790, #2552, #1926, #2669, #2281, #2711, #2685, #2514, #2729, #2361, #2178. Also cancels tasks on doc edit (#2648), removes extra `%` from `Fin.mod` (#2688), avoids DecidableEq in `Array.mem` (#2774), unifies `USize.size` (#1926), better emacs eglot (#2721).
none
v4.3.0
Lake
Sensible defaults for `lake new MyProject math` (#2770), replaced `postUpdate?` with `post_update` (#185), auto-create manifest (#2680), deprecated `:=` syntax in config, `LAKE_PKG_URL_MAP` for overriding URLs (#2709), moved outputs to `.lake` (#2713), updated manifest to v7 (#2801), stricter `lakefile.olean` checks (#2842).
2770
v4.3.0
Lake
Replace `postUpdate?` with `post_update` (#185).
185
v4.3.0
Lake
Auto-create manifest if missing (#2680).
2680
v4.3.0
Lake
Override package URLs with `LAKE_PKG_URL_MAP` (#2709).
2709
v4.3.0
Lake
Move outputs to `.lake` (#2713).
2713
v4.3.0
Lake
Updated manifest format to version 7 (#2801).
2801
v4.3.0
Lake
Stricter checks on `lakefile.olean` (#2842).
2842
v4.2.0
isDefEq
Cache for terms not containing metavariables (#2644).
2644
v4.2.0
Kernel/Environment
Made `Environment.mk`/`Environment.add` private; safer `replay` method (#2604).
2604
v4.2.0
Kernel/Environment
Follow-up environment changes for add (#2642) and replay (#2617).
2642
v4.2.0
Kernel/Environment
Also reference #2617 (replay) for safe environment modifications.
2617
v4.2.0
IO.Process
`IO.Process.output` no longer inherits stdin of the caller.
none
v4.2.0
Performance
Do not inhibit caching of default-level match reduction (#2612).
2612
v4.2.0
Error messages
List valid case tags on invalid input (#2629).
2629
v4.2.0
Derive handlers
Support `DecidableEq` on mutual inductives (#2591).
2591
v4.2.0
Lake
Show path of failed import (#2616), fix macOS linker warnings (#2598), add `postUpdate?` config, improve startup (#2572, #2573).
2616
v4.2.0
Lake
Fix macOS linker warnings (#2598).
2598
v4.2.0
Lake
Improved startup time (#2572).
2572
v4.2.0
Lake
Further improvement to startup (#2573).
2573
v4.2.0
Tactics
`refine e` only yields newly-created metavars, preventing duplicated or closed goals (#2502).
2502
v4.1.0
Error messages
Improve positioning on missing tokens in incomplete tactic proofs (#2393).
2393
v4.1.0
Lake OLean cache
Lake caches `lakefile.lean` in `lakefile.olean`; use `-R/--reconfigure` if config changed.
none
v4.1.0
Lake buildO
Signature changed: args→weakArgs/traceArgs separation.
none
v4.1.0
Imports
Use `Array Import` in `importModules`, `headerToImports`, `parseImports` (#2480).
2480
v4.1.0
Rewrite config
`occs` field in `Rewrite.Config` for controlling pattern occurrences (#2470).
2470
v4.0.0
Meta API
Renamed `Lean.Meta.getConst?` to `getUnfoldableConst?` and `getConstNoEx?` to `getUnfoldableConstNoEx?`. Use `Lean.getConstInfo` instead for public API.
2454
v4.0.0
simp/dsimp
`dsimp / simp / simp_all` now fail by default if they make no progress. Use `(config := { failIfUnchanged := false })` to override.
2336
v4.0.0
simp_all
`simp_all` now preserves hypothesis order more consistently. This may affect tactics that rely on ordering (rename_i, case, next).
2334
v4.0.0
have this
`this` is now a regular identifier introduced by `have :=` in the current tactic block. Previously it was a keyword visible in all scopes.
2247
v4.0.0
Profiling
Show typeclass and tactic names in profiler output.
2170
v4.0.0
calc indentation
`calc` requires consistent indentation for relation/proof pairs. Also supports underscores `_` in the first relation.
1844
v4.0.0
Lake
Update Lake to latest prerelease version.
none
v4.0.0
IDE/LS
Go-to-definition on typeclass projection applications goes to the instance(s).
1767
v4.0.0
Profiling
Include timings in trace messages when `profiler = true`.
1995
v4.0.0
Hover/#check
Pretty-print signatures in hover and `#check <ident>` results.
1943
v4.0.0
Parser
Introduce parser memoization to avoid exponential behavior in ambiguous grammars.
1799
v4.0.0
Syntax expansions
Allow `doSeq` in `let x <- e | seq` pattern (partial/do-block scenario).
1809
v4.0.0
IDE/LS
Hover/go-to-def/refs for options (e.g. set_option).
1783
v4.0.0
Syntax
Add empty type ascription `(e :)` to indicate expression type is not yet known.
1797
v4.0.0
Parser
Make tokens in `<|>` relevant to syntax match (fix parse ambiguities).
1744
v4.0.0
Linter
Add `linter.deprecated` option to silence deprecation warnings.
1768
v4.0.0
Auto-completion
Improve fuzzy-matching heuristics for completions.
1710
v4.0.0
Implementation-detail hypotheses
Support hidden/implementation-only hypotheses that appear in tactic proofs for internal usage.
1692
v4.0.0
cases/induction
Hover info for `cases` or `induction` case names, referencing pattern variables.
1660
v4.0.0
Parser
Prefer longer parse branch even if unsuccessful, for better error messages in ambiguous contexts.
1658
v4.0.0
Hover info
Show the declaration module name in hover text.
1638
v4.0.0
conv mode
New `conv` structuring tactics for advanced rewriting.
1636
v4.0.0
simp trace
`simp` can track steps and print an equivalent `simp only` set. Useful for debugging. (Simp steps recorded.)
1626
v4.0.0
Indentation
Uniform indentation required in tactic blocks/do blocks. (Issue #1606 references.)
none
v4.0.0
AssocList/HashMap/RBMap
Moved these data structures into Lean package. Standard library (std4) will evolve them independently.
none
v4.0.0
std4 library
Std library moved to separate std4 repository on GitHub.
none
v4.0.0
InteractiveGoals
`InteractiveGoals` now includes info about changed parts of a goal after applying a tactic.
1610
v4.0.0
Docstrings
Add `[inheritDoc]` attribute for reusing docstrings across declarations.
1480
v4.0.0
panic behavior
Expose that `panic = default` in more contexts (lower-level improvements).
1614
v4.0.0
LCNF codegen
New code generator project in `src/Lean/Compiler/LCNF` has started.
none
v4.0.0
register_simp_attr
Remove optional description parameter from `register_simp_attr` command.
1566
v4.0.0
Concurrency
Additional concurrency primitives (futures, channels, etc.).
1555
v4.0.0
Traces
Support collapsible traces with messages for improved debugging views.
1448
v4.0.0
Namespaces
Hygienic resolution of namespaces in macros and expansions.
1442
v4.0.0
Float
New `Float` functions for arithmetic or conversions.
1460
v4.0.0
Init docstrings
Added many new docstrings to declarations in `Init`.
none
v4.0.0-m5
Lake
Update Lake to v4.0.0. See Lake's v4.0.0 release notes for changes.
none
v4.0.0-m5
Mutual declarations
Support mutual declarations in different namespaces. The compiler auto-creates a common prefix namespace.
none
v4.0.0-m5
deriving handlers
Allow user-defined deriving handlers for existing typeclasses. See `tests/pkg/deriving/UserDeriving` for example.
none
v4.0.0-m5
Tactics
Add `congr (num)?`. This tactic helps prove equality by structural decomposition of function arguments.
none
v4.0.0-m5
Lint
Missing doc linter for declarations lacking docstrings (#1390).
1390
v4.0.0-m5
match syntax
Check for unused alternatives in `match`. (#1371).
1371
v4.0.0-m5
Completion
Auto-completion for structure instance fields and dotted identifier notation (#123?).
none
v4.0.0-m5
nat_lit
No longer needed for `OfNat` instances. E.g., `instance : OfNat Bit 0` is valid.
1389
v4.0.0-m5
Attributes
Add `[elabAsElim]` to mimic Lean 3's `elab_as_eliminator` for custom induction usage.
none
v4.0.0-m5
Trans class
`Trans` now accepts relations in `Type u`, enabling more flexible rewriting in calc expressions.
none
v4.0.0-m5
Constructors
Allow unescaped keywords as inductive constructor names, using dot notation to avoid conflicts.
none
v4.0.0-m5
Local instance check
Error if parametric local instances are not forward-dependent, can disable via `set_option checkBinderAnnotations false`.
none
v4.0.0-m5
pp.showLetValues
New option to hide let-binders' RHS in goals. Defaults to `true` in tactic-mode, `false` otherwise.
1345
v4.0.0-m5
warningAsError
Option `warningAsError` treats warnings as errors at elaboration time.
none
v4.0.0-m5
Patterns
Support dotted notation and named arguments in match/pattern syntax, e.g. `.forallE (binderType := type) .. => type`.
none
v4.0.0-m5
Attributes references
Go-to-definition for references in attributes like `@[implementedBy func]`, `@[tactic parserName]`, etc.
1350
v4.0.0-m5
MVarId discoverability
Add easier-to-find MVarId methods, deprecate older ones. (#1346 references further improvements).
1346