TSTP Solution File: GRA002+4 by CSE_E---1.5

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : GRA002+4 : TPTP v8.1.2. Bugfixed v3.2.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s

% Computer : n029.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 : Thu Aug 31 00:00:05 EDT 2023

% Result   : Theorem 0.19s 0.57s
% Output   : CNFRefutation 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   40
% Syntax   : Number of formulae    :   62 (  12 unt;  34 typ;   0 def)
%            Number of atoms       :   66 (  17 equ)
%            Maximal formula atoms :   15 (   2 avg)
%            Number of connectives :   60 (  22   ~;  20   |;   8   &)
%                                         (   1 <=>;   9  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   15 (   4 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   51 (  24   >;  27   *;   0   +;   0  <<)
%            Number of predicates  :   13 (  11 usr;   2 prp; 0-3 aty)
%            Number of functors    :   23 (  23 usr;   9 con; 0-4 aty)
%            Number of variables   :   56 (   9 sgn;  39   !;   0   ?;   0   :)

% Comments : 
%------------------------------------------------------------------------------
tff(decl_22,type,
    edge: $i > $o ).

tff(decl_23,type,
    head_of: $i > $i ).

tff(decl_24,type,
    tail_of: $i > $i ).

tff(decl_25,type,
    vertex: $i > $o ).

tff(decl_26,type,
    complete: $o ).

tff(decl_27,type,
    path: ( $i * $i * $i ) > $o ).

tff(decl_28,type,
    empty: $i ).

tff(decl_29,type,
    path_cons: ( $i * $i ) > $i ).

tff(decl_30,type,
    on_path: ( $i * $i ) > $o ).

tff(decl_31,type,
    in_path: ( $i * $i ) > $o ).

tff(decl_32,type,
    sequential: ( $i * $i ) > $o ).

tff(decl_33,type,
    precedes: ( $i * $i * $i ) > $o ).

tff(decl_34,type,
    shortest_path: ( $i * $i * $i ) > $o ).

tff(decl_35,type,
    length_of: $i > $i ).

tff(decl_36,type,
    less_or_equal: ( $i * $i ) > $o ).

tff(decl_37,type,
    triangle: ( $i * $i * $i ) > $o ).

tff(decl_38,type,
    edges: $i ).

tff(decl_39,type,
    number_of_in: ( $i * $i ) > $i ).

tff(decl_40,type,
    sequential_pairs: $i ).

tff(decl_41,type,
    n1: $i ).

tff(decl_42,type,
    minus: ( $i * $i ) > $i ).

tff(decl_43,type,
    triangles: $i ).

tff(decl_44,type,
    graph: $i ).

tff(decl_45,type,
    esk1_2: ( $i * $i ) > $i ).

tff(decl_46,type,
    esk2_3: ( $i * $i * $i ) > $i ).

tff(decl_47,type,
    esk3_3: ( $i * $i * $i ) > $i ).

tff(decl_48,type,
    esk4_4: ( $i * $i * $i * $i ) > $i ).

tff(decl_49,type,
    esk5_3: ( $i * $i * $i ) > $i ).

tff(decl_50,type,
    esk6_3: ( $i * $i * $i ) > $i ).

tff(decl_51,type,
    esk7_1: $i > $i ).

tff(decl_52,type,
    esk8_1: $i > $i ).

tff(decl_53,type,
    esk9_0: $i ).

tff(decl_54,type,
    esk10_0: $i ).

tff(decl_55,type,
    esk11_0: $i ).

fof(maximal_path_length,conjecture,
    ( complete
   => ! [X4,X2,X3] :
        ( shortest_path(X2,X3,X4)
       => less_or_equal(minus(length_of(X4),n1),number_of_in(triangles,graph)) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',maximal_path_length) ).

fof(shortest_path_defn,axiom,
    ! [X2,X3,X10] :
      ( shortest_path(X2,X3,X10)
    <=> ( path(X2,X3,X10)
        & X2 != X3
        & ! [X4] :
            ( path(X2,X3,X4)
           => less_or_equal(length_of(X10),length_of(X4)) ) ) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/GRA001+0.ax',shortest_path_defn) ).

fof(triangles_and_sequential_pairs,lemma,
    ( complete
   => ! [X4,X2,X3] :
        ( shortest_path(X2,X3,X4)
       => number_of_in(sequential_pairs,X4) = number_of_in(triangles,X4) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',triangles_and_sequential_pairs) ).

fof(length_defn,axiom,
    ! [X2,X3,X4] :
      ( path(X2,X3,X4)
     => length_of(X4) = number_of_in(edges,X4) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',length_defn) ).

fof(path_length_sequential_pairs,axiom,
    ! [X2,X3,X4] :
      ( path(X2,X3,X4)
     => number_of_in(sequential_pairs,X4) = minus(length_of(X4),n1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',path_length_sequential_pairs) ).

fof(graph_has_them_all,axiom,
    ! [X11,X12] : less_or_equal(number_of_in(X11,X12),number_of_in(X11,graph)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',graph_has_them_all) ).

fof(c_0_6,negated_conjecture,
    ~ ( complete
     => ! [X4,X2,X3] :
          ( shortest_path(X2,X3,X4)
         => less_or_equal(minus(length_of(X4),n1),number_of_in(triangles,graph)) ) ),
    inference(assume_negation,[status(cth)],[maximal_path_length]) ).

fof(c_0_7,plain,
    ! [X53,X54,X55,X56,X57,X58,X59] :
      ( ( path(X53,X54,X55)
        | ~ shortest_path(X53,X54,X55) )
      & ( X53 != X54
        | ~ shortest_path(X53,X54,X55) )
      & ( ~ path(X53,X54,X56)
        | less_or_equal(length_of(X55),length_of(X56))
        | ~ shortest_path(X53,X54,X55) )
      & ( path(X57,X58,esk6_3(X57,X58,X59))
        | ~ path(X57,X58,X59)
        | X57 = X58
        | shortest_path(X57,X58,X59) )
      & ( ~ less_or_equal(length_of(X59),length_of(esk6_3(X57,X58,X59)))
        | ~ path(X57,X58,X59)
        | X57 = X58
        | shortest_path(X57,X58,X59) ) ),
    inference(distribute,[status(thm)],[inference(shift_quantors,[status(thm)],[inference(skolemize,[status(esa)],[inference(variable_rename,[status(thm)],[inference(shift_quantors,[status(thm)],[inference(fof_nnf,[status(thm)],[shortest_path_defn])])])])])]) ).

fof(c_0_8,negated_conjecture,
    ( complete
    & shortest_path(esk10_0,esk11_0,esk9_0)
    & ~ less_or_equal(minus(length_of(esk9_0),n1),number_of_in(triangles,graph)) ),
    inference(skolemize,[status(esa)],[inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[c_0_6])])]) ).

fof(c_0_9,lemma,
    ! [X84,X85,X86] :
      ( ~ complete
      | ~ shortest_path(X85,X86,X84)
      | number_of_in(sequential_pairs,X84) = number_of_in(triangles,X84) ),
    inference(shift_quantors,[status(thm)],[inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[triangles_and_sequential_pairs])])]) ).

fof(c_0_10,plain,
    ! [X70,X71,X72] :
      ( ~ path(X70,X71,X72)
      | length_of(X72) = number_of_in(edges,X72) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[length_defn])]) ).

cnf(c_0_11,plain,
    ( path(X1,X2,X3)
    | ~ shortest_path(X1,X2,X3) ),
    inference(split_conjunct,[status(thm)],[c_0_7]) ).

cnf(c_0_12,negated_conjecture,
    shortest_path(esk10_0,esk11_0,esk9_0),
    inference(split_conjunct,[status(thm)],[c_0_8]) ).

cnf(c_0_13,lemma,
    ( number_of_in(sequential_pairs,X3) = number_of_in(triangles,X3)
    | ~ complete
    | ~ shortest_path(X1,X2,X3) ),
    inference(split_conjunct,[status(thm)],[c_0_9]) ).

cnf(c_0_14,negated_conjecture,
    complete,
    inference(split_conjunct,[status(thm)],[c_0_8]) ).

fof(c_0_15,plain,
    ! [X73,X74,X75] :
      ( ~ path(X73,X74,X75)
      | number_of_in(sequential_pairs,X75) = minus(length_of(X75),n1) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[path_length_sequential_pairs])]) ).

cnf(c_0_16,plain,
    ( length_of(X3) = number_of_in(edges,X3)
    | ~ path(X1,X2,X3) ),
    inference(split_conjunct,[status(thm)],[c_0_10]) ).

cnf(c_0_17,negated_conjecture,
    path(esk10_0,esk11_0,esk9_0),
    inference(spm,[status(thm)],[c_0_11,c_0_12]) ).

fof(c_0_18,plain,
    ! [X82,X83] : less_or_equal(number_of_in(X82,X83),number_of_in(X82,graph)),
    inference(variable_rename,[status(thm)],[graph_has_them_all]) ).

cnf(c_0_19,lemma,
    ( number_of_in(triangles,X1) = number_of_in(sequential_pairs,X1)
    | ~ shortest_path(X2,X3,X1) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_13,c_0_14])]) ).

cnf(c_0_20,plain,
    ( number_of_in(sequential_pairs,X3) = minus(length_of(X3),n1)
    | ~ path(X1,X2,X3) ),
    inference(split_conjunct,[status(thm)],[c_0_15]) ).

cnf(c_0_21,negated_conjecture,
    length_of(esk9_0) = number_of_in(edges,esk9_0),
    inference(spm,[status(thm)],[c_0_16,c_0_17]) ).

cnf(c_0_22,plain,
    less_or_equal(number_of_in(X1,X2),number_of_in(X1,graph)),
    inference(split_conjunct,[status(thm)],[c_0_18]) ).

cnf(c_0_23,negated_conjecture,
    number_of_in(triangles,esk9_0) = number_of_in(sequential_pairs,esk9_0),
    inference(spm,[status(thm)],[c_0_19,c_0_12]) ).

cnf(c_0_24,negated_conjecture,
    ~ less_or_equal(minus(length_of(esk9_0),n1),number_of_in(triangles,graph)),
    inference(split_conjunct,[status(thm)],[c_0_8]) ).

cnf(c_0_25,negated_conjecture,
    minus(number_of_in(edges,esk9_0),n1) = number_of_in(sequential_pairs,esk9_0),
    inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_20,c_0_17]),c_0_21]) ).

cnf(c_0_26,negated_conjecture,
    less_or_equal(number_of_in(sequential_pairs,esk9_0),number_of_in(triangles,graph)),
    inference(spm,[status(thm)],[c_0_22,c_0_23]) ).

cnf(c_0_27,negated_conjecture,
    $false,
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_24,c_0_21]),c_0_25]),c_0_26])]),
    [proof] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem    : GRA002+4 : TPTP v8.1.2. Bugfixed v3.2.0.
% 0.00/0.13  % Command    : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s
% 0.13/0.34  % Computer : n029.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   : Sun Aug 27 04:00:55 EDT 2023
% 0.13/0.34  % CPUTime  : 
% 0.19/0.55  start to proof: theBenchmark
% 0.19/0.57  % Version  : CSE_E---1.5
% 0.19/0.57  % Problem  : theBenchmark.p
% 0.19/0.57  % Proof found
% 0.19/0.57  % SZS status Theorem for theBenchmark.p
% 0.19/0.57  % SZS output start Proof
% See solution above
% 0.19/0.58  % Total time : 0.015000 s
% 0.19/0.58  % SZS output end Proof
% 0.19/0.58  % Total time : 0.019000 s
%------------------------------------------------------------------------------