Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
HEAD
/
.
/
tests
/
elab
/
simproc_builtin_erase.lean
blob: 4a9310eb9dfa0a516fae5e025ee9d2e2ef2c9cd6 [
file
]
example
(
h
:
12
=
x
)
:
10
+
2
=
x
:=
by
simp
guard_target
=ₛ
12
=
x
assumption
attribute
[-
simp
]
Nat
.
reduceAdd
example
(
h
:
12
=
x
)
:
10
+
2
=
x
:=
by
fail_if_success simp
simp
[
Nat
.
reduceAdd
]
guard_target
=ₛ
12
=
x
assumption