Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/repeat
/
.
/
tests
/
lean
/
eqValue.lean
blob: 2ccbcc4bfc9f59ae870494657b8a1d6d8a68ca21 [
file
] [
edit
]
@[
simp
]
def
f
(
x
:
Nat
)
:
Nat
:=
match x
with
|
0
=>
1
|
100
=>
2
|
1000
=>
3
|
x
+
1
=>
f x
#check f._eq_1
#check f._eq_2
#check f._eq_3
#check f._eq_4