Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
refs/heads/upstream/expose-array-back
/
.
/
tests
/
elab
/
wfLean3Issue.lean
blob: 3a41bb8cb393743a6c11091965965a988f882f3a [
file
] [
edit
]
def
foo
:
Nat
→
Nat
→
Nat
|
0
,
0
=>
1
|
s
+
1
,
0
=>
foo s
0
+
1
|
0
,
b
+
1
=>
foo
0
b
+
1
|
s
+
1
,
b
+
1
=>
foo
(
s
+
1
)
b
+
foo s
(
b
+
1
)
termination_by b s
=>
(
b
,
s
)