%------------------------------------------------------------------------------
% File : Vampire---5.0.1
% Problem : DAT074_1 : TPTP v9.3.1. Released v6.1.0.
% Transfm : none
% Format : tptp:raw
% Command : run_vampire /export/starexec/sandbox/benchmark/theBenchmark.p 300 THM
% Computer : n002.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8046.5625MB
% OS : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Tue Sep 29 09:47:14 AM UTC 2026
% Result : Theorem 3.95s 1.43s
% Output : Refutation 3.95s
% Verified :
% SZS Type : Refutation
% Derivation depth : 19
% Number of leaves : 9
% Syntax : Number of formulae : 40 ( 14 unt; 0 typ; 0 def)
% Number of atoms : 127 ( 31 equ)
% Maximal formula atoms : 7 ( 3 avg)
% Number of connectives : 134 ( 47 ~; 63 |; 12 &)
% ( 3 <=>; 9 =>; 0 <=; 0 <~>)
% Maximal formula depth : 12 ( 6 avg)
% Maximal term depth : 3 ( 1 avg)
% Number arithmetic : 229 ( 80 atm; 10 fun; 59 num; 80 var)
% Number of types : 3 ( 1 usr; 1 ari; 0 dat; 0 cdt)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of predicates : 8 ( 3 usr; 1 prp; 0-3 aty)
% Number of functors : 11 ( 8 usr; 2 con; 0-3 aty)
% Number of variables : 88 ( 88 !; 0 ?; 88 :)
% Comments :
%------------------------------------------------------------------------------
tff(type_def_5,type,
array: $tType ).
tff(func_def_0,type,
read: ( array * $int ) > $int ).
tff(func_def_1,type,
write: ( array * $int * $int ) > array ).
tff(func_def_2,type,
init: $int > array ).
tff(func_def_3,type,
max: ( array * $int ) > $int ).
tff(func_def_5,type,
rev: ( array * $int ) > array ).
tff(func_def_10,type,
sK0: ( array * $int * $int ) > $int ).
tff(func_def_11,type,
sK1: ( $int * array * array ) > $int ).
tff(func_def_12,type,
sK2: ( array * array ) > $int ).
tff(pred_def_4,type,
sorted: ( array * $int ) > $o ).
tff(pred_def_6,type,
inRange: ( array * $int * $int ) > $o ).
tff(pred_def_7,type,
distinct: ( array * $int ) > $o ).
tff(f4,axiom,
! [X1: $int,X0: $int] : ( read(init(X0),X1) = X0 ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',ax3) ).
tff(f8,axiom,
! [X1: $int,X0: array] :
( distinct(X0,X1)
<=> ! [X2: $int,X3: $int] :
( ( $greater(X1,X3)
& $greater(X1,X2)
& $greatereq(X2,0)
& $greatereq(X3,0) )
=> ( ( read(X0,X2) = read(X0,X3) )
=> ( X2 = X3 ) ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',distinct) ).
tff(f10,conjecture,
~ ! [X1: $int,X0: $int] : distinct(init(X0),X1),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',c2) ).
tff(f11,negated_conjecture,
~ ~ ! [X1: $int,X0: $int] : distinct(init(X0),X1),
inference(negated_conjecture,[status(cth)],[f10]) ).
tff(f15,plain,
! [X1: $int,X0: array] :
( distinct(X0,X1)
<=> ! [X2: $int,X3: $int] :
( ( $less(X3,X1)
& $less(X2,X1)
& ~ $less(X2,0)
& ~ $less(X3,0) )
=> ( ( read(X0,X2) = read(X0,X3) )
=> ( X2 = X3 ) ) ) ),
inference(theory_normalization,[],[f8]) ).
tff(f17,plain,
! [X0: $int,X1: $int] : ( $sum(X1,X0) = $sum(X0,X1) ),
introduced(definition,[],[tha_commutativity]) ).
tff(f19,plain,
! [X0: $int] : ( $sum(X0,0) = X0 ),
introduced(definition,[],[tha_right_identity]) ).
tff(f22,plain,
! [X0: $int] : ~ $less(X0,X0),
introduced(definition,[],[tha_non-reflexivity]) ).
tff(f23,plain,
! [X2: $int,X0: $int,X1: $int] :
( ~ $less(X1,X2)
| ~ $less(X0,X1)
| $less(X0,X2) ),
introduced(definition,[],[tha_transitivity]) ).
tff(f26,plain,
! [X0: $int,X1: $int] :
( $less(X1,$sum(X0,1))
| $less(X0,X1) ),
introduced(definition,[],[tha_order_plus_one_dichotomy]) ).
tff(f28,plain,
! [X0: $int,X1: $int] :
( ~ $less(X1,$sum(X0,1))
| ~ $less(X0,X1) ),
introduced(definition,[],[tha_extra_integer_ordering]) ).
tff(f30,plain,
! [X0: $int,X1: $int] : ( read(init(X1),X0) = X1 ),
inference(rectify,[],[f4]) ).
tff(f35,plain,
! [X1: $int,X0: $int] : distinct(init(X0),X1),
inference(flattening,[],[f11]) ).
tff(f36,plain,
! [X0: $int,X1: array] :
( ! [X2: $int,X3: $int] :
( ( $less(X2,X0)
& $less(X3,X0)
& ~ $less(X3,0)
& ~ $less(X2,0) )
=> ( ( read(X1,X2) = read(X1,X3) )
=> ( X2 = X3 ) ) )
<=> distinct(X1,X0) ),
inference(rectify,[],[f15]) ).
tff(f38,plain,
! [X0: $int,X1: array] :
( distinct(X1,X0)
=> ! [X2: $int,X3: $int] :
( ( $less(X2,X0)
& $less(X3,X0)
& ~ $less(X3,0)
& ~ $less(X2,0) )
=> ( ( read(X1,X2) = read(X1,X3) )
=> ( X2 = X3 ) ) ) ),
inference(unused_predicate_definition_removal,[],[f36]) ).
tff(f39,plain,
! [X0: $int,X1: array] :
( ! [X2: $int,X3: $int] :
( ( X2 = X3 )
| ( read(X1,X2) != read(X1,X3) )
| ~ $less(X2,X0)
| ~ $less(X3,X0)
| $less(X3,0)
| $less(X2,0) )
| ~ distinct(X1,X0) ),
inference(ennf_transformation,[],[f38]) ).
tff(f40,plain,
! [X0: $int,X1: array] :
( ~ distinct(X1,X0)
| ! [X3: $int,X2: $int] :
( $less(X3,0)
| ~ $less(X3,X0)
| ( read(X1,X2) != read(X1,X3) )
| ~ $less(X2,X0)
| ( X2 = X3 )
| $less(X2,0) ) ),
inference(flattening,[],[f39]) ).
tff(f48,plain,
! [X0: $int,X1: $int] : distinct(init(X1),X0),
inference(rectify,[],[f35]) ).
tff(f53,plain,
! [X0: $int,X1: array] :
( ~ distinct(X1,X0)
| ! [X2: $int,X3: $int] :
( $less(X2,0)
| ~ $less(X2,X0)
| ( read(X1,X2) != read(X1,X3) )
| ~ $less(X3,X0)
| ( X2 = X3 )
| $less(X3,0) ) ),
inference(rectify,[],[f40]) ).
tff(f58,plain,
! [X0: $int,X1: $int] : distinct(init(X1),X0),
inference(cnf_transformation,[],[f48]) ).
tff(f63,plain,
! [X0: $int,X1: $int] : ( read(init(X1),X0) = X1 ),
inference(cnf_transformation,[],[f30]) ).
tff(f65,plain,
! [X2: $int,X3: $int,X0: $int,X1: array] :
( ( read(X1,X2) != read(X1,X3) )
| ~ $less(X3,X0)
| $less(X3,0)
| ~ $less(X2,X0)
| ( X2 = X3 )
| $less(X2,0)
| ~ distinct(X1,X0) ),
inference(cnf_transformation,[],[f53]) ).
tff(f75,plain,
! [X0: $int] : $less(X0,$sum(X0,1)),
inference(resolution,[],[f26,f22]) ).
tff(f77,plain,
! [X0: $int,X1: $int] :
( $less(X1,$sum(1,X0))
| $less(X0,X1) ),
inference(superposition,[],[f26,f17]) ).
tff(f83,plain,
! [X0: $int,X1: $int] :
( ~ $less(X1,$sum(1,X0))
| ~ $less(X0,X1) ),
inference(superposition,[],[f28,f17]) ).
tff(f91,plain,
! [X0: $int] :
( $less(0,X0)
| $less(X0,1) ),
inference(superposition,[],[f77,f19]) ).
tff(f129,plain,
! [X0: $int] :
( ~ $less(0,X0)
| ~ $less(X0,1) ),
inference(superposition,[],[f83,f19]) ).
tff(f154,plain,
! [X0: $int] :
( ~ $less($sum(X0,1),1)
| $less(X0,0) ),
inference(resolution,[],[f129,f26]) ).
tff(f282,plain,
! [X2: $int,X3: $int,X0: $int,X1: $int] :
( $less(X1,0)
| ( read(init(X0),X1) != X0 )
| $less(X2,0)
| ~ $less(X2,X3)
| ~ $less(X1,X3)
| ( X1 = X2 )
| ~ distinct(init(X0),X3) ),
inference(superposition,[],[f65,f63]) ).
tff(f287,plain,
! [X2: $int,X3: $int,X0: $int,X1: $int] :
( ~ $less(X2,X3)
| ( X1 = X2 )
| $less(X2,0)
| ~ distinct(init(X0),X3)
| $less(X1,0)
| ~ $less(X1,X3) ),
inference(forward_subsumption_resolution,[],[f282,f63]) ).
tff(f289,plain,
! [X2: $int,X3: $int,X1: $int] :
( ~ $less(X2,X3)
| ~ $less(X1,X3)
| $less(X1,0)
| $less(X2,0)
| ( X1 = X2 ) ),
inference(forward_subsumption_resolution,[],[f287,f58]) ).
tff(f291,plain,
! [X0: $int,X1: $int] :
( $less(X1,1)
| $less(X0,0)
| $less(0,0)
| ( 0 = X0 )
| ~ $less(X0,X1) ),
inference(resolution,[],[f289,f91]) ).
tff(f306,plain,
! [X0: $int,X1: $int] :
( ~ $less(X0,X1)
| $less(X1,1)
| $less(X0,0)
| ( 0 = X0 ) ),
inference(evaluation,[],[f291]) ).
tff(f332,plain,
! [X0: $int] :
( $less($sum(X0,1),1)
| ( 0 = X0 )
| $less(X0,0) ),
inference(resolution,[],[f306,f75]) ).
tff(f339,plain,
! [X0: $int] :
( $less(X0,0)
| ( 0 = X0 ) ),
inference(forward_subsumption_resolution,[],[f332,f154]) ).
tff(f361,plain,
! [X0: $int,X1: $int] :
( ~ $less(X1,X0)
| $less(X1,0)
| ( 0 = X0 ) ),
inference(resolution,[],[f339,f23]) ).
tff(f389,plain,
! [X0: $int] :
( $less(X0,0)
| $less(0,X0)
| ( 0 = 1 ) ),
inference(resolution,[],[f361,f91]) ).
tff(f397,plain,
! [X0: $int] :
( $less(0,X0)
| $less(X0,0) ),
inference(evaluation,[],[f389]) ).
tff(f422,plain,
$less(0,0),
inference(factoring,[],[f397]) ).
tff(f424,plain,
$false,
inference(evaluation,[],[f422]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.04 % Problem : DAT074_1 : TPTP v9.3.1. Released v6.1.0.
% 0.00/0.08 % Command : run_vampire /export/starexec/sandbox/benchmark/theBenchmark.p 300 THM
% 0.11/0.22 % Computer : n002.cluster.edu
% 0.11/0.22 % Model : x86_64 x86_64
% 0.11/0.22 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.11/0.22 % Memory : 8046.5625MB
% 0.11/0.22 % OS : Linux 6.8.0-71-generic
% 0.11/0.22 % CPULimit : 300
% 0.11/0.22 % WCLimit : 300
% 0.11/0.22 % DateTime : Tue Sep 29 00:10:22 UTC 2026
% 0.11/0.22 % CPUTime :
% 0.11/0.22 Running run_vampire /export/starexec/sandbox/benchmark/theBenchmark.p 300 THM
% 0.27/0.28 Running first-order theorem proving
% 0.27/0.28 Running: /export/starexec/sandbox/solver/bin/vampire --input_syntax tptp --output_axiom_names on --mode casc -m 16384 --cores 7 -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 3.95/1.43 % (911523)Detected arithmetic, will pick strategies from an ALASCA-aware ARI schedule.
% 3.95/1.43 % (911537)lrs+10_1_tgt=ground:sas=z3:si=on:random_seed=1240748652:i=33:rtra=on_2999 on theBenchmark for (2999ds/33Mi)
% 3.95/1.43 % (911535)dis+21_64_to=kbo:sil=128000:si=on:sp=weighted_frequency:uwa=alasca_can_abstract:random_seed=2751718077:i=4:rtra=on_2999 on theBenchmark for (2999ds/4Mi)
% 3.95/1.43 % (911535)Instruction limit reached!
% 3.95/1.43 % (911535)------------------------------
% 3.95/1.43 % (911535)Version: Vampire 5.0.1 (Release build, commit ea8961452 on 2026-07-16 15:14:34 +0200)
% 3.95/1.43 % (911535)Linked with Z3 4.14.0.0 3c47fd96cf5645d0c42b2c819d9e9a84380aa721 z3-4.8.4-9178-g3c47fd96c
% 3.95/1.43 % (911535)CaDiCaL version: 2.1.3
% 3.95/1.43 % (911535)Termination reason: Instruction limit
% 3.95/1.43 % (911535)Termination phase: Saturation
% 3.95/1.43 % (911535)Time elapsed: 0.005 s
% 3.95/1.43 % (911535)Peak memory usage: 89 MB
% 3.95/1.43 % (911535)Instructions burned: 4 (million)
% 3.95/1.43 % (911537)First to succeed.
% 3.95/1.43 % (911537)Solution written to "/export/starexec/sandbox/tmp/vampire-proof-911523"
% 3.95/1.43 % (911534)lrs+1002_4:1_to=lpo:sil=64000:si=on:br=off:random_seed=76099569:s2a=on:i=7:rtra=on:inst=on_2999 on theBenchmark for (2999ds/7Mi)
% 3.95/1.43 % (911533)dis+10_3_slsqr=1,4:to=lpo:sil=128000:thi=strong:si=on:uwa=off:s2agt=20:slsqc=1:slsq=on:random_seed=1925439222:i=201:slsql=off:asg=cautious:rtra=on:gtg=all:ss=axioms:sgt=16_2999 on theBenchmark for (2999ds/201Mi)
% 3.95/1.43 % (911531)dis+1002_16:1_to=lpo:sil=64000:sas=z3:si=on:norm_ineq=on:gve=force:uwa=one_side_constant:random_seed=3196145834:i=12:doe=on:rtra=on:gtg=exists_top:ss=axioms_2999 on theBenchmark for (2999ds/12Mi)
% 3.95/1.43 % (911532)dis+1002_1_to=kbo:sil=128000:tgt=ground:sas=z3:si=on:spb=units:tha=off:random_seed=1026762551:i=307:kws=precedence:nm=0:rtra=on_2999 on theBenchmark for (2999ds/307Mi)
% 3.95/1.43 % (911534)Instruction limit reached!
% 3.95/1.43 % (911534)------------------------------
% 3.95/1.43 % (911534)Version: Vampire 5.0.1 (Release build, commit ea8961452 on 2026-07-16 15:14:34 +0200)
% 3.95/1.43 % (911534)Linked with Z3 4.14.0.0 3c47fd96cf5645d0c42b2c819d9e9a84380aa721 z3-4.8.4-9178-g3c47fd96c
% 3.95/1.43 % (911534)CaDiCaL version: 2.1.3
% 3.95/1.43 % (911534)Termination reason: Instruction limit
% 3.95/1.43 % (911534)Termination phase: Saturation
% 3.95/1.43 % (911534)Time elapsed: 0.009 s
% 3.95/1.43 % (911534)Peak memory usage: 88 MB
% 3.95/1.43 % (911534)Instructions burned: 7 (million)
% 3.95/1.43 % (911536)lrs+10_1_to=lpo:sas=z3:si=on:tha=off:random_seed=76906063:i=46:rtra=on_2999 on theBenchmark for (2999ds/46Mi)
% 3.95/1.43 % (911531)Instruction limit reached!
% 3.95/1.43 % (911531)------------------------------
% 3.95/1.43 % (911531)Version: Vampire 5.0.1 (Release build, commit ea8961452 on 2026-07-16 15:14:34 +0200)
% 3.95/1.43 % (911531)Linked with Z3 4.14.0.0 3c47fd96cf5645d0c42b2c819d9e9a84380aa721 z3-4.8.4-9178-g3c47fd96c
% 3.95/1.43 % (911531)CaDiCaL version: 2.1.3
% 3.95/1.43 % (911531)Termination reason: Instruction limit
% 3.95/1.43 % (911531)Termination phase: Saturation
% 3.95/1.43 % (911531)Time elapsed: 0.041 s
% 3.95/1.43 % (911531)Peak memory usage: 112 MB
% 3.95/1.43 % (911531)Instructions burned: 12 (million)
% 3.95/1.43 % (911536)Instruction limit reached!
% 3.95/1.43 % (911536)------------------------------
% 3.95/1.43 % (911536)Version: Vampire 5.0.1 (Release build, commit ea8961452 on 2026-07-16 15:14:34 +0200)
% 3.95/1.43 % (911536)Linked with Z3 4.14.0.0 3c47fd96cf5645d0c42b2c819d9e9a84380aa721 z3-4.8.4-9178-g3c47fd96c
% 3.95/1.43 % (911536)CaDiCaL version: 2.1.3
% 3.95/1.43 % (911536)Termination reason: Instruction limit
% 3.95/1.43 % (911536)Termination phase: Saturation
% 3.95/1.43 % (911536)Time elapsed: 0.074 s
% 3.95/1.43 % (911536)Peak memory usage: 112 MB
% 3.95/1.43 % (911536)Instructions burned: 47 (million)
% 3.95/1.43 % (911540)dis+11_3_anc=none:drc=ordering:si=on:urr=ec_only:bce=on:tha=off:sac=on:random_seed=3829418176:st=5:i=14:sd=10:rtra=on:ss=axioms:rawr=on_2998 on theBenchmark for (2998ds/14Mi)
% 3.95/1.43 % (911540)Instruction limit reached!
% 3.95/1.43 % (911540)------------------------------
% 3.95/1.43 % (911540)Version: Vampire 5.0.1 (Release build, commit ea8961452 on 2026-07-16 15:14:34 +0200)
% 3.95/1.43 % (911540)Linked with Z3 4.14.0.0 3c47fd96cf5645d0c42b2c819d9e9a84380aa721 z3-4.8.4-9178-g3c47fd96c
% 3.95/1.43 % (911540)CaDiCaL version: 2.1.3
% 3.95/1.43 % (911540)Termination reason: Instruction limit
% 3.95/1.43 % (911540)Termination phase: Saturation
% 3.95/1.43 % (911540)Time elapsed: 0.017 s
% 3.95/1.43 % (911540)Peak memory usage: 88 MB
% 3.95/1.43 % (911540)Instructions burned: 14 (million)
% 3.95/1.43 % (911537)Refutation found. Thanks to Tanya!
% 3.95/1.43 % SZS status Theorem for theBenchmark
% 3.95/1.43 % SZS output start Proof for theBenchmark
% See solution above
% 3.95/1.43 % (911537)------------------------------
% 3.95/1.43 % (911537)Version: Vampire 5.0.1 (Release build, commit ea8961452 on 2026-07-16 15:14:34 +0200)
% 3.95/1.43 % (911537)Linked with Z3 4.14.0.0 3c47fd96cf5645d0c42b2c819d9e9a84380aa721 z3-4.8.4-9178-g3c47fd96c
% 3.95/1.43 % (911537)CaDiCaL version: 2.1.3
% 3.95/1.43 % (911537)Termination reason: Refutation
% 3.95/1.43 % (911537)Time elapsed: 0.036 s
% 3.95/1.43 % (911537)Peak memory usage: 113 MB
% 3.95/1.43 % (911537)Instructions burned: 27 (million)
% 3.95/1.43 % (911537)------------------------------
% 3.95/1.43 % (911537)------------------------------
% 3.95/1.43 % (911523)Success in time 0.445 s
% 3.95/1.43 % Vampire exiting
%------------------------------------------------------------------------------