loops.koat

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:03.0
disk size 1007 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 start0))
(VAR A B C D E F)
(RULES
  start(A,B,C,D,E,F) -> Com_1(stop(A,B,C,F,E,F)) :|: 0 >= A + 1 && B = C && D = E && F = A
  start(A,B,C,D,E,F) -> Com_1(lbl121(A,1,C,F - 1,E,F)) :|: A >= 0 && 1 >= A && B = C && D = E && F = A
  start(A,B,C,D,E,F) -> Com_1(lbl101(A,2,C,F,E,F)) :|: A >= 2 && B = C && D = E && F = A
  lbl121(A,B,C,D,E,F) -> Com_1(stop(A,B,C,D,E,F)) :|: A >= 0 && B >= 0 && B >= 1 && D + 1 = 0 && F = A
  lbl121(A,B,C,D,E,F) -> Com_1(lbl121(A,1,C,D - 1,E,F)) :|: D >= 0 && 1 >= D && A >= D + 1 && B >= D + 1 && B >= 1 && D + 1 >= 0 && F = A
  lbl121(A,B,C,D,E,F) -> Com_1(lbl101(A,2,C,D,E,F)) :|: D >= 2 && A >= D + 1 && B >= D + 1 && B >= 1 && D + 1 >= 0 && F = A
  lbl101(A,B,C,D,E,F) -> Com_1(lbl101(A,2*B,C,D,E,F)) :|: D >= B + 1 && B >= 2 && 2*D >= B + 2 && A >= D && F = A
  lbl101(A,B,C,D,E,F) -> Com_1(lbl121(A,B,C,D - 1,E,F)) :|: B >= D && B >= 2 && 2*D >= B + 2 && A >= D && F = A
  start0(A,B,C,D,E,F) -> Com_1(start(A,C,C,E,E,A))
)
popout

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

actions get anonymous link download benchmark