TSTP Solution File: HWV006-2 by CSE_E---1.5

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : HWV006-2 : TPTP v8.1.2. Bugfixed v2.7.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -jar /export/starexec/sandbox/solver/bin/mcs_scs.jar %d %s

% Computer : n001.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.18s 0.62s
% Output   : CNFRefutation 0.18s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   20
%            Number of leaves      :   76
% Syntax   : Number of formulae    :  207 (  27 unt;  25 typ;   0 def)
%            Number of atoms       :  469 (   0 equ)
%            Maximal formula atoms :    5 (   2 avg)
%            Number of connectives :  572 ( 285   ~; 287   |;   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  :   25 (  24   >;   1   *;   0   +;   0  <<)
%            Number of predicates  :   13 (  12 usr;   1 prp; 0-2 aty)
%            Number of functors    :   13 (  13 usr;   1 con; 0-1 aty)
%            Number of variables   :  123 (   0 sgn;   0   !;   0   ?;   0   :)

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

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

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

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

tff(decl_26,type,
    in1: $i > $i ).

tff(decl_27,type,
    out1: $i > $i ).

tff(decl_28,type,
    in2: $i > $i ).

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

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

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

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

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

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

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

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

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

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

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

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

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

tff(decl_42,type,
    fulladder: $i > $o ).

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

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

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

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

cnf(not_ok_or_abnormal,axiom,
    ( not_ok(X1)
    | abnormal(X1)
    | ~ logic_not(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',not_ok_or_abnormal) ).

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

cnf(and_ok_or_abnormal,axiom,
    ( and_ok(X1)
    | abnormal(X1)
    | ~ logic_and(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',and_ok_or_abnormal) ).

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

cnf(not_1_0_bw,axiom,
    ( zero(in1(X1))
    | ~ not_ok(X1)
    | ~ one(out1(X1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',not_1_0_bw) ).

cnf(and_1_x1,axiom,
    ( one(in2(X1))
    | ~ and_ok(X1)
    | ~ one(out1(X1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',and_1_x1) ).

cnf(value_propagation_zero2,axiom,
    ( zero(X1)
    | ~ connection(X1,X2)
    | ~ zero(X2) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',value_propagation_zero2) ).

cnf(halfadder_connection_out1and2_in1not1,axiom,
    ( connection(out1(and2(X1)),in1(not1(X1)))
    | ~ halfadder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-1.ax',halfadder_connection_out1and2_in1not1) ).

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

cnf(value_propagation_one2,axiom,
    ( one(X1)
    | ~ connection(X1,X2)
    | ~ one(X2) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',value_propagation_one2) ).

cnf(halfadder_connection_out1not1_in2and1,axiom,
    ( connection(out1(not1(X1)),in2(and1(X1)))
    | ~ halfadder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-1.ax',halfadder_connection_out1not1_in2and1) ).

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

cnf(and_0_00,axiom,
    ( zero(in1(X1))
    | zero(in2(X1))
    | ~ and_ok(X1)
    | ~ zero(out1(X1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',and_0_00) ).

cnf(unique_value,axiom,
    ( ~ zero(X1)
    | ~ one(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',unique_value) ).

cnf(halfadder_connection_outc_out1and2,axiom,
    ( connection(outc(X1),out1(and2(X1)))
    | ~ halfadder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-1.ax',halfadder_connection_outc_out1and2) ).

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

cnf(value_propagation_one1,axiom,
    ( one(X2)
    | ~ connection(X1,X2)
    | ~ one(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',value_propagation_one1) ).

cnf(not_0_1_fw,axiom,
    ( one(out1(X1))
    | ~ not_ok(X1)
    | ~ zero(in1(X1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',not_0_1_fw) ).

cnf(or_ok_or_abnormal,axiom,
    ( or_ok(X1)
    | abnormal(X1)
    | ~ logic_or(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',or_ok_or_abnormal) ).

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

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

cnf(halfadder_connection_outs_out1and1,axiom,
    ( connection(outs(X1),out1(and1(X1)))
    | ~ halfadder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-1.ax',halfadder_connection_outs_out1and1) ).

cnf(value_propagation_zero1,axiom,
    ( zero(X2)
    | ~ connection(X1,X2)
    | ~ zero(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',value_propagation_zero1) ).

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

cnf(or_0_01,axiom,
    ( zero(in2(X1))
    | ~ or_ok(X1)
    | ~ zero(out1(X1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',or_0_01) ).

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

cnf(fulladder_connection_outch2_in1or1,axiom,
    ( connection(outc(h2(X1)),in1(or1(X1)))
    | ~ fulladder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-2.ax',fulladder_connection_outch2_in1or1) ).

cnf(fulladder_connection_inc_in2h1,axiom,
    ( connection(inc(X1),in2(h1(X1)))
    | ~ fulladder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-2.ax',fulladder_connection_inc_in2h1) ).

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

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

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

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

cnf(inc_1,hypothesis,
    one(inc(f)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',inc_1) ).

cnf(diagnosis_and2,negated_conjecture,
    ~ abnormal(and2(h2(f))),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_and2) ).

cnf(outs_1,hypothesis,
    one(outs(f)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',outs_1) ).

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

cnf(fulladder_connection_outc_out1or1,axiom,
    ( connection(outc(X1),out1(or1(X1)))
    | ~ fulladder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-2.ax',fulladder_connection_outc_out1or1) ).

cnf(halfadder_connection_out1or1_in1_and1,axiom,
    ( connection(out1(or1(X1)),in1(and1(X1)))
    | ~ halfadder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-1.ax',halfadder_connection_out1or1_in1_and1) ).

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

cnf(or_0_0x,axiom,
    ( zero(in1(X1))
    | ~ or_ok(X1)
    | ~ zero(out1(X1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',or_0_0x) ).

cnf(outc_0,hypothesis,
    zero(outc(f)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',outc_0) ).

cnf(fulladder_connection_outsh1_in2h2,axiom,
    ( connection(outs(h1(X1)),in2(h2(X1)))
    | ~ fulladder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-2.ax',fulladder_connection_outsh1_in2h2) ).

cnf(and_0x_0,axiom,
    ( zero(out1(X1))
    | ~ and_ok(X1)
    | ~ zero(in1(X1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',and_0x_0) ).

cnf(fulladder_connection_outch1_in2or1,axiom,
    ( connection(outc(h1(X1)),in2(or1(X1)))
    | ~ fulladder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-2.ax',fulladder_connection_outch1_in2or1) ).

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

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

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

cnf(fulladder_connection_in2_in1h1,axiom,
    ( connection(in2(X1),in1(h1(X1)))
    | ~ fulladder(X1) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-2.ax',fulladder_connection_in2_in1h1) ).

cnf(in2_0,hypothesis,
    zero(in2(f)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',in2_0) ).

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

cnf(in1_1,hypothesis,
    one(in1(f)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',in1_1) ).

cnf(c_0_51,axiom,
    ( not_ok(X1)
    | abnormal(X1)
    | ~ logic_not(X1) ),
    not_ok_or_abnormal ).

cnf(c_0_52,axiom,
    ( logic_not(not1(X1))
    | ~ halfadder(X1) ),
    halfadder_not1 ).

cnf(c_0_53,axiom,
    ( and_ok(X1)
    | abnormal(X1)
    | ~ logic_and(X1) ),
    and_ok_or_abnormal ).

cnf(c_0_54,axiom,
    ( logic_and(and1(X1))
    | ~ halfadder(X1) ),
    halfadder_and1 ).

cnf(c_0_55,axiom,
    ( zero(in1(X1))
    | ~ not_ok(X1)
    | ~ one(out1(X1)) ),
    not_1_0_bw ).

cnf(c_0_56,plain,
    ( not_ok(not1(X1))
    | abnormal(not1(X1))
    | ~ halfadder(X1) ),
    inference(spm,[status(thm)],[c_0_51,c_0_52]) ).

cnf(c_0_57,axiom,
    ( one(in2(X1))
    | ~ and_ok(X1)
    | ~ one(out1(X1)) ),
    and_1_x1 ).

cnf(c_0_58,plain,
    ( abnormal(and1(X1))
    | and_ok(and1(X1))
    | ~ halfadder(X1) ),
    inference(spm,[status(thm)],[c_0_53,c_0_54]) ).

cnf(c_0_59,axiom,
    ( zero(X1)
    | ~ connection(X1,X2)
    | ~ zero(X2) ),
    value_propagation_zero2 ).

cnf(c_0_60,axiom,
    ( connection(out1(and2(X1)),in1(not1(X1)))
    | ~ halfadder(X1) ),
    halfadder_connection_out1and2_in1not1 ).

cnf(c_0_61,negated_conjecture,
    ( ~ abnormal(or1(f))
    | ~ abnormal(not1(h2(f))) ),
    diagnosis_or1_not1h2 ).

cnf(c_0_62,plain,
    ( abnormal(not1(X1))
    | zero(in1(not1(X1)))
    | ~ halfadder(X1)
    | ~ one(out1(not1(X1))) ),
    inference(spm,[status(thm)],[c_0_55,c_0_56]) ).

cnf(c_0_63,axiom,
    ( one(X1)
    | ~ connection(X1,X2)
    | ~ one(X2) ),
    value_propagation_one2 ).

cnf(c_0_64,axiom,
    ( connection(out1(not1(X1)),in2(and1(X1)))
    | ~ halfadder(X1) ),
    halfadder_connection_out1not1_in2and1 ).

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

cnf(c_0_66,plain,
    ( abnormal(and1(X1))
    | one(in2(and1(X1)))
    | ~ halfadder(X1)
    | ~ one(out1(and1(X1))) ),
    inference(spm,[status(thm)],[c_0_57,c_0_58]) ).

cnf(c_0_67,axiom,
    ( zero(in1(X1))
    | zero(in2(X1))
    | ~ and_ok(X1)
    | ~ zero(out1(X1)) ),
    and_0_00 ).

cnf(c_0_68,plain,
    ( zero(out1(and2(X1)))
    | ~ halfadder(X1)
    | ~ zero(in1(not1(X1))) ),
    inference(spm,[status(thm)],[c_0_59,c_0_60]) ).

cnf(c_0_69,negated_conjecture,
    ( zero(in1(not1(h2(f))))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f))
    | ~ one(out1(not1(h2(f)))) ),
    inference(spm,[status(thm)],[c_0_61,c_0_62]) ).

cnf(c_0_70,plain,
    ( one(out1(not1(X1)))
    | ~ halfadder(X1)
    | ~ one(in2(and1(X1))) ),
    inference(spm,[status(thm)],[c_0_63,c_0_64]) ).

cnf(c_0_71,negated_conjecture,
    ( one(in2(and1(h2(f))))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f))
    | ~ one(out1(and1(h2(f)))) ),
    inference(spm,[status(thm)],[c_0_65,c_0_66]) ).

cnf(c_0_72,axiom,
    ( ~ zero(X1)
    | ~ one(X1) ),
    unique_value ).

cnf(c_0_73,plain,
    ( abnormal(and1(X1))
    | zero(in2(and1(X1)))
    | zero(in1(and1(X1)))
    | ~ halfadder(X1)
    | ~ zero(out1(and1(X1))) ),
    inference(spm,[status(thm)],[c_0_67,c_0_58]) ).

cnf(c_0_74,axiom,
    ( connection(outc(X1),out1(and2(X1)))
    | ~ halfadder(X1) ),
    halfadder_connection_outc_out1and2 ).

cnf(c_0_75,negated_conjecture,
    ( zero(out1(and2(h2(f))))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f))
    | ~ one(out1(not1(h2(f)))) ),
    inference(spm,[status(thm)],[c_0_68,c_0_69]) ).

cnf(c_0_76,negated_conjecture,
    ( one(out1(not1(h2(f))))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f))
    | ~ one(out1(and1(h2(f)))) ),
    inference(spm,[status(thm)],[c_0_70,c_0_71]) ).

cnf(c_0_77,negated_conjecture,
    ~ abnormal(and1(h1(f))),
    diagnosis_and1h1 ).

cnf(c_0_78,plain,
    ( abnormal(and1(X1))
    | zero(in1(and1(X1)))
    | ~ halfadder(X1)
    | ~ one(in2(and1(X1)))
    | ~ zero(out1(and1(X1))) ),
    inference(spm,[status(thm)],[c_0_72,c_0_73]) ).

cnf(c_0_79,axiom,
    ( one(X2)
    | ~ connection(X1,X2)
    | ~ one(X1) ),
    value_propagation_one1 ).

cnf(c_0_80,axiom,
    ( one(out1(X1))
    | ~ not_ok(X1)
    | ~ zero(in1(X1)) ),
    not_0_1_fw ).

cnf(c_0_81,axiom,
    ( or_ok(X1)
    | abnormal(X1)
    | ~ logic_or(X1) ),
    or_ok_or_abnormal ).

cnf(c_0_82,axiom,
    ( logic_or(or1(X1))
    | ~ halfadder(X1) ),
    halfadder_or1 ).

cnf(c_0_83,axiom,
    ( logic_and(and2(X1))
    | ~ halfadder(X1) ),
    halfadder_and2 ).

cnf(c_0_84,plain,
    ( zero(outc(X1))
    | ~ halfadder(X1)
    | ~ zero(out1(and2(X1))) ),
    inference(spm,[status(thm)],[c_0_59,c_0_74]) ).

cnf(c_0_85,negated_conjecture,
    ( zero(out1(and2(h2(f))))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f))
    | ~ one(out1(and1(h2(f)))) ),
    inference(spm,[status(thm)],[c_0_75,c_0_76]) ).

cnf(c_0_86,axiom,
    ( connection(outs(X1),out1(and1(X1)))
    | ~ halfadder(X1) ),
    halfadder_connection_outs_out1and1 ).

cnf(c_0_87,negated_conjecture,
    ( zero(in1(and1(h1(f))))
    | ~ halfadder(h1(f))
    | ~ one(in2(and1(h1(f))))
    | ~ zero(out1(and1(h1(f)))) ),
    inference(spm,[status(thm)],[c_0_77,c_0_78]) ).

cnf(c_0_88,plain,
    ( one(in2(and1(X1)))
    | ~ halfadder(X1)
    | ~ one(out1(not1(X1))) ),
    inference(spm,[status(thm)],[c_0_79,c_0_64]) ).

cnf(c_0_89,axiom,
    ( zero(X2)
    | ~ connection(X1,X2)
    | ~ zero(X1) ),
    value_propagation_zero1 ).

cnf(c_0_90,negated_conjecture,
    ~ abnormal(not1(h1(f))),
    diagnosis_not1h1 ).

cnf(c_0_91,plain,
    ( abnormal(not1(X1))
    | one(out1(not1(X1)))
    | ~ halfadder(X1)
    | ~ zero(in1(not1(X1))) ),
    inference(spm,[status(thm)],[c_0_80,c_0_56]) ).

cnf(c_0_92,axiom,
    ( zero(in2(X1))
    | ~ or_ok(X1)
    | ~ zero(out1(X1)) ),
    or_0_01 ).

cnf(c_0_93,plain,
    ( or_ok(or1(X1))
    | abnormal(or1(X1))
    | ~ halfadder(X1) ),
    inference(spm,[status(thm)],[c_0_81,c_0_82]) ).

cnf(c_0_94,axiom,
    ( connection(in2(X1),in2(and2(X1)))
    | ~ halfadder(X1) ),
    halfadder_connection_in2_in2and2 ).

cnf(c_0_95,plain,
    ( abnormal(and2(X1))
    | and_ok(and2(X1))
    | ~ halfadder(X1) ),
    inference(spm,[status(thm)],[c_0_53,c_0_83]) ).

cnf(c_0_96,axiom,
    ( connection(outc(h2(X1)),in1(or1(X1)))
    | ~ fulladder(X1) ),
    fulladder_connection_outch2_in1or1 ).

cnf(c_0_97,negated_conjecture,
    ( zero(outc(h2(f)))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f))
    | ~ one(out1(and1(h2(f)))) ),
    inference(spm,[status(thm)],[c_0_84,c_0_85]) ).

cnf(c_0_98,plain,
    ( one(out1(and1(X1)))
    | ~ halfadder(X1)
    | ~ one(outs(X1)) ),
    inference(spm,[status(thm)],[c_0_79,c_0_86]) ).

cnf(c_0_99,negated_conjecture,
    ( zero(in1(and1(h1(f))))
    | ~ halfadder(h1(f))
    | ~ one(out1(not1(h1(f))))
    | ~ zero(out1(and1(h1(f)))) ),
    inference(spm,[status(thm)],[c_0_87,c_0_88]) ).

cnf(c_0_100,plain,
    ( zero(out1(and1(X1)))
    | ~ halfadder(X1)
    | ~ zero(outs(X1)) ),
    inference(spm,[status(thm)],[c_0_89,c_0_86]) ).

cnf(c_0_101,negated_conjecture,
    ( one(out1(not1(h1(f))))
    | ~ halfadder(h1(f))
    | ~ zero(in1(not1(h1(f)))) ),
    inference(spm,[status(thm)],[c_0_90,c_0_91]) ).

cnf(c_0_102,plain,
    ( zero(in1(not1(X1)))
    | ~ halfadder(X1)
    | ~ zero(out1(and2(X1))) ),
    inference(spm,[status(thm)],[c_0_89,c_0_60]) ).

cnf(c_0_103,plain,
    ( abnormal(or1(X1))
    | zero(in2(or1(X1)))
    | ~ halfadder(X1)
    | ~ zero(out1(or1(X1))) ),
    inference(spm,[status(thm)],[c_0_92,c_0_93]) ).

cnf(c_0_104,axiom,
    ( connection(inc(X1),in2(h1(X1)))
    | ~ fulladder(X1) ),
    fulladder_connection_inc_in2h1 ).

cnf(c_0_105,plain,
    ( zero(in2(X1))
    | ~ halfadder(X1)
    | ~ zero(in2(and2(X1))) ),
    inference(spm,[status(thm)],[c_0_59,c_0_94]) ).

cnf(c_0_106,plain,
    ( abnormal(and2(X1))
    | zero(in2(and2(X1)))
    | zero(in1(and2(X1)))
    | ~ halfadder(X1)
    | ~ zero(out1(and2(X1))) ),
    inference(spm,[status(thm)],[c_0_67,c_0_95]) ).

cnf(c_0_107,plain,
    ( zero(in1(or1(X1)))
    | ~ fulladder(X1)
    | ~ zero(outc(h2(X1))) ),
    inference(spm,[status(thm)],[c_0_89,c_0_96]) ).

cnf(c_0_108,negated_conjecture,
    ( zero(outc(h2(f)))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f))
    | ~ one(outs(h2(f))) ),
    inference(spm,[status(thm)],[c_0_97,c_0_98]) ).

cnf(c_0_109,hypothesis,
    fulladder(f),
    f_isa_fulladder ).

cnf(c_0_110,axiom,
    ( connection(outs(X1),outs(h2(X1)))
    | ~ fulladder(X1) ),
    fulladder_connection_outs_outsh2 ).

cnf(c_0_111,negated_conjecture,
    ( zero(in1(and1(h1(f))))
    | ~ halfadder(h1(f))
    | ~ one(out1(not1(h1(f))))
    | ~ zero(outs(h1(f))) ),
    inference(spm,[status(thm)],[c_0_99,c_0_100]) ).

cnf(c_0_112,negated_conjecture,
    ( one(out1(not1(h1(f))))
    | ~ halfadder(h1(f))
    | ~ zero(out1(and2(h1(f)))) ),
    inference(spm,[status(thm)],[c_0_101,c_0_102]) ).

cnf(c_0_113,negated_conjecture,
    ~ abnormal(or1(h1(f))),
    diagnosis_or1h1 ).

cnf(c_0_114,plain,
    ( abnormal(or1(X1))
    | ~ halfadder(X1)
    | ~ one(in2(or1(X1)))
    | ~ zero(out1(or1(X1))) ),
    inference(spm,[status(thm)],[c_0_72,c_0_103]) ).

cnf(c_0_115,axiom,
    ( connection(in2(X1),in2(or1(X1)))
    | ~ halfadder(X1) ),
    halfadder_connection_in2_in2or1 ).

cnf(c_0_116,plain,
    ( one(in2(h1(X1)))
    | ~ fulladder(X1)
    | ~ one(inc(X1)) ),
    inference(spm,[status(thm)],[c_0_79,c_0_104]) ).

cnf(c_0_117,hypothesis,
    one(inc(f)),
    inc_1 ).

cnf(c_0_118,negated_conjecture,
    ~ abnormal(and2(h2(f))),
    diagnosis_and2 ).

cnf(c_0_119,plain,
    ( abnormal(and2(X1))
    | zero(in1(and2(X1)))
    | zero(in2(X1))
    | ~ halfadder(X1)
    | ~ zero(out1(and2(X1))) ),
    inference(spm,[status(thm)],[c_0_105,c_0_106]) ).

cnf(c_0_120,negated_conjecture,
    ( zero(in1(or1(f)))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f))
    | ~ one(outs(h2(f))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_107,c_0_108]),c_0_109])]) ).

cnf(c_0_121,plain,
    ( one(outs(h2(X1)))
    | ~ fulladder(X1)
    | ~ one(outs(X1)) ),
    inference(spm,[status(thm)],[c_0_79,c_0_110]) ).

cnf(c_0_122,hypothesis,
    one(outs(f)),
    outs_1 ).

cnf(c_0_123,axiom,
    ( logic_or(or1(X1))
    | ~ fulladder(X1) ),
    fulladder_or1 ).

cnf(c_0_124,axiom,
    ( connection(outc(X1),out1(or1(X1)))
    | ~ fulladder(X1) ),
    fulladder_connection_outc_out1or1 ).

cnf(c_0_125,axiom,
    ( connection(out1(or1(X1)),in1(and1(X1)))
    | ~ halfadder(X1) ),
    halfadder_connection_out1or1_in1_and1 ).

cnf(c_0_126,negated_conjecture,
    ( zero(in1(and1(h1(f))))
    | ~ halfadder(h1(f))
    | ~ zero(out1(and2(h1(f))))
    | ~ zero(outs(h1(f))) ),
    inference(spm,[status(thm)],[c_0_111,c_0_112]) ).

cnf(c_0_127,plain,
    ( zero(out1(and2(X1)))
    | ~ halfadder(X1)
    | ~ zero(outc(X1)) ),
    inference(spm,[status(thm)],[c_0_89,c_0_74]) ).

cnf(c_0_128,negated_conjecture,
    ( ~ halfadder(h1(f))
    | ~ one(in2(or1(h1(f))))
    | ~ zero(out1(or1(h1(f)))) ),
    inference(spm,[status(thm)],[c_0_113,c_0_114]) ).

cnf(c_0_129,plain,
    ( one(in2(or1(X1)))
    | ~ halfadder(X1)
    | ~ one(in2(X1)) ),
    inference(spm,[status(thm)],[c_0_79,c_0_115]) ).

cnf(c_0_130,hypothesis,
    one(in2(h1(f))),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_116,c_0_117]),c_0_109])]) ).

cnf(c_0_131,negated_conjecture,
    ( zero(in1(and2(h2(f))))
    | zero(in2(h2(f)))
    | ~ halfadder(h2(f))
    | ~ zero(out1(and2(h2(f)))) ),
    inference(spm,[status(thm)],[c_0_118,c_0_119]) ).

cnf(c_0_132,negated_conjecture,
    ( zero(in1(or1(f)))
    | ~ halfadder(h2(f))
    | ~ abnormal(or1(f)) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_120,c_0_121]),c_0_109]),c_0_122])]) ).

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

cnf(c_0_134,axiom,
    ( zero(in1(X1))
    | ~ or_ok(X1)
    | ~ zero(out1(X1)) ),
    or_0_0x ).

cnf(c_0_135,plain,
    ( or_ok(or1(X1))
    | abnormal(or1(X1))
    | ~ fulladder(X1) ),
    inference(spm,[status(thm)],[c_0_81,c_0_123]) ).

cnf(c_0_136,plain,
    ( zero(out1(or1(X1)))
    | ~ fulladder(X1)
    | ~ zero(outc(X1)) ),
    inference(spm,[status(thm)],[c_0_89,c_0_124]) ).

cnf(c_0_137,hypothesis,
    zero(outc(f)),
    outc_0 ).

cnf(c_0_138,plain,
    ( zero(out1(or1(X1)))
    | ~ halfadder(X1)
    | ~ zero(in1(and1(X1))) ),
    inference(spm,[status(thm)],[c_0_59,c_0_125]) ).

cnf(c_0_139,negated_conjecture,
    ( zero(in1(and1(h1(f))))
    | ~ halfadder(h1(f))
    | ~ zero(outs(h1(f)))
    | ~ zero(outc(h1(f))) ),
    inference(spm,[status(thm)],[c_0_126,c_0_127]) ).

cnf(c_0_140,negated_conjecture,
    ( ~ halfadder(h1(f))
    | ~ zero(out1(or1(h1(f)))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_128,c_0_129]),c_0_130])]) ).

cnf(c_0_141,axiom,
    ( connection(outs(h1(X1)),in2(h2(X1)))
    | ~ fulladder(X1) ),
    fulladder_connection_outsh1_in2h2 ).

cnf(c_0_142,negated_conjecture,
    ( zero(in1(and2(h2(f))))
    | zero(in2(h2(f)))
    | ~ halfadder(h2(f))
    | ~ zero(outc(h2(f))) ),
    inference(spm,[status(thm)],[c_0_131,c_0_127]) ).

cnf(c_0_143,negated_conjecture,
    ( zero(in1(or1(f)))
    | ~ abnormal(or1(f)) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_132,c_0_133]),c_0_109])]) ).

cnf(c_0_144,plain,
    ( abnormal(or1(X1))
    | zero(in1(or1(X1)))
    | ~ fulladder(X1)
    | ~ zero(out1(or1(X1))) ),
    inference(spm,[status(thm)],[c_0_134,c_0_135]) ).

cnf(c_0_145,hypothesis,
    zero(out1(or1(f))),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_136,c_0_137]),c_0_109])]) ).

cnf(c_0_146,axiom,
    ( zero(out1(X1))
    | ~ and_ok(X1)
    | ~ zero(in1(X1)) ),
    and_0x_0 ).

cnf(c_0_147,negated_conjecture,
    ( ~ halfadder(h1(f))
    | ~ zero(outs(h1(f)))
    | ~ zero(outc(h1(f))) ),
    inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_138,c_0_139]),c_0_140]) ).

cnf(c_0_148,plain,
    ( zero(outs(h1(X1)))
    | ~ fulladder(X1)
    | ~ zero(in2(h2(X1))) ),
    inference(spm,[status(thm)],[c_0_59,c_0_141]) ).

cnf(c_0_149,axiom,
    ( connection(outc(h1(X1)),in2(or1(X1)))
    | ~ fulladder(X1) ),
    fulladder_connection_outch1_in2or1 ).

cnf(c_0_150,negated_conjecture,
    ( zero(in2(h2(f)))
    | ~ halfadder(h2(f))
    | ~ one(in1(and2(h2(f))))
    | ~ zero(outc(h2(f))) ),
    inference(spm,[status(thm)],[c_0_72,c_0_142]) ).

cnf(c_0_151,plain,
    ( zero(outc(h2(X1)))
    | ~ fulladder(X1)
    | ~ zero(in1(or1(X1))) ),
    inference(spm,[status(thm)],[c_0_59,c_0_96]) ).

cnf(c_0_152,negated_conjecture,
    zero(in1(or1(f))),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_143,c_0_144]),c_0_109]),c_0_145])]) ).

cnf(c_0_153,axiom,
    ( connection(in1(X1),in1(and2(X1)))
    | ~ halfadder(X1) ),
    halfadder_connection_in1_in1and2 ).

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

cnf(c_0_155,plain,
    ( abnormal(and2(X1))
    | zero(out1(and2(X1)))
    | ~ halfadder(X1)
    | ~ zero(in1(and2(X1))) ),
    inference(spm,[status(thm)],[c_0_146,c_0_95]) ).

cnf(c_0_156,negated_conjecture,
    ( ~ halfadder(h1(f))
    | ~ zero(outc(h1(f)))
    | ~ zero(in2(h2(f))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_147,c_0_148]),c_0_109])]) ).

cnf(c_0_157,plain,
    ( zero(outc(h1(X1)))
    | ~ fulladder(X1)
    | ~ zero(in2(or1(X1))) ),
    inference(spm,[status(thm)],[c_0_59,c_0_149]) ).

cnf(c_0_158,negated_conjecture,
    ( zero(in2(h2(f)))
    | ~ halfadder(h2(f))
    | ~ one(in1(and2(h2(f)))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_150,c_0_151]),c_0_109]),c_0_152])]) ).

cnf(c_0_159,plain,
    ( one(in1(and2(X1)))
    | ~ halfadder(X1)
    | ~ one(in1(X1)) ),
    inference(spm,[status(thm)],[c_0_79,c_0_153]) ).

cnf(c_0_160,negated_conjecture,
    ( zero(out1(and2(h1(f))))
    | ~ halfadder(h1(f))
    | ~ zero(in1(and2(h1(f)))) ),
    inference(spm,[status(thm)],[c_0_154,c_0_155]) ).

cnf(c_0_161,negated_conjecture,
    ( ~ halfadder(h1(f))
    | ~ zero(in2(h2(f)))
    | ~ zero(in2(or1(f))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_156,c_0_157]),c_0_109])]) ).

cnf(c_0_162,negated_conjecture,
    ( zero(in2(h2(f)))
    | ~ halfadder(h2(f))
    | ~ one(in1(h2(f))) ),
    inference(spm,[status(thm)],[c_0_158,c_0_159]) ).

cnf(c_0_163,negated_conjecture,
    ( zero(outc(h1(f)))
    | ~ halfadder(h1(f))
    | ~ zero(in1(and2(h1(f)))) ),
    inference(spm,[status(thm)],[c_0_84,c_0_160]) ).

cnf(c_0_164,plain,
    ( zero(in1(and2(X1)))
    | ~ halfadder(X1)
    | ~ zero(in1(X1)) ),
    inference(spm,[status(thm)],[c_0_89,c_0_153]) ).

cnf(c_0_165,negated_conjecture,
    ( ~ halfadder(h1(f))
    | ~ halfadder(h2(f))
    | ~ one(in1(h2(f)))
    | ~ zero(in2(or1(f))) ),
    inference(spm,[status(thm)],[c_0_161,c_0_162]) ).

cnf(c_0_166,plain,
    ( zero(in2(or1(X1)))
    | ~ fulladder(X1)
    | ~ zero(outc(h1(X1))) ),
    inference(spm,[status(thm)],[c_0_89,c_0_149]) ).

cnf(c_0_167,negated_conjecture,
    ( zero(outc(h1(f)))
    | ~ halfadder(h1(f))
    | ~ zero(in1(h1(f))) ),
    inference(spm,[status(thm)],[c_0_163,c_0_164]) ).

cnf(c_0_168,negated_conjecture,
    ( ~ halfadder(h1(f))
    | ~ one(in1(h2(f)))
    | ~ zero(in2(or1(f))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_165,c_0_133]),c_0_109])]) ).

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

cnf(c_0_170,negated_conjecture,
    ( zero(in2(or1(f)))
    | ~ halfadder(h1(f))
    | ~ zero(in1(h1(f))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_166,c_0_167]),c_0_109])]) ).

