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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : PUZ018-1 : TPTP v8.1.2. Bugfixed v1.2.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -jar /export/starexec/sandbox/solver/bin/mcs_scs.jar %d %s

% Computer : n015.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:09 EDT 2023

% Result   : Unsatisfiable 0.18s 0.58s
% Output   : CNFRefutation 0.18s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   38
% Syntax   : Number of formulae    :   82 (  37 unt;  15 typ;   0 def)
%            Number of atoms       :  157 (   0 equ)
%            Maximal formula atoms :    7 (   2 avg)
%            Number of connectives :  154 (  64   ~;  90   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    9 (   5   >;   4   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   5 usr;   1 prp; 0-2 aty)
%            Number of functors    :   10 (  10 usr;  10 con; 0-0 aty)
%            Number of variables   :   38 (   2 sgn;   0   !;   0   ?;   0   :)

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

tff(decl_23,type,
    a: $i ).

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

tff(decl_25,type,
    b: $i ).

tff(decl_26,type,
    c: $i ).

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

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

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

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

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

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

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

tff(decl_34,type,
    friday: $i ).

tff(decl_35,type,
    saturday: $i ).

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

cnf(all_on_one_day,hypothesis,
    ( all_on(sunday)
    | all_on(monday)
    | all_on(tuesday)
    | all_on(wednesday)
    | all_on(thursday)
    | all_on(friday)
    | all_on(saturday) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',all_on_one_day) ).

cnf(prove_all_on_friday,negated_conjecture,
    ~ all_on(friday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_all_on_friday) ).

cnf(all_on_c_on,axiom,
    ( on(c,X1)
    | ~ all_on(X1) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',all_on_c_on) ).

cnf(all_on_b_on,axiom,
    ( on(b,X1)
    | ~ all_on(X1) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',all_on_b_on) ).

cnf(b_off_saturday,hypothesis,
    ~ on(b,saturday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',b_off_saturday) ).

cnf(not_on_for_3_days,hypothesis,
    ( ~ consecutive(X1,X2)
    | ~ consecutive(X2,X3)
    | ~ consecutive(X3,X4)
    | ~ on(X5,X1)
    | ~ on(X5,X2)
    | ~ on(X5,X3) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_on_for_3_days) ).

cnf(friday_follows_thursday,axiom,
    consecutive(thursday,friday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',friday_follows_thursday) ).

cnf(a_not_c,axiom,
    ~ same_person(a,c),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_not_c) ).

cnf(no_two_off_twice_together,hypothesis,
    ( on(X1,X2)
    | on(X1,X3)
    | on(X4,X2)
    | on(X4,X3)
    | same_person(X1,X4)
    | same_day(X2,X3) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',no_two_off_twice_together) ).

cnf(all_on_a_on,axiom,
    ( on(a,X1)
    | ~ all_on(X1) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',all_on_a_on) ).

cnf(a_off_tuesday,hypothesis,
    ~ on(a,tuesday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_off_tuesday) ).

cnf(wednesday_follows_tuesday,axiom,
    consecutive(tuesday,wednesday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',wednesday_follows_tuesday) ).

cnf(thursday_follows_wednesday,axiom,
    consecutive(wednesday,thursday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',thursday_follows_wednesday) ).

cnf(c_off_sunday,hypothesis,
    ~ on(c,sunday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',c_off_sunday) ).

cnf(a_off_sunday,hypothesis,
    ~ on(a,sunday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_off_sunday) ).

cnf(a_off_thursday,hypothesis,
    ~ on(a,thursday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_off_thursday) ).

cnf(a_not_b,axiom,
    ~ same_person(a,b),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_not_b) ).

cnf(sunday_not_thursday,axiom,
    ~ same_day(sunday,thursday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',sunday_not_thursday) ).

cnf(monday_follows_sunday,axiom,
    consecutive(sunday,monday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',monday_follows_sunday) ).

cnf(tuesday_follows_monday,axiom,
    consecutive(monday,tuesday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',tuesday_follows_monday) ).

cnf(b_off_thursday,hypothesis,
    ~ on(b,thursday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',b_off_thursday) ).

cnf(tuesday_not_thursday,axiom,
    ~ same_day(tuesday,thursday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',tuesday_not_thursday) ).

cnf(sunday_not_tuesday,axiom,
    ~ same_day(sunday,tuesday),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',sunday_not_tuesday) ).

cnf(c_0_23,hypothesis,
    ( all_on(sunday)
    | all_on(monday)
    | all_on(tuesday)
    | all_on(wednesday)
    | all_on(thursday)
    | all_on(friday)
    | all_on(saturday) ),
    all_on_one_day ).

cnf(c_0_24,negated_conjecture,
    ~ all_on(friday),
    prove_all_on_friday ).

cnf(c_0_25,axiom,
    ( on(c,X1)
    | ~ all_on(X1) ),
    all_on_c_on ).

cnf(c_0_26,hypothesis,
    ( all_on(saturday)
    | all_on(thursday)
    | all_on(wednesday)
    | all_on(tuesday)
    | all_on(monday)
    | all_on(sunday) ),
    inference(sr,[status(thm)],[c_0_23,c_0_24]) ).

cnf(c_0_27,axiom,
    ( on(b,X1)
    | ~ all_on(X1) ),
    all_on_b_on ).

cnf(c_0_28,hypothesis,
    ( on(c,wednesday)
    | all_on(saturday)
    | all_on(thursday)
    | all_on(tuesday)
    | all_on(monday)
    | all_on(sunday) ),
    inference(spm,[status(thm)],[c_0_25,c_0_26]) ).

cnf(c_0_29,hypothesis,
    ( on(c,wednesday)
    | on(b,monday)
    | all_on(sunday)
    | all_on(tuesday)
    | all_on(thursday)
    | all_on(saturday) ),
    inference(spm,[status(thm)],[c_0_27,c_0_28]) ).

cnf(c_0_30,hypothesis,
    ~ on(b,saturday),
    b_off_saturday ).

cnf(c_0_31,hypothesis,
    ( ~ consecutive(X1,X2)
    | ~ consecutive(X2,X3)
    | ~ consecutive(X3,X4)
    | ~ on(X5,X1)
    | ~ on(X5,X2)
    | ~ on(X5,X3) ),
    not_on_for_3_days ).

cnf(c_0_32,axiom,
    consecutive(thursday,friday),
    friday_follows_thursday ).

cnf(c_0_33,axiom,
    ~ same_person(a,c),
    a_not_c ).

cnf(c_0_34,hypothesis,
    ( on(X1,X2)
    | on(X1,X3)
    | on(X4,X2)
    | on(X4,X3)
    | same_person(X1,X4)
    | same_day(X2,X3) ),
    no_two_off_twice_together ).

cnf(c_0_35,axiom,
    ( on(a,X1)
    | ~ all_on(X1) ),
    all_on_a_on ).

cnf(c_0_36,hypothesis,
    ( on(b,monday)
    | on(c,wednesday)
    | all_on(thursday)
    | all_on(tuesday)
    | all_on(sunday) ),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_27,c_0_29]),c_0_30]) ).

cnf(c_0_37,hypothesis,
    ~ on(a,tuesday),
    a_off_tuesday ).

cnf(c_0_38,hypothesis,
    ( ~ consecutive(X1,thursday)
    | ~ consecutive(X2,X1)
    | ~ on(X3,thursday)
    | ~ on(X3,X1)
    | ~ on(X3,X2) ),
    inference(spm,[status(thm)],[c_0_31,c_0_32]) ).

cnf(c_0_39,axiom,
    consecutive(tuesday,wednesday),
    wednesday_follows_tuesday ).

cnf(c_0_40,axiom,
    consecutive(wednesday,thursday),
    thursday_follows_wednesday ).

cnf(c_0_41,hypothesis,
    ~ on(c,sunday),
    c_off_sunday ).

cnf(c_0_42,hypothesis,
    ( same_day(X1,X2)
    | on(a,X1)
    | on(a,X2)
    | on(c,X1)
    | on(c,X2) ),
    inference(spm,[status(thm)],[c_0_33,c_0_34]) ).

cnf(c_0_43,hypothesis,
    ~ on(a,sunday),
    a_off_sunday ).

cnf(c_0_44,hypothesis,
    ( on(c,wednesday)
    | on(b,monday)
    | all_on(sunday)
    | all_on(thursday) ),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_35,c_0_36]),c_0_37]) ).

cnf(c_0_45,hypothesis,
    ~ on(a,thursday),
    a_off_thursday ).

cnf(c_0_46,axiom,
    ~ same_person(a,b),
    a_not_b ).

cnf(c_0_47,hypothesis,
    ( ~ on(X1,thursday)
    | ~ on(X1,wednesday)
    | ~ on(X1,tuesday) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_38,c_0_39]),c_0_40])]) ).

cnf(c_0_48,hypothesis,
    ( same_day(sunday,X1)
    | on(c,X1)
    | on(a,X1) ),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_41,c_0_42]),c_0_43]) ).

cnf(c_0_49,axiom,
    ~ same_day(sunday,thursday),
    sunday_not_thursday ).

cnf(c_0_50,hypothesis,
    ( on(b,monday)
    | on(c,wednesday)
    | all_on(sunday) ),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_35,c_0_44]),c_0_45]) ).

cnf(c_0_51,hypothesis,
    ( ~ consecutive(X1,tuesday)
    | ~ consecutive(X2,X1)
    | ~ on(X3,tuesday)
    | ~ on(X3,X1)
    | ~ on(X3,X2) ),
    inference(spm,[status(thm)],[c_0_31,c_0_39]) ).

cnf(c_0_52,axiom,
    consecutive(sunday,monday),
    monday_follows_sunday ).

cnf(c_0_53,axiom,
    consecutive(monday,tuesday),
    tuesday_follows_monday ).

cnf(c_0_54,hypothesis,
    ~ on(b,thursday),
    b_off_thursday ).

cnf(c_0_55,hypothesis,
    ( same_day(X1,X2)
    | on(a,X1)
    | on(a,X2)
    | on(b,X1)
    | on(b,X2) ),
    inference(spm,[status(thm)],[c_0_46,c_0_34]) ).

cnf(c_0_56,hypothesis,
    ( ~ on(c,wednesday)
    | ~ on(c,tuesday) ),
    inference(sr,[status(thm)],[inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_47,c_0_48]),c_0_49]),c_0_45]) ).

cnf(c_0_57,hypothesis,
    ( on(c,wednesday)
    | on(b,monday) ),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_35,c_0_50]),c_0_43]) ).

cnf(c_0_58,hypothesis,
    ( ~ on(X1,tuesday)
    | ~ on(X1,monday)
    | ~ on(X1,sunday) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_51,c_0_52]),c_0_53])]) ).

