Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
b8a31ed10eeabaca678ab303ec3f4d7d5a817841
/
.
/
tests
/
lean
/
eqValue.lean
blob: 2ccbcc4bfc9f59ae870494657b8a1d6d8a68ca21 [
file
]
@[
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