cnf(c_0_171,negated_conjecture,
    ( ~ one(in1(h2(f)))
    | ~ zero(in2(or1(f))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_168,c_0_169]),c_0_109])]) ).

cnf(c_0_172,negated_conjecture,
    ( zero(in2(or1(f)))
    | ~ zero(in1(h1(f))) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_170,c_0_169]),c_0_109])]) ).

cnf(c_0_173,axiom,
    ( connection(in2(X1),in1(h1(X1)))
    | ~ fulladder(X1) ),
    fulladder_connection_in2_in1h1 ).

cnf(c_0_174,negated_conjecture,
    ( ~ one(in1(h2(f)))
    | ~ zero(in1(h1(f))) ),
    inference(spm,[status(thm)],[c_0_171,c_0_172]) ).

cnf(c_0_175,plain,
    ( zero(in1(h1(X1)))
    | ~ fulladder(X1)
    | ~ zero(in2(X1)) ),
    inference(spm,[status(thm)],[c_0_89,c_0_173]) ).

cnf(c_0_176,hypothesis,
    zero(in2(f)),
    in2_0 ).

cnf(c_0_177,axiom,
    ( connection(in1(X1),in1(h2(X1)))
    | ~ fulladder(X1) ),
    fulladder_connection_in1_in1h2 ).

