sect5-sumSum.koat

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:04.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
(GOAL COMPLEXITY)
(STARTTERM (FUNCTIONSYMBOLS l0))
(VAR A B C D)
(RULES
  l0(A,B,C,D) -> Com_1(l1(0,B,C,D))
  l1(A,B,C,D) -> Com_1(l2(A,B,0,0)) :|: B >= 1
  l2(A,B,C,D) -> Com_1(l2(A,B,C + 1,D + C)) :|: B >= C + 1
  l2(A,B,C,D) -> Com_1(l1(A + D,B - 1,C,D)) :|: C >= B
)
popout

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

actions get anonymous link download benchmark