Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/Array.mapIdx
/
.
/
tests
/
lean
/
simpTracePostIssue.lean
blob: 1218722c9b380ff6d1554c4e2f77d3f740881293 [
file
] [
edit
]
def
f
(
x
:
Nat
)
:=
0
+
x
@[
simp
↓]
theorem f_eq
:
f x
=
x
:=
by
simp
[
f
]
set_option tactic
.
simp
.
trace
true
in
example
:
f
(
f x
)
=
x
:=
by
simp
example
:
f
(
f x
)
=
x
:=
by
simp only
[↓
f_eq
]