TSTP Solution File: DAT035_1 by SnakeForV---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV---1.0
% Problem  : DAT035_1 : TPTP v8.1.0. Released v5.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_uns --cores 0 -t %d %s

% Computer : n023.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 31 16:03:58 EDT 2022

% Result   : Theorem 1.60s 0.55s
% Output   : Refutation 1.60s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   17
% Syntax   : Number of formulae    :   42 (  11 unt;   9 typ;   0 def)
%            Number of atoms       :   62 (  11 equ)
%            Maximal formula atoms :    4 (   1 avg)
%            Number of connectives :   52 (  23   ~;  13   |;   7   &)
%                                         (   4 <=>;   5  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   4 avg)
%            Maximal term depth    :    3 (   2 avg)
%            Number arithmetic     :  110 (  34 atm;  23 fun;  23 num;  30 var)
%            Number of types       :    3 (   1 usr;   1 ari)
%            Number of type conns  :    7 (   4   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   1 usr;   1 prp; 0-2 aty)
%            Number of functors    :   10 (   7 usr;   6 con; 0-2 aty)
%            Number of variables   :   45 (  36   !;   9   ?;  45   :)

% 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: $int ).

tff(func_def_10,type,
    sK1: collection ).

tff(func_def_11,type,
    sK2: $int ).

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

tff(f109,plain,
    $false,
    inference(subsumption_resolution,[],[f108,f104]) ).

tff(f104,plain,
    ~ in(sK0,sK1),
    inference(subsumption_resolution,[],[f103,f91]) ).

tff(f91,plain,
    ~ $less(sK2,0),
    inference(unit_resulting_resolution,[],[f23,f77,f24]) ).

tff(f24,plain,
    ! [X2: $int,X0: $int,X1: $int] :
      ( $less(X0,X2)
      | ~ $less(X1,X2)
      | ~ $less(X0,X1) ),
    introduced(theory_axiom_148,[]) ).

tff(f77,plain,
    $less(0,sK2),
    inference(cnf_transformation,[],[f56]) ).

tff(f56,plain,
    ( $less(0,sK2)
    & $less($sum(count(sK1),sK2),count(add(sK0,sK1))) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK0,sK1,sK2])],[f54,f55]) ).

tff(f55,plain,
    ( ? [X0: $int,X1: collection,X2: $int] :
        ( $less(0,X2)
        & $less($sum(count(X1),X2),count(add(X0,X1))) )
   => ( $less(0,sK2)
      & $less($sum(count(sK1),sK2),count(add(sK0,sK1))) ) ),
    introduced(choice_axiom,[]) ).

tff(f54,plain,
    ? [X0: $int,X1: collection,X2: $int] :
      ( $less(0,X2)
      & $less($sum(count(X1),X2),count(add(X0,X1))) ),
    inference(rectify,[],[f42]) ).

tff(f42,plain,
    ? [X1: $int,X2: collection,X0: $int] :
      ( $less(0,X0)
      & $less($sum(count(X2),X0),count(add(X1,X2))) ),
    inference(ennf_transformation,[],[f37]) ).

tff(f37,plain,
    ~ ! [X1: $int,X2: collection,X0: $int] :
        ( $less(0,X0)
       => ~ $less($sum(count(X2),X0),count(add(X1,X2))) ),
    inference(rectify,[],[f16]) ).

tff(f16,plain,
    ~ ! [X2: $int,X1: $int,X0: collection] :
        ( $less(0,X2)
       => ~ $less($sum(count(X0),X2),count(add(X1,X0))) ),
    inference(theory_normalization,[],[f14]) ).

tff(f14,negated_conjecture,
    ~ ! [X2: $int,X1: $int,X0: collection] :
        ( $greater(X2,0)
       => $greatereq($sum(count(X0),X2),count(add(X1,X0))) ),
    inference(negated_conjecture,[],[f13]) ).

