chore: update RELEASES.md

This commit is contained in:
Leonardo de Moura 2022-03-12 20:02:39 -08:00
parent 5707cab7bf
commit 231120c118

View file

@ -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