TSTP Solution File: COM002_1 by SnakeForV---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV---1.0
% Problem  : COM002_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 : n020.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 15:53:00 EDT 2022

% Result   : Theorem 0.20s 0.53s
% Output   : Refutation 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   41
% Syntax   : Number of formulae    :   74 (  22 unt;  32 typ;   0 def)
%            Number of atoms       :   74 (   0 equ)
%            Maximal formula atoms :    3 (   1 avg)
%            Number of connectives :   58 (  26   ~;  23   |;   4   &)
%                                         (   0 <=>;   5  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of types       :    7 (   6 usr)
%            Number of type conns  :   19 (  10   >;   9   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :   22 (  22 usr;  16 con; 0-2 aty)
%            Number of variables   :   48 (  48   !;   0   ?;  48   :)

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

tff(type_def_6,type,
    label: $tType ).

tff(type_def_7,type,
    statement: $tType ).

tff(type_def_8,type,
    register: $tType ).

tff(type_def_9,type,
    number: $tType ).

tff(type_def_10,type,
    boolean: $tType ).

tff(func_def_0,type,
    p1: state ).

tff(func_def_1,type,
    p2: state ).

tff(func_def_2,type,
    p3: state ).

tff(func_def_3,type,
    p4: state ).

tff(func_def_4,type,
    p5: state ).

tff(func_def_5,type,
    p6: state ).

tff(func_def_6,type,
    p7: state ).

tff(func_def_7,type,
    p8: state ).

tff(func_def_8,type,
    n: number ).

tff(func_def_9,type,
    n0: number ).

tff(func_def_10,type,
    n1: number ).

tff(func_def_11,type,
    n2: number ).

tff(func_def_12,type,
    register_j: register ).

tff(func_def_13,type,
    register_k: register ).

tff(func_def_14,type,
    out: label ).

tff(func_def_15,type,
    loop: label ).

tff(func_def_16,type,
    equal_function: ( register * number ) > boolean ).

tff(func_def_17,type,
    assign: ( register * number ) > statement ).

tff(func_def_18,type,
    goto: label > statement ).

tff(func_def_19,type,
    ifthen: ( boolean * state ) > statement ).

tff(func_def_20,type,
    plus: ( register * number ) > number ).

tff(func_def_21,type,
    times: ( number * register ) > number ).

tff(pred_def_1,type,
    follows: ( state * state ) > $o ).

tff(pred_def_2,type,
    succeeds: ( state * state ) > $o ).

tff(pred_def_3,type,
    labels: ( label * state ) > $o ).

tff(pred_def_4,type,
    has: ( state * statement ) > $o ).

tff(f116,plain,
    $false,
    inference(subsumption_resolution,[],[f112,f37]) ).

tff(f37,plain,
    ~ succeeds(p3,p3),
    inference(cnf_transformation,[],[f23]) ).

tff(f23,plain,
    ~ succeeds(p3,p3),
    inference(flattening,[],[f20]) ).

tff(f20,negated_conjecture,
    ~ succeeds(p3,p3),
    inference(negated_conjecture,[],[f19]) ).

tff(f19,conjecture,
    succeeds(p3,p3),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_there_is_a_loop_through_p3) ).

tff(f112,plain,
    succeeds(p3,p3),
    inference(resolution,[],[f69,f91]) ).

tff(f91,plain,
    succeeds(p8,p3),
    inference(resolution,[],[f65,f74]) ).

tff(f74,plain,
    succeeds(p7,p3),
    inference(resolution,[],[f61,f54]) ).

tff(f54,plain,
    succeeds(p6,p3),
    inference(resolution,[],[f36,f49]) ).

tff(f49,plain,
    ! [X0: state,X1: state] :
      ( ~ follows(X0,X1)
      | succeeds(X0,X1) ),
    inference(cnf_transformation,[],[f34]) ).

tff(f34,plain,
    ! [X0: state,X1: state] :
      ( ~ follows(X0,X1)
      | succeeds(X0,X1) ),
    inference(rectify,[],[f29]) ).

tff(f29,plain,
    ! [X1: state,X0: state] :
      ( ~ follows(X1,X0)
      | succeeds(X1,X0) ),
    inference(ennf_transformation,[],[f1]) ).

tff(f1,axiom,
    ! [X0: state,X1: state] :
      ( follows(X1,X0)
     => succeeds(X1,X0) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',direct_success) ).

tff(f36,plain,
    follows(p6,p3),
    inference(cnf_transformation,[],[f13]) ).

tff(f13,axiom,
    follows(p6,p3),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_3_to_6) ).

tff(f61,plain,
    ! [X0: state] :
      ( ~ succeeds(p6,X0)
      | succeeds(p7,X0) ),
    inference(resolution,[],[f55,f38]) ).

tff(f38,plain,
    ! [X2: state,X0: state,X1: state] :
      ( ~ succeeds(X2,X0)
      | ~ succeeds(X0,X1)
      | succeeds(X2,X1) ),
    inference(cnf_transformation,[],[f31]) ).

tff(f31,plain,
    ! [X0: state,X1: state,X2: state] :
      ( ~ succeeds(X0,X1)
      | ~ succeeds(X2,X0)
      | succeeds(X2,X1) ),
    inference(rectify,[],[f26]) ).

tff(f26,plain,
    ! [X1: state,X2: state,X0: state] :
      ( ~ succeeds(X1,X2)
      | ~ succeeds(X0,X1)
      | succeeds(X0,X2) ),
    inference(flattening,[],[f25]) ).

tff(f25,plain,
    ! [X0: state,X1: state,X2: state] :
      ( succeeds(X0,X2)
      | ~ succeeds(X1,X2)
      | ~ succeeds(X0,X1) ),
    inference(ennf_transformation,[],[f24]) ).

tff(f24,plain,
    ! [X0: state,X1: state,X2: state] :
      ( ( succeeds(X1,X2)
        & succeeds(X0,X1) )
     => succeeds(X0,X2) ),
    inference(rectify,[],[f2]) ).

tff(f2,axiom,
    ! [X1: state,X2: state,X0: state] :
      ( ( succeeds(X2,X0)
        & succeeds(X1,X2) )
     => succeeds(X1,X0) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',transitivity_of_success) ).

tff(f55,plain,
    succeeds(p7,p6),
    inference(resolution,[],[f43,f49]) ).

tff(f43,plain,
    follows(p7,p6),
    inference(cnf_transformation,[],[f15]) ).

tff(f15,axiom,
    follows(p7,p6),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_6_to_7) ).

tff(f65,plain,
    ! [X0: state] :
      ( ~ succeeds(p7,X0)
      | succeeds(p8,X0) ),
    inference(resolution,[],[f58,f38]) ).

tff(f58,plain,
    succeeds(p8,p7),
    inference(resolution,[],[f50,f49]) ).

tff(f50,plain,
    follows(p8,p7),
    inference(cnf_transformation,[],[f17]) ).

tff(f17,axiom,
    follows(p8,p7),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',transition_7_to_8) ).

tff(f69,plain,
    ! [X0: state] :
      ( ~ succeeds(p8,X0)
      | succeeds(p3,X0) ),
    inference(resolution,[],[f68,f38]) ).

tff(f68,plain,
    succeeds(p3,p8),
    inference(resolution,[],[f63,f39]) ).

tff(f39,plain,
    labels(loop,p3),
    inference(cnf_transformation,[],[f8]) ).

tff(f8,axiom,
    labels(loop,p3),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',label_state_3) ).

tff(f63,plain,
    ! [X0: state] :
      ( ~ labels(loop,X0)
      | succeeds(X0,p8) ),
    inference(resolution,[],[f35,f46]) ).

tff(f46,plain,
    ! [X2: label,X0: state,X1: state] :
      ( ~ has(X1,goto(X2))
      | succeeds(X0,X1)
      | ~ labels(X2,X0) ),
    inference(cnf_transformation,[],[f33]) ).

tff(f33,plain,
    ! [X0: state,X1: state,X2: label] :
      ( ~ has(X1,goto(X2))
      | succeeds(X0,X1)
      | ~ labels(X2,X0) ),
    inference(rectify,[],[f28]) ).

tff(f28,plain,
    ! [X1: state,X2: state,X0: label] :
      ( ~ has(X2,goto(X0))
      | succeeds(X1,X2)
      | ~ labels(X0,X1) ),
    inference(flattening,[],[f27]) ).

tff(f27,plain,
    ! [X1: state,X2: state,X0: label] :
      ( succeeds(X1,X2)
      | ~ labels(X0,X1)
      | ~ has(X2,goto(X0)) ),
    inference(ennf_transformation,[],[f22]) ).

tff(f22,plain,
    ! [X1: state,X2: state,X0: label] :
      ( ( labels(X0,X1)
        & has(X2,goto(X0)) )
     => succeeds(X1,X2) ),
    inference(rectify,[],[f3]) ).

tff(f3,axiom,
    ! [X3: label,X1: state,X0: state] :
      ( ( labels(X3,X1)
        & has(X0,goto(X3)) )
     => succeeds(X1,X0) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',goto_success) ).

tff(f35,plain,
    has(p8,goto(loop)),
    inference(cnf_transformation,[],[f18]) ).

tff(f18,axiom,
    has(p8,goto(loop)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',state_8) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.12/0.12  % Problem    : COM002_1 : TPTP v8.1.0. Released v5.0.0.
% 0.12/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.35  % Computer : n020.cluster.edu
% 0.13/0.35  % Model    : x86_64 x86_64
% 0.13/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.35  % Memory   : 8042.1875MB
% 0.13/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.35  % CPULimit   : 300
% 0.13/0.35  % WCLimit    : 300
% 0.13/0.35  % DateTime   : Mon Aug 29 17:02:30 EDT 2022
% 0.13/0.35  % CPUTime    : 
% 0.20/0.51  % (27129)dis+1002_1:1_aac=none:bd=off:sac=on:sos=on:spb=units:i=3:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/3Mi)
% 0.20/0.51  % (27128)lrs+10_1:1_gsp=on:sd=1:sgt=32:sos=on:ss=axioms:i=13:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/13Mi)
% 0.20/0.52  % (27143)lrs+1011_1:1_fd=preordered:fsd=on:sos=on:thsq=on:thsqc=64:thsqd=32:uwa=ground:i=50:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/50Mi)
% 0.20/0.52  % (27139)lrs+10_1:4_av=off:bs=unit_only:bsr=unit_only:ep=RS:s2a=on:sos=on:sp=frequency:to=lpo:i=16:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/16Mi)
% 0.20/0.52  % (27139)First to succeed.
% 0.20/0.52  % (27154)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=25:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/25Mi)
% 0.20/0.53  % (27139)Refutation found. Thanks to Tanya!
% 0.20/0.53  % SZS status Theorem for theBenchmark
% 0.20/0.53  % SZS output start Proof for theBenchmark
% See solution above
% 0.20/0.53  % (27139)------------------------------
% 0.20/0.53  % (27139)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.20/0.53  % (27139)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.20/0.53  % (27139)Termination reason: Refutation
% 0.20/0.53  
% 0.20/0.53  % (27139)Memory used [KB]: 1407
% 0.20/0.53  % (27139)Time elapsed: 0.107 s
% 0.20/0.53  % (27139)Instructions burned: 3 (million)
% 0.20/0.53  % (27139)------------------------------
% 0.20/0.53  % (27139)------------------------------
% 0.20/0.53  % (27126)Success in time 0.172 s
%------------------------------------------------------------------------------