TSTP Solution File: COM001_1 by SnakeForV---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV---1.0
% Problem  : COM001_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 : n009.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.18s 0.48s
% Output   : Refutation 0.18s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   28
% Syntax   : Number of formulae    :   50 (  14 unt;  21 typ;   0 def)
%            Number of atoms       :   54 (   0 equ)
%            Maximal formula atoms :    3 (   1 avg)
%            Number of connectives :   44 (  19   ~;  16   |;   4   &)
%                                         (   0 <=>;   5  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   4 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of types       :    7 (   6 usr)
%            Number of type conns  :   13 (   7   >;   6   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :   11 (  11 usr;   8 con; 0-2 aty)
%            Number of variables   :   38 (  38   !;   0   ?;  38   :)

% 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,
    p3: state ).

tff(func_def_1,type,
    p4: state ).

tff(func_def_2,type,
    p5: state ).

tff(func_def_3,type,
    p8: state ).

tff(func_def_4,type,
    n: number ).

tff(func_def_5,type,
    register_j: register ).

tff(func_def_6,type,
    out: label ).

tff(func_def_7,type,
    loop: label ).

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

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

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

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(f45,plain,
    $false,
    inference(subsumption_resolution,[],[f43,f31]) ).

tff(f31,plain,
    ~ succeeds(p3,p3),
    inference(cnf_transformation,[],[f13]) ).

tff(f13,plain,
    ~ succeeds(p3,p3),
    inference(flattening,[],[f12]) ).

tff(f12,negated_conjecture,
    ~ succeeds(p3,p3),
    inference(negated_conjecture,[],[f11]) ).

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

tff(f43,plain,
    succeeds(p3,p3),
    inference(resolution,[],[f42,f37]) ).

tff(f37,plain,
    ! [X0: state] :
      ( ~ succeeds(X0,p8)
      | succeeds(X0,p3) ),
    inference(resolution,[],[f28,f34]) ).

tff(f34,plain,
    succeeds(p8,p3),
    inference(resolution,[],[f29,f30]) ).

tff(f30,plain,
    follows(p8,p3),
    inference(cnf_transformation,[],[f9]) ).

tff(f9,axiom,
    follows(p8,p3),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',transition_3_to_8) ).

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

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

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

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

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

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

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

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

tff(f42,plain,
    succeeds(p3,p8),
    inference(resolution,[],[f40,f25]) ).

tff(f25,plain,
    labels(loop,p3),
    inference(cnf_transformation,[],[f5]) ).

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

tff(f40,plain,
    ! [X0: state] :
      ( ~ labels(loop,X0)
      | succeeds(X0,p8) ),
    inference(resolution,[],[f23,f24]) ).

tff(f24,plain,
    has(p8,goto(loop)),
    inference(cnf_transformation,[],[f10]) ).

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

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

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

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

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

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem    : COM001_1 : TPTP v8.1.0. Released v5.0.0.
% 0.03/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.12/0.33  % Computer : n009.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit   : 300
% 0.12/0.33  % WCLimit    : 300
% 0.12/0.33  % DateTime   : Mon Aug 29 16:57:20 EDT 2022
% 0.12/0.33  % CPUTime    : 
% 0.18/0.47  % (14984)dis+1010_1:1_bs=on:ep=RS:erd=off:newcnf=on:nwc=10.0:s2a=on:sgt=32:ss=axioms:i=30:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/30Mi)
% 0.18/0.47  % (14976)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.18/0.48  % (14984)First to succeed.
% 0.18/0.48  % (14984)Refutation found. Thanks to Tanya!
% 0.18/0.48  % SZS status Theorem for theBenchmark
% 0.18/0.48  % SZS output start Proof for theBenchmark
% See solution above
% 0.18/0.48  % (14984)------------------------------
% 0.18/0.48  % (14984)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.18/0.48  % (14984)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.18/0.48  % (14984)Termination reason: Refutation
% 0.18/0.48  
% 0.18/0.48  % (14984)Memory used [KB]: 5884
% 0.18/0.48  % (14984)Time elapsed: 0.100 s
% 0.18/0.48  % (14984)Instructions burned: 1 (million)
% 0.18/0.48  % (14984)------------------------------
% 0.18/0.48  % (14984)------------------------------
% 0.18/0.48  % (14963)Success in time 0.137 s
%------------------------------------------------------------------------------