TSTP Solution File: DAT049_1 by Vampire---4.8

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Vampire---4.8
% Problem  : DAT049_1 : TPTP v8.1.2. Released v5.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --ignore_missing on --mode portfolio/casc [--schedule casc_hol_2020] -p tptp -om szs -t %d %s

% Computer : n011.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8042.1875MB
% OS       : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Wed Aug 30 22:21:35 EDT 2023

% Result   : Theorem 0.23s 0.49s
% Output   : Refutation 0.23s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   14
%            Number of leaves      :   16
% Syntax   : Number of formulae    :   52 (  16 unt;   8 typ;   0 def)
%            Number of atoms       :   80 (  44 equ)
%            Maximal formula atoms :    4 (   1 avg)
%            Number of connectives :   70 (  34   ~;  22   |;   4   &)
%                                         (   9 <=>;   1  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    6 (   4 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number arithmetic     :   90 (   0 atm;  32 fun;  24 num;  34 var)
%            Number of types       :    3 (   1 usr;   1 ari)
%            Number of type conns  :    7 (   4   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    3 (   1 usr;   1 prp; 0-2 aty)
%            Number of functors    :   11 (   6 usr;   5 con; 0-2 aty)
%            Number of variables   :   66 (;  62   !;   4   ?;  66   :)

% Comments : 
%------------------------------------------------------------------------------
tff(type_def_5,type,
    collection: $tType ).

tff(func_def_0,type,
    empty: collection ).

tff(func_def_1,type,
    add: ( $int * collection ) > collection ).

tff(func_def_2,type,
    remove: ( $int * collection ) > collection ).

tff(func_def_3,type,
    count: collection > $int ).

tff(func_def_9,type,
    sK0: collection ).

tff(func_def_10,type,
    sK1: $int ).

tff(pred_def_1,type,
    in: ( $int * collection ) > $o ).

tff(f3745,plain,
    $false,
    inference(subsumption_resolution,[],[f3744,f3723]) ).

tff(f3723,plain,
    count(remove(sK1,sK0)) != $sum(-1,count(sK0)),
    inference(subsumption_resolution,[],[f3720,f82]) ).

tff(f82,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(remove(X0,X1)) != $sum(-1,count(X1)) )
      | in(X0,X1) ),
    inference(forward_demodulation,[],[f79,f17]) ).

tff(f17,plain,
    ! [X0: $int,X1: $int] : ( $sum(X0,X1) = $sum(X1,X0) ),
    introduced(theory_axiom_138,[]) ).

tff(f79,plain,
    ! [X0: $int,X1: collection] :
      ( in(X0,X1)
      | ( count(remove(X0,X1)) != $sum(count(X1),-1) ) ),
    inference(evaluation,[],[f68]) ).

tff(f68,plain,
    ! [X0: $int,X1: collection] :
      ( in(X0,X1)
      | ( count(remove(X0,X1)) != $sum(count(X1),$uminus(1)) ) ),
    inference(cnf_transformation,[],[f48]) ).

tff(f48,plain,
    ! [X0: $int,X1: collection] :
      ( ( in(X0,X1)
        | ( count(remove(X0,X1)) != $sum(count(X1),$uminus(1)) ) )
      & ( ( count(remove(X0,X1)) = $sum(count(X1),$uminus(1)) )
        | ~ in(X0,X1) ) ),
    inference(nnf_transformation,[],[f37]) ).

tff(f37,plain,
    ! [X0: $int,X1: collection] :
      ( in(X0,X1)
    <=> ( count(remove(X0,X1)) = $sum(count(X1),$uminus(1)) ) ),
    inference(rectify,[],[f16]) ).

tff(f16,plain,
    ! [X17: $int,X18: collection] :
      ( in(X17,X18)
    <=> ( count(remove(X17,X18)) = $sum(count(X18),$uminus(1)) ) ),
    inference(theory_normalization,[],[f10]) ).

tff(f10,axiom,
    ! [X17: $int,X18: collection] :
      ( in(X17,X18)
    <=> ( count(remove(X17,X18)) = $difference(count(X18),1) ) ),
    file('/export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187',ax5) ).

tff(f3720,plain,
    ( ( count(remove(sK1,sK0)) != $sum(-1,count(sK0)) )
    | ~ in(sK1,sK0) ),
    inference(superposition,[],[f3661,f65]) ).

tff(f65,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(X1) = count(add(X0,X1)) )
      | ~ in(X0,X1) ),
    inference(cnf_transformation,[],[f47]) ).

