chore: update RELEASES.md
This commit is contained in:
parent
5707cab7bf
commit
231120c118
1 changed files with 11 additions and 0 deletions
11
RELEASES.md
11
RELEASES.md
|
|
@ -1,6 +1,17 @@
|
|||
v4.0.0-m4 (WIP)
|
||||
---------
|
||||
|
||||
* Improve `#eval` command. Now, when it fails to synthesize a `Lean.MetaEval` instance for the result type, it reduces the type and tries again. The following example now works without additional annotations
|
||||
```lean
|
||||
def Foo := List Nat
|
||||
|
||||
def test (x : Nat) : Foo :=
|
||||
[x, x+1, x+2]
|
||||
|
||||
#eval test 4
|
||||
```
|
||||
|
||||
|
||||
* `rw` tactic can now apply auto-generated equation theorems for a given definition. Example:
|
||||
```lean
|
||||
example (a : Nat) (h : n = 1) : [a].length = n := by
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue