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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : HWV007-1 : TPTP v8.1.2. Released v2.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -jar /export/starexec/sandbox/solver/bin/mcs_scs.jar %d %s

% Computer : n003.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 01:59:57 EDT 2023

% Result   : Unsatisfiable 0.46s 0.62s
% Output   : CNFRefutation 0.58s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   18
%            Number of leaves      :   71
% Syntax   : Number of formulae    :  207 (  58 unt;  26 typ;   0 def)
%            Number of atoms       :  346 (   0 equ)
%            Maximal formula atoms :    5 (   1 avg)
%            Number of connectives :  320 ( 155   ~; 165   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    6 (   3 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   20 (  13   >;   7   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   5 usr;   1 prp; 0-2 aty)
%            Number of functors    :   21 (  21 usr;  13 con; 0-2 aty)
%            Number of variables   :  103 (   6 sgn;   0   !;   0   ?;   0   :)

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

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

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

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

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

tff(decl_27,type,
    ok: $i ).

tff(decl_28,type,
    mode: ( $i * $i ) > $o ).

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

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

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

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

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

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

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

tff(decl_36,type,
    not: $i ).

tff(decl_37,type,
    halfadder: $i ).

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

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

tff(decl_40,type,
    not1: $i > $i ).

tff(decl_41,type,
    or1: $i > $i ).

tff(decl_42,type,
    s: $i ).

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

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

tff(decl_45,type,
    h1: $i > $i ).

tff(decl_46,type,
    h2: $i > $i ).

tff(decl_47,type,
    f: $i ).

cnf(fulladder_halfadder1,axiom,
    ( type(h1(X1),halfadder)
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_halfadder1) ).

cnf(f_isa_fulladder,hypothesis,
    type(f,fulladder),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',f_isa_fulladder) ).

cnf(fulladder_connection_in2_in1h1,axiom,
    ( connection(in(n2,X1),in(n1,h1(X1)))
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_connection_in2_in1h1) ).

cnf(fulladder_connection_inc_in2h1,axiom,
    ( connection(in(c,X1),in(n2,h1(X1)))
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_connection_inc_in2h1) ).

cnf(halfadder_connection_in1_in1and2,axiom,
    ( connection(in(n1,X1),in(n1,and2(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_in1_in1and2) ).

cnf(value_propagation1,axiom,
    ( value(X2,X3)
    | ~ connection(X1,X2)
    | ~ value(X1,X3) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',value_propagation1) ).

cnf(halfadder_connection_in2_in2and2,axiom,
    ( connection(in(n2,X1),in(n2,and2(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_in2_in2and2) ).

cnf(halfadder_and2,axiom,
    ( type(and2(X1),and)
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_and2) ).

cnf(in2_0,hypothesis,
    value(in(n2,f),n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',in2_0) ).

cnf(inc_1,hypothesis,
    value(in(c,f),n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',inc_1) ).

cnf(halfadder_connection_out1and2_in1not1,axiom,
    ( connection(out(n1,and2(X1)),in(n1,not1(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_out1and2_in1not1) ).

cnf(ok_or_abnormal,axiom,
    ( mode(X1,ok)
    | mode(X1,abnormal)
    | ~ type(X1,X2) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',ok_or_abnormal) ).

cnf(diagnosis_and2h1,negated_conjecture,
    ~ mode(and2(h1(f)),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_and2h1) ).

cnf(fulladder_or1,axiom,
    ( type(or1(X1),or)
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_or1) ).

cnf(halfadder_not1,axiom,
    ( type(not1(X1),not)
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_not1) ).

cnf(and_11_1,axiom,
    ( value(out(n1,X1),n1)
    | ~ mode(X1,ok)
    | ~ type(X1,and)
    | ~ value(in(n1,X1),n1)
    | ~ value(in(n2,X1),n1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',and_11_1) ).

cnf(halfadder_and1,axiom,
    ( type(and1(X1),and)
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_and1) ).

cnf(not_1_0_fw,axiom,
    ( value(out(n1,X1),n0)
    | ~ mode(X1,ok)
    | ~ type(X1,not)
    | ~ value(in(n1,X1),n1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',not_1_0_fw) ).

cnf(diagnosis_or1_not1h1,negated_conjecture,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(not1(h1(f)),abnormal) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_not1h1) ).

cnf(fulladder_halfadder2,axiom,
    ( type(h2(X1),halfadder)
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_halfadder2) ).

cnf(fulladder_connection_outs_outsh2,axiom,
    ( connection(out(s,X1),out(s,h2(X1)))
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_connection_outs_outsh2) ).

cnf(diagnosis_or1_and1h1,negated_conjecture,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(and1(h1(f)),abnormal) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_and1h1) ).

cnf(halfadder_connection_out1not1_in2and1,axiom,
    ( connection(out(n1,not1(X1)),in(n2,and1(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_out1not1_in2and1) ).

cnf(halfadder_connection_outs_out1and1,axiom,
    ( connection(out(s,X1),out(n1,and1(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_outs_out1and1) ).

cnf(and_0x_0,axiom,
    ( value(out(n1,X1),n0)
    | ~ mode(X1,ok)
    | ~ type(X1,and)
    | ~ value(in(X2,X1),n0) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',and_0x_0) ).

cnf(outs_1,hypothesis,
    value(out(s,f),n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',outs_1) ).

cnf(fulladder_connection_in1_in1h2,axiom,
    ( connection(in(n1,X1),in(n1,h2(X1)))
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_connection_in1_in1h2) ).

cnf(diagnosis_or1_and1h2,negated_conjecture,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(and1(h2(f)),abnormal) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_and1h2) ).

cnf(halfadder_connection_in1_in1or1,axiom,
    ( connection(in(n1,X1),in(n1,or1(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_in1_in1or1) ).

cnf(fulladder_connection_outsh1_in2h2,axiom,
    ( connection(out(s,h1(X1)),in(n2,h2(X1)))
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_connection_outsh1_in2h2) ).

cnf(value_propagation2,axiom,
    ( value(X1,X3)
    | ~ connection(X1,X2)
    | ~ value(X2,X3) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',value_propagation2) ).

cnf(halfadder_connection_out1or1_in1_and1,axiom,
    ( connection(out(n1,or1(X1)),in(n1,and1(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_out1or1_in1_and1) ).

cnf(and_1_1x,axiom,
    ( value(in(n1,X1),n1)
    | ~ mode(X1,ok)
    | ~ type(X1,and)
    | ~ value(out(n1,X1),n1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',and_1_1x) ).

cnf(in1_1,hypothesis,
    value(in(n1,f),n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',in1_1) ).

cnf(halfadder_or1,axiom,
    ( type(or1(X1),or)
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_or1) ).

cnf(halfadder_connection_in2_in2or1,axiom,
    ( connection(in(n2,X1),in(n2,or1(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_in2_in2or1) ).

cnf(halfadder_connection_outc_out1and2,axiom,
    ( connection(out(c,X1),out(n1,and2(X1)))
    | ~ type(X1,halfadder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-1.ax',halfadder_connection_outc_out1and2) ).

cnf(fulladder_connection_outc_out1or1,axiom,
    ( connection(out(c,X1),out(n1,or1(X1)))
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_connection_outc_out1or1) ).

cnf(diagnosis_or1_or1h2,negated_conjecture,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(or1(h2(f)),abnormal) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_or1h2) ).

cnf(fulladder_connection_outch1_in2or1,axiom,
    ( connection(out(c,h1(X1)),in(n2,or1(X1)))
    | ~ type(X1,fulladder) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-2.ax',fulladder_connection_outch1_in2or1) ).

cnf(or_00_0,axiom,
    ( value(out(n1,X1),n0)
    | ~ mode(X1,ok)
    | ~ type(X1,or)
    | ~ value(in(n1,X1),n0)
    | ~ value(in(n2,X1),n0) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',or_00_0) ).

cnf(or_0_01,axiom,
    ( value(in(n2,X1),n0)
    | ~ mode(X1,ok)
    | ~ type(X1,or)
    | ~ value(out(n1,X1),n0) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',or_0_01) ).

cnf(outc_0,hypothesis,
    value(out(c,f),n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',outc_0) ).

cnf(unique_value,axiom,
    ( equal_value(X2,X3)
    | ~ value(X1,X2)
    | ~ value(X1,X3) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',unique_value) ).

cnf(equal_value1,axiom,
    ~ equal_value(n0,n1),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV001-0.ax',equal_value1) ).

cnf(c_0_45,axiom,
    ( type(h1(X1),halfadder)
    | ~ type(X1,fulladder) ),
    fulladder_halfadder1 ).

cnf(c_0_46,hypothesis,
    type(f,fulladder),
    f_isa_fulladder ).

cnf(c_0_47,axiom,
    ( connection(in(n2,X1),in(n1,h1(X1)))
    | ~ type(X1,fulladder) ),
    fulladder_connection_in2_in1h1 ).

cnf(c_0_48,axiom,
    ( connection(in(c,X1),in(n2,h1(X1)))
    | ~ type(X1,fulladder) ),
    fulladder_connection_inc_in2h1 ).

cnf(c_0_49,axiom,
    ( connection(in(n1,X1),in(n1,and2(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_in1_in1and2 ).

cnf(c_0_50,hypothesis,
    type(h1(f),halfadder),
    inference(spm,[status(thm)],[c_0_45,c_0_46]) ).

cnf(c_0_51,axiom,
    ( value(X2,X3)
    | ~ connection(X1,X2)
    | ~ value(X1,X3) ),
    value_propagation1 ).

cnf(c_0_52,hypothesis,
    connection(in(n2,f),in(n1,h1(f))),
    inference(spm,[status(thm)],[c_0_47,c_0_46]) ).

cnf(c_0_53,axiom,
    ( connection(in(n2,X1),in(n2,and2(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_in2_in2and2 ).

cnf(c_0_54,hypothesis,
    connection(in(c,f),in(n2,h1(f))),
    inference(spm,[status(thm)],[c_0_48,c_0_46]) ).

cnf(c_0_55,axiom,
    ( type(and2(X1),and)
    | ~ type(X1,halfadder) ),
    halfadder_and2 ).

cnf(c_0_56,hypothesis,
    connection(in(n1,h1(f)),in(n1,and2(h1(f)))),
    inference(spm,[status(thm)],[c_0_49,c_0_50]) ).

cnf(c_0_57,hypothesis,
    ( value(in(n1,h1(f)),X1)
    | ~ value(in(n2,f),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_52]) ).

cnf(c_0_58,hypothesis,
    value(in(n2,f),n1),
    in2_0 ).

cnf(c_0_59,hypothesis,
    connection(in(n2,h1(f)),in(n2,and2(h1(f)))),
    inference(spm,[status(thm)],[c_0_53,c_0_50]) ).

cnf(c_0_60,hypothesis,
    ( value(in(n2,h1(f)),X1)
    | ~ value(in(c,f),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_54]) ).

cnf(c_0_61,hypothesis,
    value(in(c,f),n1),
    inc_1 ).

cnf(c_0_62,axiom,
    ( connection(out(n1,and2(X1)),in(n1,not1(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_out1and2_in1not1 ).

cnf(c_0_63,axiom,
    ( mode(X1,ok)
    | mode(X1,abnormal)
    | ~ type(X1,X2) ),
    ok_or_abnormal ).

cnf(c_0_64,hypothesis,
    type(and2(h1(f)),and),
    inference(spm,[status(thm)],[c_0_55,c_0_50]) ).

cnf(c_0_65,negated_conjecture,
    ~ mode(and2(h1(f)),abnormal),
    diagnosis_and2h1 ).

cnf(c_0_66,hypothesis,
    ( value(in(n1,and2(h1(f))),X1)
    | ~ value(in(n1,h1(f)),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_56]) ).

cnf(c_0_67,hypothesis,
    value(in(n1,h1(f)),n1),
    inference(spm,[status(thm)],[c_0_57,c_0_58]) ).

cnf(c_0_68,hypothesis,
    ( value(in(n2,and2(h1(f))),X1)
    | ~ value(in(n2,h1(f)),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_59]) ).

cnf(c_0_69,hypothesis,
    value(in(n2,h1(f)),n1),
    inference(spm,[status(thm)],[c_0_60,c_0_61]) ).

cnf(c_0_70,axiom,
    ( type(or1(X1),or)
    | ~ type(X1,fulladder) ),
    fulladder_or1 ).

cnf(c_0_71,axiom,
    ( type(not1(X1),not)
    | ~ type(X1,halfadder) ),
    halfadder_not1 ).

cnf(c_0_72,hypothesis,
    connection(out(n1,and2(h1(f))),in(n1,not1(h1(f)))),
    inference(spm,[status(thm)],[c_0_62,c_0_50]) ).

cnf(c_0_73,axiom,
    ( value(out(n1,X1),n1)
    | ~ mode(X1,ok)
    | ~ type(X1,and)
    | ~ value(in(n1,X1),n1)
    | ~ value(in(n2,X1),n1) ),
    and_11_1 ).

cnf(c_0_74,hypothesis,
    mode(and2(h1(f)),ok),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_63,c_0_64]),c_0_65]) ).

cnf(c_0_75,hypothesis,
    value(in(n1,and2(h1(f))),n1),
    inference(spm,[status(thm)],[c_0_66,c_0_67]) ).

cnf(c_0_76,hypothesis,
    value(in(n2,and2(h1(f))),n1),
    inference(spm,[status(thm)],[c_0_68,c_0_69]) ).

cnf(c_0_77,hypothesis,
    type(or1(f),or),
    inference(spm,[status(thm)],[c_0_70,c_0_46]) ).

cnf(c_0_78,axiom,
    ( type(and1(X1),and)
    | ~ type(X1,halfadder) ),
    halfadder_and1 ).

cnf(c_0_79,axiom,
    ( value(out(n1,X1),n0)
    | ~ mode(X1,ok)
    | ~ type(X1,not)
    | ~ value(in(n1,X1),n1) ),
    not_1_0_fw ).

cnf(c_0_80,hypothesis,
    type(not1(h1(f)),not),
    inference(spm,[status(thm)],[c_0_71,c_0_50]) ).

cnf(c_0_81,hypothesis,
    ( value(in(n1,not1(h1(f))),X1)
    | ~ value(out(n1,and2(h1(f))),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_72]) ).

cnf(c_0_82,hypothesis,
    value(out(n1,and2(h1(f))),n1),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_73,c_0_64]),c_0_74]),c_0_75]),c_0_76])]) ).

cnf(c_0_83,negated_conjecture,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(not1(h1(f)),abnormal) ),
    diagnosis_or1_not1h1 ).

cnf(c_0_84,hypothesis,
    ( mode(or1(f),abnormal)
    | mode(or1(f),ok) ),
    inference(spm,[status(thm)],[c_0_63,c_0_77]) ).

cnf(c_0_85,axiom,
    ( type(h2(X1),halfadder)
    | ~ type(X1,fulladder) ),
    fulladder_halfadder2 ).

cnf(c_0_86,axiom,
    ( connection(out(s,X1),out(s,h2(X1)))
    | ~ type(X1,fulladder) ),
    fulladder_connection_outs_outsh2 ).

cnf(c_0_87,negated_conjecture,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(and1(h1(f)),abnormal) ),
    diagnosis_or1_and1h1 ).

cnf(c_0_88,hypothesis,
    type(and1(h1(f)),and),
    inference(spm,[status(thm)],[c_0_78,c_0_50]) ).

cnf(c_0_89,axiom,
    ( connection(out(n1,not1(X1)),in(n2,and1(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_out1not1_in2and1 ).

cnf(c_0_90,hypothesis,
    ( value(out(n1,not1(h1(f))),n0)
    | ~ mode(not1(h1(f)),ok)
    | ~ value(in(n1,not1(h1(f))),n1) ),
    inference(spm,[status(thm)],[c_0_79,c_0_80]) ).

cnf(c_0_91,hypothesis,
    value(in(n1,not1(h1(f))),n1),
    inference(spm,[status(thm)],[c_0_81,c_0_82]) ).

cnf(c_0_92,negated_conjecture,
    ( mode(or1(f),ok)
    | ~ mode(not1(h1(f)),abnormal) ),
    inference(spm,[status(thm)],[c_0_83,c_0_84]) ).

cnf(c_0_93,hypothesis,
    ( mode(not1(h1(f)),abnormal)
    | mode(not1(h1(f)),ok) ),
    inference(spm,[status(thm)],[c_0_63,c_0_80]) ).

cnf(c_0_94,axiom,
    ( connection(out(s,X1),out(n1,and1(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_outs_out1and1 ).

cnf(c_0_95,hypothesis,
    type(h2(f),halfadder),
    inference(spm,[status(thm)],[c_0_85,c_0_46]) ).

cnf(c_0_96,hypothesis,
    connection(out(s,f),out(s,h2(f))),
    inference(spm,[status(thm)],[c_0_86,c_0_46]) ).

cnf(c_0_97,axiom,
    ( value(out(n1,X1),n0)
    | ~ mode(X1,ok)
    | ~ type(X1,and)
    | ~ value(in(X2,X1),n0) ),
    and_0x_0 ).

cnf(c_0_98,negated_conjecture,
    ( mode(or1(f),ok)
    | ~ mode(and1(h1(f)),abnormal) ),
    inference(spm,[status(thm)],[c_0_87,c_0_84]) ).

cnf(c_0_99,hypothesis,
    ( mode(and1(h1(f)),abnormal)
    | mode(and1(h1(f)),ok) ),
    inference(spm,[status(thm)],[c_0_63,c_0_88]) ).

cnf(c_0_100,hypothesis,
    connection(out(n1,not1(h1(f))),in(n2,and1(h1(f)))),
    inference(spm,[status(thm)],[c_0_89,c_0_50]) ).

cnf(c_0_101,hypothesis,
    ( value(out(n1,not1(h1(f))),n0)
    | ~ mode(not1(h1(f)),ok) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_90,c_0_91])]) ).

cnf(c_0_102,negated_conjecture,
    ( mode(not1(h1(f)),ok)
    | mode(or1(f),ok) ),
    inference(spm,[status(thm)],[c_0_92,c_0_93]) ).

cnf(c_0_103,hypothesis,
    connection(out(s,h2(f)),out(n1,and1(h2(f)))),
    inference(spm,[status(thm)],[c_0_94,c_0_95]) ).

cnf(c_0_104,hypothesis,
    ( value(out(s,h2(f)),X1)
    | ~ value(out(s,f),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_96]) ).

cnf(c_0_105,hypothesis,
    value(out(s,f),n1),
    outs_1 ).

cnf(c_0_106,axiom,
    ( connection(in(n1,X1),in(n1,h2(X1)))
    | ~ type(X1,fulladder) ),
    fulladder_connection_in1_in1h2 ).

cnf(c_0_107,hypothesis,
    ( value(out(n1,and1(h1(f))),n0)
    | ~ mode(and1(h1(f)),ok)
    | ~ value(in(X1,and1(h1(f))),n0) ),
    inference(spm,[status(thm)],[c_0_97,c_0_88]) ).

cnf(c_0_108,negated_conjecture,
    ( mode(and1(h1(f)),ok)
    | mode(or1(f),ok) ),
    inference(spm,[status(thm)],[c_0_98,c_0_99]) ).

cnf(c_0_109,hypothesis,
    ( value(in(n2,and1(h1(f))),X1)
    | ~ value(out(n1,not1(h1(f))),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_100]) ).

cnf(c_0_110,negated_conjecture,
    ( mode(or1(f),ok)
    | value(out(n1,not1(h1(f))),n0) ),
    inference(spm,[status(thm)],[c_0_101,c_0_102]) ).

cnf(c_0_111,hypothesis,
    ( value(out(n1,and1(h2(f))),X1)
    | ~ value(out(s,h2(f)),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_103]) ).

cnf(c_0_112,hypothesis,
    value(out(s,h2(f)),n1),
    inference(spm,[status(thm)],[c_0_104,c_0_105]) ).

cnf(c_0_113,negated_conjecture,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(and1(h2(f)),abnormal) ),
    diagnosis_or1_and1h2 ).

cnf(c_0_114,hypothesis,
    type(and1(h2(f)),and),
    inference(spm,[status(thm)],[c_0_78,c_0_95]) ).

cnf(c_0_115,axiom,
    ( connection(in(n1,X1),in(n1,or1(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_in1_in1or1 ).

cnf(c_0_116,hypothesis,
    connection(in(n1,f),in(n1,h2(f))),
    inference(spm,[status(thm)],[c_0_106,c_0_46]) ).

cnf(c_0_117,axiom,
    ( connection(out(s,h1(X1)),in(n2,h2(X1)))
    | ~ type(X1,fulladder) ),
    fulladder_connection_outsh1_in2h2 ).

cnf(c_0_118,axiom,
    ( value(X1,X3)
    | ~ connection(X1,X2)
    | ~ value(X2,X3) ),
    value_propagation2 ).

cnf(c_0_119,hypothesis,
    connection(out(s,h1(f)),out(n1,and1(h1(f)))),
    inference(spm,[status(thm)],[c_0_94,c_0_50]) ).

cnf(c_0_120,negated_conjecture,
    ( mode(or1(f),ok)
    | value(out(n1,and1(h1(f))),n0)
    | ~ value(in(X1,and1(h1(f))),n0) ),
    inference(spm,[status(thm)],[c_0_107,c_0_108]) ).

cnf(c_0_121,hypothesis,
    ( mode(or1(f),ok)
    | value(in(n2,and1(h1(f))),n0) ),
    inference(spm,[status(thm)],[c_0_109,c_0_110]) ).

cnf(c_0_122,axiom,
    ( connection(out(n1,or1(X1)),in(n1,and1(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_out1or1_in1_and1 ).

cnf(c_0_123,axiom,
    ( value(in(n1,X1),n1)
    | ~ mode(X1,ok)
    | ~ type(X1,and)
    | ~ value(out(n1,X1),n1) ),
    and_1_1x ).

cnf(c_0_124,hypothesis,
    value(out(n1,and1(h2(f))),n1),
    inference(spm,[status(thm)],[c_0_111,c_0_112]) ).

cnf(c_0_125,negated_conjecture,
    ( mode(or1(f),ok)
    | ~ mode(and1(h2(f)),abnormal) ),
    inference(spm,[status(thm)],[c_0_113,c_0_84]) ).

cnf(c_0_126,hypothesis,
    ( mode(and1(h2(f)),abnormal)
    | mode(and1(h2(f)),ok) ),
    inference(spm,[status(thm)],[c_0_63,c_0_114]) ).

cnf(c_0_127,hypothesis,
    connection(in(n1,h2(f)),in(n1,or1(h2(f)))),
    inference(spm,[status(thm)],[c_0_115,c_0_95]) ).

cnf(c_0_128,hypothesis,
    ( value(in(n1,h2(f)),X1)
    | ~ value(in(n1,f),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_116]) ).

cnf(c_0_129,hypothesis,
    value(in(n1,f),n0),
    in1_1 ).

cnf(c_0_130,axiom,
    ( type(or1(X1),or)
    | ~ type(X1,halfadder) ),
    halfadder_or1 ).

cnf(c_0_131,axiom,
    ( connection(in(n2,X1),in(n2,or1(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_in2_in2or1 ).

cnf(c_0_132,hypothesis,
    connection(out(s,h1(f)),in(n2,h2(f))),
    inference(spm,[status(thm)],[c_0_117,c_0_46]) ).

cnf(c_0_133,hypothesis,
    ( value(out(s,h1(f)),X1)
    | ~ value(out(n1,and1(h1(f))),X1) ),
    inference(spm,[status(thm)],[c_0_118,c_0_119]) ).

cnf(c_0_134,negated_conjecture,
    ( mode(or1(f),ok)
    | value(out(n1,and1(h1(f))),n0) ),
    inference(spm,[status(thm)],[c_0_120,c_0_121]) ).

cnf(c_0_135,axiom,
    ( connection(out(c,X1),out(n1,and2(X1)))
    | ~ type(X1,halfadder) ),
    halfadder_connection_outc_out1and2 ).

cnf(c_0_136,axiom,
    ( connection(out(c,X1),out(n1,or1(X1)))
    | ~ type(X1,fulladder) ),
    fulladder_connection_outc_out1or1 ).

cnf(c_0_137,hypothesis,
    connection(out(n1,or1(h2(f))),in(n1,and1(h2(f)))),
    inference(spm,[status(thm)],[c_0_122,c_0_95]) ).

cnf(c_0_138,hypothesis,
    ( value(in(n1,and1(h2(f))),n1)
    | ~ mode(and1(h2(f)),ok) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_123,c_0_114]),c_0_124])]) ).

cnf(c_0_139,negated_conjecture,
    ( mode(and1(h2(f)),ok)
    | mode(or1(f),ok) ),
    inference(spm,[status(thm)],[c_0_125,c_0_126]) ).

cnf(c_0_140,hypothesis,
    ( value(in(n1,or1(h2(f))),X1)
    | ~ value(in(n1,h2(f)),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_127]) ).

cnf(c_0_141,hypothesis,
    value(in(n1,h2(f)),n0),
    inference(spm,[status(thm)],[c_0_128,c_0_129]) ).

cnf(c_0_142,negated_conjecture,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(or1(h2(f)),abnormal) ),
    diagnosis_or1_or1h2 ).

cnf(c_0_143,hypothesis,
    type(or1(h2(f)),or),
    inference(spm,[status(thm)],[c_0_130,c_0_95]) ).

cnf(c_0_144,hypothesis,
    connection(in(n2,h2(f)),in(n2,or1(h2(f)))),
    inference(spm,[status(thm)],[c_0_131,c_0_95]) ).

cnf(c_0_145,hypothesis,
    ( value(in(n2,h2(f)),X1)
    | ~ value(out(s,h1(f)),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_132]) ).

cnf(c_0_146,hypothesis,
    ( mode(or1(f),ok)
    | value(out(s,h1(f)),n0) ),
    inference(spm,[status(thm)],[c_0_133,c_0_134]) ).

cnf(c_0_147,axiom,
    ( connection(out(c,h1(X1)),in(n2,or1(X1)))
    | ~ type(X1,fulladder) ),
    fulladder_connection_outch1_in2or1 ).

cnf(c_0_148,hypothesis,
    connection(out(c,h1(f)),out(n1,and2(h1(f)))),
    inference(spm,[status(thm)],[c_0_135,c_0_50]) ).

cnf(c_0_149,hypothesis,
    connection(out(c,f),out(n1,or1(f))),
    inference(spm,[status(thm)],[c_0_136,c_0_46]) ).

cnf(c_0_150,hypothesis,
    ( value(out(n1,or1(h2(f))),X1)
    | ~ value(in(n1,and1(h2(f))),X1) ),
    inference(spm,[status(thm)],[c_0_118,c_0_137]) ).

cnf(c_0_151,negated_conjecture,
    ( mode(or1(f),ok)
    | value(in(n1,and1(h2(f))),n1) ),
    inference(spm,[status(thm)],[c_0_138,c_0_139]) ).

cnf(c_0_152,axiom,
    ( value(out(n1,X1),n0)
    | ~ mode(X1,ok)
    | ~ type(X1,or)
    | ~ value(in(n1,X1),n0)
    | ~ value(in(n2,X1),n0) ),
    or_00_0 ).

cnf(c_0_153,hypothesis,
    value(in(n1,or1(h2(f))),n0),
    inference(spm,[status(thm)],[c_0_140,c_0_141]) ).

cnf(c_0_154,negated_conjecture,
    ( mode(or1(f),ok)
    | ~ mode(or1(h2(f)),abnormal) ),
    inference(spm,[status(thm)],[c_0_142,c_0_84]) ).

cnf(c_0_155,hypothesis,
    ( mode(or1(h2(f)),abnormal)
    | mode(or1(h2(f)),ok) ),
    inference(spm,[status(thm)],[c_0_63,c_0_143]) ).

cnf(c_0_156,hypothesis,
    ( value(in(n2,or1(h2(f))),X1)
    | ~ value(in(n2,h2(f)),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_144]) ).

cnf(c_0_157,hypothesis,
    ( mode(or1(f),ok)
    | value(in(n2,h2(f)),n0) ),
    inference(spm,[status(thm)],[c_0_145,c_0_146]) ).

cnf(c_0_158,hypothesis,
    connection(out(c,h1(f)),in(n2,or1(f))),
    inference(spm,[status(thm)],[c_0_147,c_0_46]) ).

cnf(c_0_159,hypothesis,
    ( value(out(c,h1(f)),X1)
    | ~ value(out(n1,and2(h1(f))),X1) ),
    inference(spm,[status(thm)],[c_0_118,c_0_148]) ).

cnf(c_0_160,axiom,
    ( value(in(n2,X1),n0)
    | ~ mode(X1,ok)
    | ~ type(X1,or)
    | ~ value(out(n1,X1),n0) ),
    or_0_01 ).

cnf(c_0_161,hypothesis,
    ( value(out(n1,or1(f)),X1)
    | ~ value(out(c,f),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_149]) ).

cnf(c_0_162,hypothesis,
    value(out(c,f),n0),
    outc_0 ).

cnf(c_0_163,axiom,
    ( equal_value(X2,X3)
    | ~ value(X1,X2)
    | ~ value(X1,X3) ),
    unique_value ).

cnf(c_0_164,hypothesis,
    ( mode(or1(f),ok)
    | value(out(n1,or1(h2(f))),n1) ),
    inference(spm,[status(thm)],[c_0_150,c_0_151]) ).

cnf(c_0_165,hypothesis,
    ( value(out(n1,or1(h2(f))),n0)
    | ~ mode(or1(h2(f)),ok)
    | ~ value(in(n2,or1(h2(f))),n0) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_152,c_0_143]),c_0_153])]) ).

cnf(c_0_166,negated_conjecture,
    ( mode(or1(h2(f)),ok)
    | mode(or1(f),ok) ),
    inference(spm,[status(thm)],[c_0_154,c_0_155]) ).

cnf(c_0_167,hypothesis,
    ( mode(or1(f),ok)
    | value(in(n2,or1(h2(f))),n0) ),
    inference(spm,[status(thm)],[c_0_156,c_0_157]) ).

cnf(c_0_168,hypothesis,
    ( value(in(n2,or1(f)),X1)
    | ~ value(out(c,h1(f)),X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_158]) ).

cnf(c_0_169,hypothesis,
    value(out(c,h1(f)),n1),
    inference(spm,[status(thm)],[c_0_159,c_0_82]) ).

cnf(c_0_170,hypothesis,
    ( value(in(n2,or1(f)),n0)
    | ~ mode(or1(f),ok)
    | ~ value(out(n1,or1(f)),n0) ),
    inference(spm,[status(thm)],[c_0_160,c_0_77]) ).

cnf(c_0_171,hypothesis,
    value(out(n1,or1(f)),n0),
    inference(spm,[status(thm)],[c_0_161,c_0_162]) ).

cnf(c_0_172,hypothesis,
    ( mode(or1(f),ok)
    | equal_value(X1,n1)
    | ~ value(out(n1,or1(h2(f))),X1) ),
    inference(spm,[status(thm)],[c_0_163,c_0_164]) ).

cnf(c_0_173,negated_conjecture,
    ( mode(or1(f),ok)
    | value(out(n1,or1(h2(f))),n0) ),
    inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_165,c_0_166]),c_0_167]) ).

cnf(c_0_174,axiom,
    ~ equal_value(n0,n1),
    equal_value1 ).

cnf(c_0_175,hypothesis,
    value(in(n2,or1(f)),n1),
    inference(spm,[status(thm)],[c_0_168,c_0_169]) ).

cnf(c_0_176,hypothesis,
    ( value(in(n2,or1(f)),n0)
    | ~ mode(or1(f),ok) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_170,c_0_171])]) ).

cnf(c_0_177,hypothesis,
    mode(or1(f),ok),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_172,c_0_173]),c_0_174]) ).

cnf(c_0_178,hypothesis,
    ( equal_value(X1,n1)
    | ~ value(in(n2,or1(f)),X1) ),
    inference(spm,[status(thm)],[c_0_163,c_0_175]) ).

cnf(c_0_179,hypothesis,
    value(in(n2,or1(f)),n0),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_176,c_0_177])]) ).

cnf(c_0_180,hypothesis,
    $false,
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_178,c_0_179]),c_0_174]),
    [proof] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.12/0.12  % Problem    : HWV007-1 : TPTP v8.1.2. Released v2.1.0.
% 0.13/0.13  % Command    : java -jar /export/starexec/sandbox/solver/bin/mcs_scs.jar %d %s
% 0.13/0.34  % Computer : n003.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   : Tue Aug 29 14:26:25 EDT 2023
% 0.13/0.34  % CPUTime  : 
% 0.46/0.59  start to proof: theBenchmark
% 0.46/0.62  % Version  : CSE_E---1.5
% 0.46/0.62  % Problem  : theBenchmark.p
% 0.46/0.62  % Proof found
% 0.46/0.62  % SZS status Theorem for theBenchmark.p
% 0.46/0.62  % SZS output start Proof
% See solution above
% 0.58/0.63  % Total time : 0.027000 s
% 0.58/0.63  % SZS output end Proof
% 0.58/0.63  % Total time : 0.029000 s
%------------------------------------------------------------------------------