closes #3022 With this commit, given the declaration ``` def foo : Nat → Nat | 0 => 2 | n + 1 => foo n ``` when we unfold `foo (n+1)`, we now obtain `foo n` instead of `foo (Nat.add n 0)`.
15 lines
198 B
Text
15 lines
198 B
Text
true
|
|
(match i with
|
|
| 0 => true
|
|
| Nat.succ n => true) &&
|
|
f i
|
|
if i < 5 then 0 else 1
|
|
if i < 5 then 0 else g i j
|
|
i + 1
|
|
i + h i j
|
|
i + 1
|
|
i + i * 2
|
|
i + i * r i j
|
|
i + i * r i j
|
|
let z := s i j;
|
|
z + z
|