tff(f47,plain,
    ! [X0: $int,X1: collection] :
      ( ( in(X0,X1)
        | ( count(X1) != count(add(X0,X1)) ) )
      & ( ( count(X1) = count(add(X0,X1)) )
        | ~ in(X0,X1) ) ),
    inference(nnf_transformation,[],[f36]) ).

tff(f36,plain,
    ! [X0: $int,X1: collection] :
      ( in(X0,X1)
    <=> ( count(X1) = count(add(X0,X1)) ) ),
    inference(rectify,[],[f9]) ).

tff(f9,axiom,
    ! [X15: $int,X16: collection] :
      ( in(X15,X16)
    <=> ( count(add(X15,X16)) = count(X16) ) ),
    file('/export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187',ax4) ).

tff(f3661,plain,
    count(remove(sK1,sK0)) != $sum(-1,count(add(sK1,sK0))),
    inference(backward_demodulation,[],[f53,f3626]) ).

tff(f3626,plain,
    ! [X0: $int,X1: collection] : ( count(remove(X0,add(X0,X1))) = $sum(-1,count(add(X0,X1))) ),
    inference(unit_resulting_resolution,[],[f59,f83]) ).

tff(f83,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(remove(X0,X1)) = $sum(-1,count(X1)) )
      | ~ in(X0,X1) ),
    inference(forward_demodulation,[],[f78,f17]) ).

tff(f78,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(remove(X0,X1)) = $sum(count(X1),-1) )
      | ~ in(X0,X1) ),
    inference(evaluation,[],[f67]) ).

tff(f67,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(remove(X0,X1)) = $sum(count(X1),$uminus(1)) )
      | ~ in(X0,X1) ),
    inference(cnf_transformation,[],[f48]) ).

tff(f59,plain,
    ! [X0: $int,X1: collection] : in(X0,add(X0,X1)),
    inference(cnf_transformation,[],[f32]) ).

tff(f32,plain,
    ! [X0: $int,X1: collection] : in(X0,add(X0,X1)),
    inference(rectify,[],[f2]) ).

tff(f2,axiom,
    ! [X1: $int,X2: collection] : in(X1,add(X1,X2)),
    file('/export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187',ax2) ).

tff(f53,plain,
    count(remove(sK1,add(sK1,sK0))) != count(remove(sK1,sK0)),
    inference(cnf_transformation,[],[f43]) ).

tff(f43,plain,
    count(remove(sK1,add(sK1,sK0))) != count(remove(sK1,sK0)),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK0,sK1])],[f40,f42]) ).

tff(f42,plain,
    ( ? [X0: collection,X1: $int] : ( count(remove(X1,add(X1,X0))) != count(remove(X1,X0)) )
   => ( count(remove(sK1,add(sK1,sK0))) != count(remove(sK1,sK0)) ) ),
    introduced(choice_axiom,[]) ).

tff(f40,plain,
    ? [X0: collection,X1: $int] : ( count(remove(X1,add(X1,X0))) != count(remove(X1,X0)) ),
    inference(ennf_transformation,[],[f14]) ).

tff(f14,negated_conjecture,
    ~ ! [X0: collection,X1: $int] : ( count(remove(X1,add(X1,X0))) = count(remove(X1,X0)) ),
    inference(negated_conjecture,[],[f13]) ).

tff(f13,conjecture,
    ! [X0: collection,X1: $int] : ( count(remove(X1,add(X1,X0))) = count(remove(X1,X0)) ),
    file('/export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187',co1) ).

tff(f3744,plain,
    count(remove(sK1,sK0)) = $sum(-1,count(sK0)),
    inference(unit_resulting_resolution,[],[f3724,f83]) ).

tff(f3724,plain,
    in(sK1,sK0),
    inference(unit_resulting_resolution,[],[f3722,f61]) ).

tff(f61,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(remove(X0,X1)) = count(X1) )
      | in(X0,X1) ),
    inference(cnf_transformation,[],[f45]) ).

tff(f45,plain,
    ! [X0: $int,X1: collection] :
      ( ( ~ in(X0,X1)
        | ( count(remove(X0,X1)) != count(X1) ) )
      & ( ( count(remove(X0,X1)) = count(X1) )
        | in(X0,X1) ) ),
    inference(nnf_transformation,[],[f34]) ).

tff(f34,plain,
    ! [X0: $int,X1: collection] :
      ( ~ in(X0,X1)
    <=> ( count(remove(X0,X1)) = count(X1) ) ),
    inference(rectify,[],[f11]) ).

