Before the `zeta` / `zetaDelta` split, `dsimp` was performing `zeta` by going inside of a `let`-expression, performing `zetaDelta`, and then removing the unused `let`-expression.
8 lines
146 B
Text
8 lines
146 B
Text
def f (x : Nat) :=
|
|
let n := x + 1
|
|
n + n
|
|
|
|
example : f x = 2*x + 2 := by
|
|
dsimp [f]
|
|
guard_target =ₛ x + 1 + (x + 1) = 2*x + 2
|
|
simp_arith
|