cnf(c_0_178,negated_conjecture,
    ~ one(in1(h2(f))),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_174,c_0_175]),c_0_109]),c_0_176])]) ).

cnf(c_0_179,plain,
    ( one(in1(h2(X1)))
    | ~ fulladder(X1)
    | ~ one(in1(X1)) ),
    inference(spm,[status(thm)],[c_0_79,c_0_177]) ).

cnf(c_0_180,hypothesis,
    one(in1(f)),
    in1_1 ).

cnf(c_0_181,negated_conjecture,
    $false,
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_178,c_0_179]),c_0_109]),c_0_180])]),
    [proof] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.15  % Problem    : HWV006-2 : TPTP v8.1.2. Bugfixed v2.7.0.
% 0.00/0.15  % Command    : java -jar /export/starexec/sandbox/solver/bin/mcs_scs.jar %d %s
% 0.12/0.36  % Computer : n001.cluster.edu
% 0.12/0.36  % Model    : x86_64 x86_64
% 0.12/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.36  % Memory   : 8042.1875MB
% 0.12/0.36  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.36  % CPULimit   : 300
% 0.12/0.36  % WCLimit    : 300
% 0.12/0.36  % DateTime   : Tue Aug 29 14:20:07 EDT 2023
% 0.12/0.36  % CPUTime  : 
% 0.18/0.56  start to proof: theBenchmark
% 0.18/0.62  % Version  : CSE_E---1.5
% 0.18/0.62  % Problem  : theBenchmark.p
% 0.18/0.62  % Proof found
% 0.18/0.62  % SZS status Theorem for theBenchmark.p
% 0.18/0.62  % SZS output start Proof
% See solution above
% 0.18/0.63  % Total time : 0.052000 s
% 0.18/0.63  % SZS output end Proof
% 0.18/0.63  % Total time : 0.056000 s
%------------------------------------------------------------------------------