5 lines
172 B
Text
5 lines
172 B
Text
def ack : Nat → Nat → Nat
|
|
| 0, y => y+1
|
|
| x+1, 0 => ack x 1
|
|
| x+1, y+1 => ack x (ack (x+1) y)
|
|
termination_by' PSigma.lex sizeOfWFRel (fun _ => sizeOfWFRel)
|