6 lines
127 B
Text
6 lines
127 B
Text
def g (x : Nat) (y : Nat) : Nat :=
|
|
if x < y then
|
|
2 * g (x-1) y -- Error here
|
|
else
|
|
0
|
|
termination_by' measure (·.1)
|