tff(f11,axiom,
    ! [X19: $int,X20: collection] :
      ( ~ in(X19,X20)
    <=> ( count(remove(X19,X20)) = count(X20) ) ),
    file('/export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187',ax6) ).

tff(f3722,plain,
    count(remove(sK1,sK0)) != count(sK0),
    inference(subsumption_resolution,[],[f3721,f62]) ).

tff(f62,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(remove(X0,X1)) != count(X1) )
      | ~ in(X0,X1) ),
    inference(cnf_transformation,[],[f45]) ).

tff(f3721,plain,
    ( ( count(remove(sK1,sK0)) != count(sK0) )
    | in(sK1,sK0) ),
    inference(evaluation,[],[f3719]) ).

tff(f3719,plain,
    ( ( count(remove(sK1,sK0)) != $sum(-1,$sum(1,count(sK0))) )
    | in(sK1,sK0) ),
    inference(superposition,[],[f3661,f81]) ).

tff(f81,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(add(X0,X1)) = $sum(1,count(X1)) )
      | in(X0,X1) ),
    inference(forward_demodulation,[],[f63,f17]) ).

tff(f63,plain,
    ! [X0: $int,X1: collection] :
      ( ( count(add(X0,X1)) = $sum(count(X1),1) )
      | in(X0,X1) ),
    inference(cnf_transformation,[],[f46]) ).

tff(f46,plain,
    ! [X0: $int,X1: collection] :
      ( ( ~ in(X0,X1)
        | ( count(add(X0,X1)) != $sum(count(X1),1) ) )
      & ( ( count(add(X0,X1)) = $sum(count(X1),1) )
        | in(X0,X1) ) ),
    inference(nnf_transformation,[],[f35]) ).

tff(f35,plain,
    ! [X0: $int,X1: collection] :
      ( ~ in(X0,X1)
    <=> ( count(add(X0,X1)) = $sum(count(X1),1) ) ),
    inference(rectify,[],[f8]) ).

