TSTP Solution File: PUZ031-1 by CSE_E---1.5

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : PUZ031-1 : TPTP v8.1.2. Released v1.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s

% Computer : n013.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 13:12:14 EDT 2023

% Result   : Unsatisfiable 0.19s 0.58s
% Output   : CNFRefutation 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   13
%            Number of leaves      :   38
% Syntax   : Number of formulae    :   77 (  18 unt;  18 typ;   0 def)
%            Number of atoms       :  150 (   0 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :  187 (  96   ~;  91   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   3 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   14 (  12   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :   11 (  10 usr;   1 prp; 0-2 aty)
%            Number of functors    :    8 (   8 usr;   6 con; 0-1 aty)
%            Number of variables   :   77 (   2 sgn;   0   !;   0   ?;   0   :)

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

tff(decl_23,type,
    wolf: $i > $o ).

tff(decl_24,type,
    fox: $i > $o ).

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

tff(decl_26,type,
    caterpillar: $i > $o ).

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

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

tff(decl_29,type,
    a_fox: $i ).

tff(decl_30,type,
    a_bird: $i ).

tff(decl_31,type,
    a_caterpillar: $i ).

tff(decl_32,type,
    a_snail: $i ).

tff(decl_33,type,
    a_grain: $i ).

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

tff(decl_35,type,
    plant: $i > $o ).

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

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

tff(decl_38,type,
    caterpillar_food_of: $i > $i ).

tff(decl_39,type,
    snail_food_of: $i > $i ).

cnf(eating_habits,axiom,
    ( eats(X1,X2)
    | eats(X1,X3)
    | ~ animal(X1)
    | ~ plant(X2)
    | ~ animal(X3)
    | ~ plant(X4)
    | ~ much_smaller(X3,X1)
    | ~ eats(X3,X4) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',eating_habits) ).

cnf(snail_smaller_than_bird,axiom,
    ( much_smaller(X1,X2)
    | ~ snail(X1)
    | ~ bird(X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',snail_smaller_than_bird) ).

cnf(bird_is_an_animal,axiom,
    ( animal(X1)
    | ~ bird(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',bird_is_an_animal) ).

cnf(snail_is_an_animal,axiom,
    ( animal(X1)
    | ~ snail(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',snail_is_an_animal) ).

cnf(bird_dont_eat_snail,axiom,
    ( ~ bird(X1)
    | ~ snail(X2)
    | ~ eats(X1,X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',bird_dont_eat_snail) ).

cnf(snail_eats_snail_food,axiom,
    ( eats(X1,snail_food_of(X1))
    | ~ snail(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',snail_eats_snail_food) ).

cnf(snail_food_is_a_plant,axiom,
    ( plant(snail_food_of(X1))
    | ~ snail(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',snail_food_is_a_plant) ).

cnf(grain_is_a_plant,axiom,
    ( plant(X1)
    | ~ grain(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',grain_is_a_plant) ).

cnf(there_is_a_grain,axiom,
    grain(a_grain),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',there_is_a_grain) ).

cnf(there_is_a_snail,axiom,
    snail(a_snail),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',there_is_a_snail) ).

cnf(bird_smaller_than_fox,axiom,
    ( much_smaller(X1,X2)
    | ~ bird(X1)
    | ~ fox(X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',bird_smaller_than_fox) ).

cnf(fox_is_an_animal,axiom,
    ( animal(X1)
    | ~ fox(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',fox_is_an_animal) ).

cnf(there_is_a_bird,axiom,
    bird(a_bird),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',there_is_a_bird) ).

cnf(prove_the_animal_exists,negated_conjecture,
    ( ~ animal(X1)
    | ~ animal(X2)
    | ~ grain(X3)
    | ~ eats(X1,X2)
    | ~ eats(X2,X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_the_animal_exists) ).

cnf(there_is_a_fox,axiom,
    fox(a_fox),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',there_is_a_fox) ).

cnf(fox_smaller_than_wolf,axiom,
    ( much_smaller(X1,X2)
    | ~ fox(X1)
    | ~ wolf(X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',fox_smaller_than_wolf) ).

cnf(wolf_is_an_animal,axiom,
    ( animal(X1)
    | ~ wolf(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',wolf_is_an_animal) ).

cnf(wolf_dont_eat_fox,axiom,
    ( ~ wolf(X1)
    | ~ fox(X2)
    | ~ eats(X1,X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',wolf_dont_eat_fox) ).

cnf(there_is_a_wolf,axiom,
    wolf(a_wolf),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',there_is_a_wolf) ).

cnf(wolf_dont_eat_grain,axiom,
    ( ~ wolf(X1)
    | ~ grain(X2)
    | ~ eats(X1,X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',wolf_dont_eat_grain) ).

cnf(c_0_20,axiom,
    ( eats(X1,X2)
    | eats(X1,X3)
    | ~ animal(X1)
    | ~ plant(X2)
    | ~ animal(X3)
    | ~ plant(X4)
    | ~ much_smaller(X3,X1)
    | ~ eats(X3,X4) ),
    eating_habits ).

cnf(c_0_21,axiom,
    ( much_smaller(X1,X2)
    | ~ snail(X1)
    | ~ bird(X2) ),
    snail_smaller_than_bird ).

cnf(c_0_22,axiom,
    ( animal(X1)
    | ~ bird(X1) ),
    bird_is_an_animal ).

cnf(c_0_23,axiom,
    ( animal(X1)
    | ~ snail(X1) ),
    snail_is_an_animal ).

cnf(c_0_24,axiom,
    ( ~ bird(X1)
    | ~ snail(X2)
    | ~ eats(X1,X2) ),
    bird_dont_eat_snail ).

cnf(c_0_25,plain,
    ( eats(X1,X2)
    | ~ eats(X3,X4)
    | ~ plant(X4)
    | ~ plant(X2)
    | ~ snail(X3)
    | ~ bird(X1) ),
    inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_20,c_0_21]),c_0_22]),c_0_23]),c_0_24]) ).

cnf(c_0_26,axiom,
    ( eats(X1,snail_food_of(X1))
    | ~ snail(X1) ),
    snail_eats_snail_food ).

cnf(c_0_27,axiom,
    ( plant(snail_food_of(X1))
    | ~ snail(X1) ),
    snail_food_is_a_plant ).

cnf(c_0_28,axiom,
    ( plant(X1)
    | ~ grain(X1) ),
    grain_is_a_plant ).

cnf(c_0_29,axiom,
    grain(a_grain),
    there_is_a_grain ).

cnf(c_0_30,plain,
    ( eats(X1,X2)
    | ~ plant(X2)
    | ~ snail(X3)
    | ~ bird(X1) ),
    inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_25,c_0_26]),c_0_27]) ).

cnf(c_0_31,plain,
    plant(a_grain),
    inference(spm,[status(thm)],[c_0_28,c_0_29]) ).

cnf(c_0_32,plain,
    ( eats(X1,a_grain)
    | ~ snail(X2)
    | ~ bird(X1) ),
    inference(spm,[status(thm)],[c_0_30,c_0_31]) ).

cnf(c_0_33,axiom,
    snail(a_snail),
    there_is_a_snail ).

cnf(c_0_34,axiom,
    ( much_smaller(X1,X2)
    | ~ bird(X1)
    | ~ fox(X2) ),
    bird_smaller_than_fox ).

cnf(c_0_35,axiom,
    ( animal(X1)
    | ~ fox(X1) ),
    fox_is_an_animal ).

cnf(c_0_36,plain,
    ( eats(X1,a_grain)
    | ~ bird(X1) ),
    inference(spm,[status(thm)],[c_0_32,c_0_33]) ).

cnf(c_0_37,axiom,
    bird(a_bird),
    there_is_a_bird ).

cnf(c_0_38,plain,
    ( eats(X1,X2)
    | eats(X1,X3)
    | ~ eats(X3,X4)
    | ~ plant(X4)
    | ~ plant(X2)
    | ~ bird(X3)
    | ~ fox(X1) ),
    inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_20,c_0_34]),c_0_35]),c_0_22]) ).

cnf(c_0_39,plain,
    eats(a_bird,a_grain),
    inference(spm,[status(thm)],[c_0_36,c_0_37]) ).

cnf(c_0_40,negated_conjecture,
    ( ~ animal(X1)
    | ~ animal(X2)
    | ~ grain(X3)
    | ~ eats(X1,X2)
    | ~ eats(X2,X3) ),
    prove_the_animal_exists ).

cnf(c_0_41,plain,
    animal(a_bird),
    inference(spm,[status(thm)],[c_0_22,c_0_37]) ).

cnf(c_0_42,axiom,
    fox(a_fox),
    there_is_a_fox ).

cnf(c_0_43,plain,
    ( eats(X1,a_bird)
    | eats(X1,X2)
    | ~ plant(X2)
    | ~ fox(X1) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_38,c_0_39]),c_0_31]),c_0_37])]) ).

cnf(c_0_44,negated_conjecture,
    ( ~ eats(X1,a_bird)
    | ~ animal(X1) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_40,c_0_39]),c_0_29]),c_0_41])]) ).

cnf(c_0_45,plain,
    animal(a_fox),
    inference(spm,[status(thm)],[c_0_35,c_0_42]) ).

cnf(c_0_46,axiom,
    ( much_smaller(X1,X2)
    | ~ fox(X1)
    | ~ wolf(X2) ),
    fox_smaller_than_wolf ).

cnf(c_0_47,axiom,
    ( animal(X1)
    | ~ wolf(X1) ),
    wolf_is_an_animal ).

cnf(c_0_48,axiom,
    ( ~ wolf(X1)
    | ~ fox(X2)
    | ~ eats(X1,X2) ),
    wolf_dont_eat_fox ).

cnf(c_0_49,plain,
    ( eats(X1,a_grain)
    | eats(X1,a_bird)
    | ~ fox(X1) ),
    inference(spm,[status(thm)],[c_0_43,c_0_31]) ).

cnf(c_0_50,negated_conjecture,
    ~ eats(a_fox,a_bird),
    inference(spm,[status(thm)],[c_0_44,c_0_45]) ).

cnf(c_0_51,plain,
    ( eats(X1,X2)
    | ~ eats(X3,X4)
    | ~ plant(X4)
    | ~ plant(X2)
    | ~ fox(X3)
    | ~ wolf(X1) ),
    inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_20,c_0_46]),c_0_47]),c_0_35]),c_0_48]) ).

cnf(c_0_52,plain,
    eats(a_fox,a_grain),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_49,c_0_42]),c_0_50]) ).

cnf(c_0_53,plain,
    ( eats(X1,X2)
    | ~ plant(X2)
    | ~ wolf(X1) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_51,c_0_52]),c_0_31]),c_0_42])]) ).

