Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/expose-array-back
/
.
/
tests
/
elab
/
zetaDSimpIssue.lean
blob: 937e051ff9afdb5c0648462ce911b5f593e02021 [
file
] [
edit
]
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