tff(f8,axiom,
    ! [X13: $int,X14: collection] :
      ( ~ in(X13,X14)
    <=> ( count(add(X13,X14)) = $sum(count(X14),1) ) ),
    file('/export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187',ax3) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.13  % Problem    : DAT049_1 : TPTP v8.1.2. Released v5.0.0.
% 0.10/0.15  % Command    : vampire --ignore_missing on --mode portfolio/casc [--schedule casc_hol_2020] -p tptp -om szs -t %d %s
% 0.16/0.36  % Computer : n011.cluster.edu
% 0.16/0.36  % Model    : x86_64 x86_64
% 0.16/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.16/0.36  % Memory   : 8042.1875MB
% 0.16/0.36  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.16/0.36  % CPULimit   : 300
% 0.16/0.36  % WCLimit    : 300
% 0.16/0.36  % DateTime   : Thu Aug 24 14:52:37 EDT 2023
% 0.16/0.36  % CPUTime    : 
% 0.16/0.36  This is a TF0_THM_EQU_ARI problem
% 0.16/0.36  Running vampire_casc2023 --mode casc -m 16384 --cores 7 -t 300 /export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187
% 0.16/0.37  % (6496)Running in auto input_syntax mode. Trying TPTP
% 0.23/0.43  % (6502)dis-10_20_canc=force:fsd=off:gs=on:gsem=off:nm=0:sas=z3:sac=on:tha=off:thi=strong:tgt=ground_476 on Vampire---4 for (476ds/0Mi)
% 0.23/0.43  % (6505)ott+10_1024_av=off:bd=preordered:br=off:ep=RSTC:fsr=off:fde=none:nm=2:urr=on_318 on Vampire---4 for (318ds/0Mi)
% 0.23/0.43  % (6500)lrs+2_32_add=large:amm=off:bd=off:bs=unit_only:drc=off:flr=on:fsd=off:fde=none:nm=0:nwc=1.1:sos=theory:sp=reverse_arity:tgt=ground:stl=180_1034 on Vampire---4 for (1034ds/0Mi)
% 0.23/0.43  % (6506)lrs-1010_3_av=off:br=off:drc=off:er=known:fsd=off:fde=unused:nm=4:nwc=3.0:sp=scramble:urr=on:stl=180_280 on Vampire---4 for (280ds/0Mi)
% 0.23/0.43  % (6503)dis-11_10:1_canc=force:fsd=off:nwc=1.5:sas=z3:tha=off:uwa=all_472 on Vampire---4 for (472ds/0Mi)
% 0.23/0.43  % (6501)dis-1010_2:3_canc=force:fsd=off:fde=unused:gs=on:gsem=on:nm=0:nwc=1.3:sas=z3:tha=off:thf=on:uwa=ground_572 on Vampire---4 for (572ds/0Mi)
% 0.23/0.44  % (6504)lrs+1010_2:1_amm=off:bs=on:bsr=on:canc=force:fsd=off:fsr=off:gs=on:gsaa=full_model:gsem=on:nm=0:nwc=1.3:sas=z3:sac=on:tha=off:thi=overlap:tgt=ground:uwa=ground:stl=60_408 on Vampire---4 for (408ds/0Mi)
% 0.23/0.49  % (6506)First to succeed.
% 0.23/0.49  % (6506)Refutation found. Thanks to Tanya!
% 0.23/0.49  % SZS status Theorem for Vampire---4
% 0.23/0.49  % SZS output start Proof for Vampire---4
% See solution above
% 0.23/0.49  % (6506)------------------------------
% 0.23/0.49  % (6506)Version: Vampire 4.7 (commit 05ef610bd on 2023-06-21 19:03:17 +0100)
% 0.23/0.49  % (6506)Linked with Z3 4.9.1.0 6ed071b44407cf6623b8d3c0dceb2a8fb7040cee z3-4.8.4-6427-g6ed071b44
% 0.23/0.49  % (6506)Termination reason: Refutation
% 0.23/0.49  
% 0.23/0.49  % (6506)Memory used [KB]: 2302
% 0.23/0.49  % (6506)Time elapsed: 0.058 s
% 0.23/0.49  % (6506)------------------------------
% 0.23/0.49  % (6506)------------------------------
% 0.23/0.49  % (6496)Success in time 0.12 s
% 0.23/0.49  6501 Aborted by signal SIGHUP on /export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187
% 0.23/0.49  % (6501)------------------------------
% 0.23/0.49  % (6501)Version: Vampire 4.7 (commit 05ef610bd on 2023-06-21 19:03:17 +0100)
% 0.23/0.49  % (6501)Linked with Z3 4.9.1.0 6ed071b44407cf6623b8d3c0dceb2a8fb7040cee z3-4.8.4-6427-g6ed071b44
% 0.23/0.49  6502 Aborted by signal SIGHUP on /export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187
% 0.23/0.49  % (6502)------------------------------
% 0.23/0.49  % (6502)Version: Vampire 4.7 (commit 05ef610bd on 2023-06-21 19:03:17 +0100)
% 0.23/0.49  % (6501)Termination reason: Unknown
% 0.23/0.49  % (6501)Termination phase: Saturation
% 0.23/0.49  % (6502)Linked with Z3 4.9.1.0 6ed071b44407cf6623b8d3c0dceb2a8fb7040cee z3-4.8.4-6427-g6ed071b44
% 0.23/0.49  
% 0.23/0.49  % (6502)Termination reason: Unknown
% 0.23/0.49  6503 Aborted by signal SIGHUP on /export/starexec/sandbox/tmp/tmp.MYIsBcTMIL/Vampire---4.8_6187
% 0.23/0.49  % (6503)------------------------------
% 0.23/0.49  % (6503)Version: Vampire 4.7 (commit 05ef610bd on 2023-06-21 19:03:17 +0100)
% 0.23/0.49  % (6501)Memory used [KB]: 5500
% 0.23/0.49  % (6502)Termination phase: Saturation
% 0.23/0.49  
% 0.23/0.49  % (6501)Time elapsed: 0.059 s
% 0.23/0.49  % (6503)Linked with Z3 4.9.1.0 6ed071b44407cf6623b8d3c0dceb2a8fb7040cee z3-4.8.4-6427-g6ed071b44
% 0.23/0.49  % (6501)------------------------------
% 0.23/0.49  % (6501)------------------------------
% 0.23/0.49  % (6502)Memory used [KB]: 5500
% 0.23/0.49  % (6503)Termination reason: Unknown
% 0.23/0.49  % (6502)Time elapsed: 0.064 s
% 0.23/0.49  % (6503)Termination phase: Saturation
% 0.23/0.49  % (6502)------------------------------
% 0.23/0.49  % (6502)------------------------------
% 0.23/0.49  
% 0.23/0.49  % (6503)Memory used [KB]: 1023
% 0.23/0.49  % (6503)Time elapsed: 0.059 s
% 0.23/0.49  % (6503)------------------------------
% 0.23/0.49  % (6503)------------------------------
% 0.23/0.49  % Vampire---4.8 exiting
%------------------------------------------------------------------------------