A13.itrs

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:14.0
disk size 271 Bytes
downloadable true
type
attribute value
name no_type
processor id 1
description this is the default benchmark type for rejected benchmarks and benchmarks that are not associated with a type.
owning community none
loading contents
(VAR x y z)
(RULES
div(x, y) -> divNat(x >= 0 && y >= 1, x, y)
divNat(TRUE, x, y) -> d(x, y, 0)
d(x, y, z) -> dNat(x >= 0 && y >= 1 && z >= 0, x, y, z)
dNat(TRUE, x, y, z) -> cond(x >= z, x, y-1, z)
cond(TRUE, x, y, z) -> 1 + d(x, y+1, y+1+z)
cond(FALSE, x, y, z) -> 0
)
popout

content may be truncated. 'popout' for larger text window.

actions get anonymous link download benchmark