cnf(c_0_59,hypothesis,
    ( same_day(X1,thursday)
    | on(b,X1)
    | on(a,X1) ),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_54,c_0_55]),c_0_45]) ).

cnf(c_0_60,axiom,
    ~ same_day(tuesday,thursday),
    tuesday_not_thursday ).

cnf(c_0_61,hypothesis,
    ( on(b,monday)
    | ~ on(c,tuesday) ),
    inference(spm,[status(thm)],[c_0_56,c_0_57]) ).

cnf(c_0_62,axiom,
    ~ same_day(sunday,tuesday),
    sunday_not_tuesday ).

cnf(c_0_63,hypothesis,
    ( ~ on(b,monday)
    | ~ on(b,sunday) ),
    inference(sr,[status(thm)],[inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_58,c_0_59]),c_0_60]),c_0_37]) ).

cnf(c_0_64,hypothesis,
    on(b,monday),
    inference(sr,[status(thm)],[inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_61,c_0_48]),c_0_62]),c_0_37]) ).

cnf(c_0_65,hypothesis,
    ~ on(b,sunday),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_63,c_0_64])]) ).

cnf(c_0_66,hypothesis,
    $false,
    inference(sr,[status(thm)],[inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_65,c_0_59]),c_0_49]),c_0_43]),
    [proof] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem    : PUZ018-1 : TPTP v8.1.2. Bugfixed v1.2.0.
% 0.00/0.13  % Command    : java -jar /export/starexec/sandbox/solver/bin/mcs_scs.jar %d %s
% 0.12/0.34  % Computer : n015.cluster.edu
% 0.12/0.34  % Model    : x86_64 x86_64
% 0.12/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.34  % Memory   : 8042.1875MB
% 0.12/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.34  % CPULimit   : 300
% 0.12/0.34  % WCLimit    : 300
% 0.12/0.34  % DateTime   : Sat Aug 26 22:48:08 EDT 2023
% 0.12/0.34  % CPUTime  : 
% 0.18/0.55  start to proof: theBenchmark
% 0.18/0.58  % Version  : CSE_E---1.5
% 0.18/0.58  % Problem  : theBenchmark.p
% 0.18/0.58  % Proof found
% 0.18/0.58  % SZS status Theorem for theBenchmark.p
% 0.18/0.58  % SZS output start Proof
% See solution above
% 0.18/0.58  % Total time : 0.021000 s
% 0.18/0.58  % SZS output end Proof
% 0.18/0.58  % Total time : 0.024000 s
%------------------------------------------------------------------------------