tff(f13,conjecture,
    ! [X2: $int,X1: $int,X0: collection] :
      ( $greater(X2,0)
     => $greatereq($sum(count(X0),X2),count(add(X1,X0))) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',co1) ).

tff(f23,plain,
    ! [X0: $int] : ~ $less(X0,X0),
    introduced(theory_axiom_147,[]) ).

tff(f103,plain,
    ( ~ in(sK0,sK1)
    | $less(sK2,0) ),
    inference(cancellation,[],[f100]) ).

tff(f100,plain,
    ( ~ in(sK0,sK1)
    | $less($sum(sK2,count(sK1)),count(sK1)) ),
    inference(superposition,[],[f88,f71]) ).

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

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

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

tff(f9,axiom,
    ! [X16: collection,X15: $int] :
      ( ( count(add(X15,X16)) = count(X16) )
    <=> in(X15,X16) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',ax4) ).

tff(f88,plain,
    $less($sum(sK2,count(sK1)),count(add(sK0,sK1))),
    inference(forward_demodulation,[],[f76,f18]) ).

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

tff(f76,plain,
    $less($sum(count(sK1),sK2),count(add(sK0,sK1))),
    inference(cnf_transformation,[],[f56]) ).

tff(f108,plain,
    in(sK0,sK1),
    inference(subsumption_resolution,[],[f101,f93]) ).

tff(f93,plain,
    ~ $less(sK2,1),
    inference(evaluation,[],[f89]) ).

tff(f89,plain,
    ~ $less(sK2,$sum(0,1)),
    inference(unit_resulting_resolution,[],[f77,f29]) ).

tff(f29,plain,
    ! [X0: $int,X1: $int] :
      ( ~ $less(X1,$sum(X0,1))
      | ~ $less(X0,X1) ),
    introduced(theory_axiom_166,[]) ).

tff(f101,plain,
    ( $less(sK2,1)
    | in(sK0,sK1) ),
    inference(cancellation,[],[f99]) ).

tff(f99,plain,
    ( in(sK0,sK1)
    | $less($sum(sK2,count(sK1)),$sum(count(sK1),1)) ),
    inference(superposition,[],[f88,f82]) ).

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

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

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

tff(f8,axiom,
    ! [X13: $int,X14: collection] :
      ( ( count(add(X13,X14)) = $sum(count(X14),1) )
    <=> ~ in(X13,X14) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',ax3) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.04/0.12  % Problem    : DAT035=1 : TPTP v8.1.0. Released v5.0.0.
% 0.04/0.13  % Command    : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_uns --cores 0 -t %d %s
% 0.13/0.34  % Computer : n023.cluster.edu
% 0.13/0.34  % Model    : x86_64 x86_64
% 0.13/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34  % Memory   : 8042.1875MB
% 0.13/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34  % CPULimit   : 300
% 0.13/0.34  % WCLimit    : 300
% 0.13/0.34  % DateTime   : Mon Aug 29 20:38:35 EDT 2022
% 0.13/0.34  % CPUTime    : 
% 0.21/0.49  % (19993)dis+32_1:1_bd=off:nm=4:sos=on:ss=included:i=4:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/4Mi)
% 0.21/0.50  % (19988)lrs+10_5:1_br=off:fde=none:nwc=3.0:sd=1:sgt=10:sos=on:ss=axioms:urr=on:i=32:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/32Mi)
% 0.21/0.51  % (19993)Instruction limit reached!
% 0.21/0.51  % (19993)------------------------------
% 0.21/0.51  % (19993)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.21/0.51  % (19986)ott+1011_1:2_br=off:bs=unit_only:bsr=unit_only:nwc=5.0:s2a=on:s2agt=32:urr=on:i=37:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/37Mi)
% 0.21/0.51  % (19985)ott+21_1:1_erd=off:s2a=on:sac=on:sd=1:sgt=64:sos=on:ss=included:st=3.0:to=lpo:urr=on:i=2:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/2Mi)
% 0.21/0.51  % (19985)Instruction limit reached!
% 0.21/0.51  % (19985)------------------------------
% 0.21/0.51  % (19985)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.21/0.51  % (19985)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.21/0.51  % (19985)Termination reason: Unknown
% 0.21/0.51  % (19985)Termination phase: Property scanning
% 0.21/0.51  
% 0.21/0.51  % (19985)Memory used [KB]: 895
% 0.21/0.51  % (19985)Time elapsed: 0.002 s
% 0.21/0.51  % (19985)Instructions burned: 2 (million)
% 0.21/0.51  % (19985)------------------------------
% 0.21/0.51  % (19985)------------------------------
% 0.21/0.51  % (19993)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.21/0.51  % (19993)Termination reason: Unknown
% 0.21/0.51  % (19993)Termination phase: Saturation
% 0.21/0.51  
% 0.21/0.51  % (19993)Memory used [KB]: 5500
% 0.21/0.51  % (19993)Time elapsed: 0.109 s
% 0.21/0.51  % (19993)Instructions burned: 4 (million)
% 0.21/0.51  % (19993)------------------------------
% 0.21/0.51  % (19993)------------------------------
% 0.21/0.52  % (19996)lrs+22_1:1_amm=sco:fsr=off:gve=force:sos=on:uwa=all:i=50:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/50Mi)
% 0.21/0.52  % (19987)lrs+10_1:32_s2a=on:s2agt=10:sgt=8:ss=axioms:i=15:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/15Mi)
% 0.21/0.53  % (20007)lrs+1002_1:1_br=off:canc=force:drc=off:s2a=on:sos=on:sp=reverse_frequency:urr=on:i=42:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/42Mi)
% 0.21/0.53  % (20010)dis+1011_1:1_bd=off:canc=force:ev=cautious:nwc=5.0:i=21:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/21Mi)
% 0.21/0.53  % (20004)dis+2_1:1_av=off:bsr=on:erd=off:s2pl=on:sgt=16:sos=on:sp=frequency:ss=axioms:i=46:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/46Mi)
% 0.21/0.53  % (20009)dis+10_1:64_nwc=1.4:tha=off:i=21:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/21Mi)
% 0.21/0.53  % (20002)dis+1002_1:5_av=off:nwc=2.0:sos=all:i=15:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/15Mi)
% 0.21/0.54  % (19992)lrs+10_1:1_canc=force:tha=some:to=lpo:i=35:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/35Mi)
% 1.43/0.54  % (19999)dis+21_1:1_aac=none:abs=on:er=known:fde=none:fsr=off:nwc=5.0:s2a=on:s2at=4.0:sp=const_frequency:to=lpo:urr=ec_only:i=49:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/49Mi)
% 1.43/0.54  % (20007)First to succeed.
% 1.43/0.54  % (19994)lrs+10_1:1_ep=R:gve=force:plsq=on:plsqr=32,1:uwa=one_side_interpreted:i=2:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/2Mi)
% 1.43/0.54  % (19994)Instruction limit reached!
% 1.43/0.54  % (19994)------------------------------
% 1.43/0.54  % (19994)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 1.43/0.54  % (19994)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 1.43/0.54  % (19995)dis+10_1:64_nwc=1.4:tha=off:i=21:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/21Mi)
% 1.43/0.54  % (19994)Termination reason: Unknown
% 1.43/0.54  % (19994)Termination phase: Property scanning
% 1.43/0.54  
% 1.43/0.54  % (19994)Memory used [KB]: 895
% 1.43/0.54  % (19994)Time elapsed: 0.003 s
% 1.43/0.54  % (19994)Instructions burned: 2 (million)
% 1.43/0.54  % (19994)------------------------------
% 1.43/0.54  % (19994)------------------------------
% 1.43/0.54  % (19989)lrs+1010_1:1_bd=off:fd=off:fde=none:ins=3:sac=on:sos=on:spb=goal:to=lpo:i=36:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/36Mi)
% 1.43/0.54  % (20011)dis+20_1:12_aac=none:acc=model:awrs=converge:fd=preordered:fsr=off:nicw=on:nwc=3.0:s2a=on:s2agt=16:spb=goal:to=lpo:i=41:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/41Mi)
% 1.43/0.54  % (19991)lrs+10_1:8_ep=R:erd=off:fs=off:fsr=off:gve=force:nwc=2.0:uwa=one_side_interpreted:i=2:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/2Mi)
% 1.43/0.55  % (19983)lrs+1010_1:1_aac=none:bce=on:nicw=on:nm=0:plsq=on:plsql=on:sac=on:sos=on:sp=frequency:spb=units:to=lpo:i=34:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/34Mi)
% 1.43/0.55  % (20001)lrs+10_1:1_sd=10:sos=all:ss=axioms:st=5.0:tha=off:i=2:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/2Mi)
% 1.43/0.55  % (19991)Instruction limit reached!
% 1.43/0.55  % (19991)------------------------------
% 1.43/0.55  % (19991)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 1.43/0.55  % (19987)Instruction limit reached!
% 1.43/0.55  % (19987)------------------------------
% 1.43/0.55  % (19987)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 1.43/0.55  % (19987)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 1.43/0.55  % (19987)Termination reason: Unknown
% 1.43/0.55  % (19987)Termination phase: Saturation
% 1.43/0.55  
% 1.43/0.55  % (19987)Memory used [KB]: 5628
% 1.43/0.55  % (19987)Time elapsed: 0.141 s
% 1.43/0.55  % (19987)Instructions burned: 16 (million)
% 1.43/0.55  % (19987)------------------------------
% 1.43/0.55  % (19987)------------------------------
% 1.43/0.55  % (19991)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 1.43/0.55  % (19991)Termination reason: Unknown
% 1.43/0.55  % (19991)Termination phase: Preprocessing 3
% 1.43/0.55  
% 1.43/0.55  % (19991)Memory used [KB]: 895
% 1.43/0.55  % (19991)Time elapsed: 0.004 s
% 1.43/0.55  % (19991)Instructions burned: 2 (million)
% 1.43/0.55  % (19991)------------------------------
% 1.43/0.55  % (19991)------------------------------
% 1.43/0.55  % (20003)dis+10_1:64_nwc=1.4:rp=on:tha=off:i=21:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/21Mi)
% 1.43/0.55  % (19986)Also succeeded, but the first one will report.
% 1.43/0.55  % (19988)Instruction limit reached!
% 1.43/0.55  % (19988)------------------------------
% 1.43/0.55  % (19988)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 1.43/0.55  % (19988)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 1.43/0.55  % (19988)Termination reason: Unknown
% 1.43/0.55  % (19988)Termination phase: Saturation
% 1.43/0.55  
% 1.43/0.55  % (19988)Memory used [KB]: 5884
% 1.43/0.55  % (19988)Time elapsed: 0.152 s
% 1.43/0.55  % (19988)Instructions burned: 33 (million)
% 1.43/0.55  % (19988)------------------------------
% 1.43/0.55  % (19988)------------------------------
% 1.60/0.55  % (20007)Refutation found. Thanks to Tanya!
% 1.60/0.55  % SZS status Theorem for theBenchmark
% 1.60/0.55  % SZS output start Proof for theBenchmark
% See solution above
% 1.60/0.55  % (20007)------------------------------
% 1.60/0.55  % (20007)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 1.60/0.55  % (20007)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 1.60/0.55  % (20007)Termination reason: Refutation
% 1.60/0.55  
% 1.60/0.55  % (20007)Memory used [KB]: 5500
% 1.60/0.55  % (20007)Time elapsed: 0.137 s
% 1.60/0.55  % (20007)Instructions burned: 4 (million)
% 1.60/0.55  % (20007)------------------------------
% 1.60/0.55  % (20007)------------------------------
% 1.60/0.55  % (19980)Success in time 0.196 s
%------------------------------------------------------------------------------