svcomp-a-01-c.pl

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:08.0
disk size 361 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
%Source: Ports of programs found in TPDB/C/AProVE_numeric
%query: test_fun(g, g).

test_fun(X, Y) :- loop_outer(X, Y, 0).

loop_outer(X, Y, C) :- X > 0, Y1 is 0, loop_inner(X, Y1, C).
loop_outer(X, Y, C) :- X =< 0.

loop_inner(X, Y, C) :- Y < X, Y1 is Y + 1, C1 is C + 1, loop_inner(X, Y1, C1).
loop_inner(X, Y, C) :- Y >= X, X1 is X - 1, loop_outer(X1, Y, C).
popout

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

actions get anonymous link download benchmark