cnf(c_0_54,plain,
    ( eats(X1,a_grain)
    | ~ wolf(X1) ),
    inference(spm,[status(thm)],[c_0_53,c_0_31]) ).

cnf(c_0_55,axiom,
    wolf(a_wolf),
    there_is_a_wolf ).

cnf(c_0_56,axiom,
    ( ~ wolf(X1)
    | ~ grain(X2)
    | ~ eats(X1,X2) ),
    wolf_dont_eat_grain ).

cnf(c_0_57,plain,
    eats(a_wolf,a_grain),
    inference(spm,[status(thm)],[c_0_54,c_0_55]) ).

cnf(c_0_58,plain,
    $false,
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_56,c_0_57]),c_0_29]),c_0_55])]),
    [proof] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem    : PUZ031-1 : TPTP v8.1.2. Released v1.0.0.
% 0.00/0.13  % Command    : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s
% 0.13/0.34  % Computer : n013.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   : Sat Aug 26 22:11:17 EDT 2023
% 0.13/0.34  % CPUTime  : 
% 0.19/0.56  start to proof: theBenchmark
% 0.19/0.58  % Version  : CSE_E---1.5
% 0.19/0.58  % Problem  : theBenchmark.p
% 0.19/0.58  % Proof found
% 0.19/0.58  % SZS status Theorem for theBenchmark.p
% 0.19/0.58  % SZS output start Proof
% See solution above
% 0.19/0.58  % Total time : 0.011000 s
% 0.19/0.58  % SZS output end Proof
% 0.19/0.58  % Total time : 0.014000 s
%------------------------------------------------------------------------------