This PR deprecates the tactics `simp_arith`, `simp_arith!`, `simp_all_arith` and `simp_all_arith!`. Users can just use the `+arith` option.
8 lines
147 B
Text
8 lines
147 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
|