TSTP Solution File: HWV006-2 by Metis---2.4

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Metis---2.4
% Problem  : HWV006-2 : TPTP v8.1.0. Bugfixed v2.7.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : metis --show proof --show saturation %s

% Computer : n017.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  : 600s
% DateTime : Sat Jul 16 18:29:33 EDT 2022

% Result   : Unsatisfiable 0.24s 0.42s
% Output   : CNFRefutation 0.24s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   26
%            Number of leaves      :   50
% Syntax   : Number of clauses     :  224 (  70 unt;  29 nHn; 224 RR)
%            Number of literals    :  436 (   0 equ; 192 neg)
%            Maximal clause size   :    4 (   1 avg)
%            Maximal term depth    :    4 (   2 avg)
%            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   :   41 (   0 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(value_propagation_zero1,axiom,
    ( ~ connection(P1,P2)
    | ~ zero(P1)
    | zero(P2) ) ).

cnf(value_propagation_one1,axiom,
    ( ~ connection(P1,P2)
    | ~ one(P1)
    | one(P2) ) ).

cnf(value_propagation_zero2,axiom,
    ( ~ connection(P1,P2)
    | ~ zero(P2)
    | zero(P1) ) ).

cnf(value_propagation_one2,axiom,
    ( ~ connection(P1,P2)
    | ~ one(P2)
    | one(P1) ) ).

cnf(unique_value,axiom,
    ( ~ zero(P)
    | ~ one(P) ) ).

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

cnf(and_11_1,axiom,
    ( ~ and_ok(K)
    | ~ one(in1(K))
    | ~ one(in2(K))
    | one(out1(K)) ) ).

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

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

cnf(or_x1_1,axiom,
    ( ~ or_ok(K)
    | ~ one(in2(K))
    | one(out1(K)) ) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cnf(refute_0_0,plain,
    ( ~ one(in1(not1(h2(f))))
    | ~ zero(in1(not1(h2(f)))) ),
    inference(subst,[],[unique_value:[bind(P,$fot(in1(not1(h2(f)))))]]) ).

cnf(refute_0_1,plain,
    ( ~ halfadder(h2(f))
    | logic_not(not1(h2(f))) ),
    inference(subst,[],[halfadder_not1:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_2,plain,
    ( ~ fulladder(f)
    | halfadder(h2(f)) ),
    inference(subst,[],[fulladder_halfadder2:[bind(X,$fot(f))]]) ).

cnf(refute_0_3,plain,
    halfadder(h2(f)),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_2]) ).

cnf(refute_0_4,plain,
    logic_not(not1(h2(f))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_1]) ).

cnf(refute_0_5,plain,
    ( ~ logic_not(not1(h2(f)))
    | abnormal(not1(h2(f)))
    | not_ok(not1(h2(f))) ),
    inference(subst,[],[not_ok_or_abnormal:[bind(K,$fot(not1(h2(f))))]]) ).

cnf(refute_0_6,plain,
    ( abnormal(not1(h2(f)))
    | not_ok(not1(h2(f))) ),
    inference(resolve,[$cnf( logic_not(not1(h2(f))) )],[refute_0_4,refute_0_5]) ).

cnf(refute_0_7,plain,
    ( ~ not_ok(not1(h2(f)))
    | ~ one(out1(not1(h2(f))))
    | zero(in1(not1(h2(f)))) ),
    inference(subst,[],[not_1_0_bw:[bind(K,$fot(not1(h2(f))))]]) ).

cnf(refute_0_8,plain,
    ( ~ halfadder(h2(f))
    | logic_and(and1(h2(f))) ),
    inference(subst,[],[halfadder_and1:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_9,plain,
    logic_and(and1(h2(f))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_8]) ).

cnf(refute_0_10,plain,
    ( ~ logic_and(and1(h2(f)))
    | abnormal(and1(h2(f)))
    | and_ok(and1(h2(f))) ),
    inference(subst,[],[and_ok_or_abnormal:[bind(K,$fot(and1(h2(f))))]]) ).

cnf(refute_0_11,plain,
    ( abnormal(and1(h2(f)))
    | and_ok(and1(h2(f))) ),
    inference(resolve,[$cnf( logic_and(and1(h2(f))) )],[refute_0_9,refute_0_10]) ).

cnf(refute_0_12,plain,
    ( ~ and_ok(and1(h2(f)))
    | ~ one(out1(and1(h2(f))))
    | one(in2(and1(h2(f)))) ),
    inference(subst,[],[and_1_x1:[bind(K,$fot(and1(h2(f))))]]) ).

cnf(refute_0_13,plain,
    ( ~ halfadder(h2(f))
    | connection(outs(h2(f)),out1(and1(h2(f)))) ),
    inference(subst,[],[halfadder_connection_outs_out1and1:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_14,plain,
    connection(outs(h2(f)),out1(and1(h2(f)))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_13]) ).

cnf(refute_0_15,plain,
    ( ~ connection(outs(h2(f)),out1(and1(h2(f))))
    | ~ one(outs(h2(f)))
    | one(out1(and1(h2(f)))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(outs(h2(f)))),bind(P2,$fot(out1(and1(h2(f)))))]]) ).

cnf(refute_0_16,plain,
    ( ~ one(outs(h2(f)))
    | one(out1(and1(h2(f)))) ),
    inference(resolve,[$cnf( connection(outs(h2(f)),out1(and1(h2(f)))) )],[refute_0_14,refute_0_15]) ).

cnf(refute_0_17,plain,
    ( ~ fulladder(f)
    | connection(outs(f),outs(h2(f))) ),
    inference(subst,[],[fulladder_connection_outs_outsh2:[bind(X,$fot(f))]]) ).

cnf(refute_0_18,plain,
    connection(outs(f),outs(h2(f))),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_17]) ).

cnf(refute_0_19,plain,
    ( ~ connection(outs(f),outs(h2(f)))
    | ~ one(outs(f))
    | one(outs(h2(f))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(outs(f))),bind(P2,$fot(outs(h2(f))))]]) ).

cnf(refute_0_20,plain,
    ( ~ one(outs(f))
    | one(outs(h2(f))) ),
    inference(resolve,[$cnf( connection(outs(f),outs(h2(f))) )],[refute_0_18,refute_0_19]) ).

cnf(refute_0_21,plain,
    one(outs(h2(f))),
    inference(resolve,[$cnf( one(outs(f)) )],[outs_1,refute_0_20]) ).

cnf(refute_0_22,plain,
    one(out1(and1(h2(f)))),
    inference(resolve,[$cnf( one(outs(h2(f))) )],[refute_0_21,refute_0_16]) ).

cnf(refute_0_23,plain,
    ( ~ and_ok(and1(h2(f)))
    | one(in2(and1(h2(f)))) ),
    inference(resolve,[$cnf( one(out1(and1(h2(f)))) )],[refute_0_22,refute_0_12]) ).

cnf(refute_0_24,plain,
    ( abnormal(and1(h2(f)))
    | one(in2(and1(h2(f)))) ),
    inference(resolve,[$cnf( and_ok(and1(h2(f))) )],[refute_0_11,refute_0_23]) ).

cnf(refute_0_25,plain,
    ( ~ halfadder(h2(f))
    | connection(out1(not1(h2(f))),in2(and1(h2(f)))) ),
    inference(subst,[],[halfadder_connection_out1not1_in2and1:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_26,plain,
    connection(out1(not1(h2(f))),in2(and1(h2(f)))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_25]) ).

cnf(refute_0_27,plain,
    ( ~ connection(out1(not1(h2(f))),in2(and1(h2(f))))
    | ~ one(in2(and1(h2(f))))
    | one(out1(not1(h2(f)))) ),
    inference(subst,[],[value_propagation_one2:[bind(P1,$fot(out1(not1(h2(f))))),bind(P2,$fot(in2(and1(h2(f)))))]]) ).

cnf(refute_0_28,plain,
    ( ~ one(in2(and1(h2(f))))
    | one(out1(not1(h2(f)))) ),
    inference(resolve,[$cnf( connection(out1(not1(h2(f))),in2(and1(h2(f)))) )],[refute_0_26,refute_0_27]) ).

cnf(refute_0_29,plain,
    ( abnormal(and1(h2(f)))
    | one(out1(not1(h2(f)))) ),
    inference(resolve,[$cnf( one(in2(and1(h2(f)))) )],[refute_0_24,refute_0_28]) ).

cnf(refute_0_30,plain,
    ( ~ not_ok(not1(h2(f)))
    | abnormal(and1(h2(f)))
    | zero(in1(not1(h2(f)))) ),
    inference(resolve,[$cnf( one(out1(not1(h2(f)))) )],[refute_0_29,refute_0_7]) ).

cnf(refute_0_31,plain,
    ( abnormal(and1(h2(f)))
    | abnormal(not1(h2(f)))
    | zero(in1(not1(h2(f)))) ),
    inference(resolve,[$cnf( not_ok(not1(h2(f))) )],[refute_0_6,refute_0_30]) ).

cnf(refute_0_32,plain,
    ( ~ one(in1(not1(h2(f))))
    | abnormal(and1(h2(f)))
    | abnormal(not1(h2(f))) ),
    inference(resolve,[$cnf( zero(in1(not1(h2(f)))) )],[refute_0_31,refute_0_0]) ).

cnf(refute_0_33,plain,
    ( ~ halfadder(h2(f))
    | connection(out1(and2(h2(f))),in1(not1(h2(f)))) ),
    inference(subst,[],[halfadder_connection_out1and2_in1not1:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_34,plain,
    connection(out1(and2(h2(f))),in1(not1(h2(f)))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_33]) ).

cnf(refute_0_35,plain,
    ( ~ connection(out1(and2(h2(f))),in1(not1(h2(f))))
    | ~ one(out1(and2(h2(f))))
    | one(in1(not1(h2(f)))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(out1(and2(h2(f))))),bind(P2,$fot(in1(not1(h2(f)))))]]) ).

cnf(refute_0_36,plain,
    ( ~ one(out1(and2(h2(f))))
    | one(in1(not1(h2(f)))) ),
    inference(resolve,[$cnf( connection(out1(and2(h2(f))),in1(not1(h2(f)))) )],[refute_0_34,refute_0_35]) ).

cnf(refute_0_37,plain,
    ( ~ and_ok(and2(h2(f)))
    | ~ one(in1(and2(h2(f))))
    | ~ one(in2(and2(h2(f))))
    | one(out1(and2(h2(f)))) ),
    inference(subst,[],[and_11_1:[bind(K,$fot(and2(h2(f))))]]) ).

cnf(refute_0_38,plain,
    ( ~ halfadder(h2(f))
    | connection(in2(h2(f)),in2(and2(h2(f)))) ),
    inference(subst,[],[halfadder_connection_in2_in2and2:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_39,plain,
    connection(in2(h2(f)),in2(and2(h2(f)))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_38]) ).

cnf(refute_0_40,plain,
    ( ~ connection(in2(h2(f)),in2(and2(h2(f))))
    | ~ one(in2(h2(f)))
    | one(in2(and2(h2(f)))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(in2(h2(f)))),bind(P2,$fot(in2(and2(h2(f)))))]]) ).

cnf(refute_0_41,plain,
    ( ~ one(in2(h2(f)))
    | one(in2(and2(h2(f)))) ),
    inference(resolve,[$cnf( connection(in2(h2(f)),in2(and2(h2(f)))) )],[refute_0_39,refute_0_40]) ).

cnf(refute_0_42,plain,
    ( ~ fulladder(f)
    | connection(outs(h1(f)),in2(h2(f))) ),
    inference(subst,[],[fulladder_connection_outsh1_in2h2:[bind(X,$fot(f))]]) ).

cnf(refute_0_43,plain,
    connection(outs(h1(f)),in2(h2(f))),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_42]) ).

cnf(refute_0_44,plain,
    ( ~ connection(outs(h1(f)),in2(h2(f)))
    | ~ one(outs(h1(f)))
    | one(in2(h2(f))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(outs(h1(f)))),bind(P2,$fot(in2(h2(f))))]]) ).

cnf(refute_0_45,plain,
    ( ~ one(outs(h1(f)))
    | one(in2(h2(f))) ),
    inference(resolve,[$cnf( connection(outs(h1(f)),in2(h2(f))) )],[refute_0_43,refute_0_44]) ).

cnf(refute_0_46,plain,
    ( ~ fulladder(f)
    | halfadder(h1(f)) ),
    inference(subst,[],[fulladder_halfadder1:[bind(X,$fot(f))]]) ).

cnf(refute_0_47,plain,
    halfadder(h1(f)),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_46]) ).

cnf(refute_0_48,plain,
    ( ~ halfadder(h1(f))
    | connection(outs(h1(f)),out1(and1(h1(f)))) ),
    inference(subst,[],[halfadder_connection_outs_out1and1:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_49,plain,
    connection(outs(h1(f)),out1(and1(h1(f)))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_48]) ).

cnf(refute_0_50,plain,
    ( ~ connection(outs(h1(f)),out1(and1(h1(f))))
    | ~ one(out1(and1(h1(f))))
    | one(outs(h1(f))) ),
    inference(subst,[],[value_propagation_one2:[bind(P1,$fot(outs(h1(f)))),bind(P2,$fot(out1(and1(h1(f)))))]]) ).

cnf(refute_0_51,plain,
    ( ~ one(out1(and1(h1(f))))
    | one(outs(h1(f))) ),
    inference(resolve,[$cnf( connection(outs(h1(f)),out1(and1(h1(f)))) )],[refute_0_49,refute_0_50]) ).

cnf(refute_0_52,plain,
    ( ~ halfadder(h1(f))
    | connection(out1(not1(h1(f))),in2(and1(h1(f)))) ),
    inference(subst,[],[halfadder_connection_out1not1_in2and1:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_53,plain,
    connection(out1(not1(h1(f))),in2(and1(h1(f)))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_52]) ).

cnf(refute_0_54,plain,
    ( ~ connection(out1(not1(h1(f))),in2(and1(h1(f))))
    | ~ one(out1(not1(h1(f))))
    | one(in2(and1(h1(f)))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(out1(not1(h1(f))))),bind(P2,$fot(in2(and1(h1(f)))))]]) ).

cnf(refute_0_55,plain,
    ( ~ one(out1(not1(h1(f))))
    | one(in2(and1(h1(f)))) ),
    inference(resolve,[$cnf( connection(out1(not1(h1(f))),in2(and1(h1(f)))) )],[refute_0_53,refute_0_54]) ).

cnf(refute_0_56,plain,
    ( ~ not_ok(not1(h1(f)))
    | ~ zero(in1(not1(h1(f))))
    | one(out1(not1(h1(f)))) ),
    inference(subst,[],[not_0_1_fw:[bind(K,$fot(not1(h1(f))))]]) ).

cnf(refute_0_57,plain,
    ( ~ halfadder(h1(f))
    | connection(out1(and2(h1(f))),in1(not1(h1(f)))) ),
    inference(subst,[],[halfadder_connection_out1and2_in1not1:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_58,plain,
    connection(out1(and2(h1(f))),in1(not1(h1(f)))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_57]) ).

cnf(refute_0_59,plain,
    ( ~ connection(out1(and2(h1(f))),in1(not1(h1(f))))
    | ~ zero(out1(and2(h1(f))))
    | zero(in1(not1(h1(f)))) ),
    inference(subst,[],[value_propagation_zero1:[bind(P1,$fot(out1(and2(h1(f))))),bind(P2,$fot(in1(not1(h1(f)))))]]) ).

cnf(refute_0_60,plain,
    ( ~ zero(out1(and2(h1(f))))
    | zero(in1(not1(h1(f)))) ),
    inference(resolve,[$cnf( connection(out1(and2(h1(f))),in1(not1(h1(f)))) )],[refute_0_58,refute_0_59]) ).

cnf(refute_0_61,plain,
    ( ~ and_ok(and2(h1(f)))
    | ~ zero(in1(and2(h1(f))))
    | zero(out1(and2(h1(f)))) ),
    inference(subst,[],[and_0x_0:[bind(K,$fot(and2(h1(f))))]]) ).

cnf(refute_0_62,plain,
    ( ~ halfadder(h1(f))
    | connection(in1(h1(f)),in1(and2(h1(f)))) ),
    inference(subst,[],[halfadder_connection_in1_in1and2:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_63,plain,
    connection(in1(h1(f)),in1(and2(h1(f)))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_62]) ).

cnf(refute_0_64,plain,
    ( ~ connection(in1(h1(f)),in1(and2(h1(f))))
    | ~ zero(in1(h1(f)))
    | zero(in1(and2(h1(f)))) ),
    inference(subst,[],[value_propagation_zero1:[bind(P1,$fot(in1(h1(f)))),bind(P2,$fot(in1(and2(h1(f)))))]]) ).

cnf(refute_0_65,plain,
    ( ~ zero(in1(h1(f)))
    | zero(in1(and2(h1(f)))) ),
    inference(resolve,[$cnf( connection(in1(h1(f)),in1(and2(h1(f)))) )],[refute_0_63,refute_0_64]) ).

cnf(refute_0_66,plain,
    ( ~ fulladder(f)
    | connection(in2(f),in1(h1(f))) ),
    inference(subst,[],[fulladder_connection_in2_in1h1:[bind(X,$fot(f))]]) ).

cnf(refute_0_67,plain,
    connection(in2(f),in1(h1(f))),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_66]) ).

cnf(refute_0_68,plain,
    ( ~ connection(in2(f),in1(h1(f)))
    | ~ zero(in2(f))
    | zero(in1(h1(f))) ),
    inference(subst,[],[value_propagation_zero1:[bind(P1,$fot(in2(f))),bind(P2,$fot(in1(h1(f))))]]) ).

cnf(refute_0_69,plain,
    ( ~ zero(in2(f))
    | zero(in1(h1(f))) ),
    inference(resolve,[$cnf( connection(in2(f),in1(h1(f))) )],[refute_0_67,refute_0_68]) ).

cnf(refute_0_70,plain,
    zero(in1(h1(f))),
    inference(resolve,[$cnf( zero(in2(f)) )],[in2_0,refute_0_69]) ).

cnf(refute_0_71,plain,
    zero(in1(and2(h1(f)))),
    inference(resolve,[$cnf( zero(in1(h1(f))) )],[refute_0_70,refute_0_65]) ).

cnf(refute_0_72,plain,
    ( ~ and_ok(and2(h1(f)))
    | zero(out1(and2(h1(f)))) ),
    inference(resolve,[$cnf( zero(in1(and2(h1(f)))) )],[refute_0_71,refute_0_61]) ).

cnf(refute_0_73,plain,
    ( ~ halfadder(h1(f))
    | logic_and(and2(h1(f))) ),
    inference(subst,[],[halfadder_and2:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_74,plain,
    logic_and(and2(h1(f))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_73]) ).

cnf(refute_0_75,plain,
    ( ~ logic_and(and2(h1(f)))
    | abnormal(and2(h1(f)))
    | and_ok(and2(h1(f))) ),
    inference(subst,[],[and_ok_or_abnormal:[bind(K,$fot(and2(h1(f))))]]) ).

cnf(refute_0_76,plain,
    ( abnormal(and2(h1(f)))
    | and_ok(and2(h1(f))) ),
    inference(resolve,[$cnf( logic_and(and2(h1(f))) )],[refute_0_74,refute_0_75]) ).

cnf(refute_0_77,plain,
    and_ok(and2(h1(f))),
    inference(resolve,[$cnf( abnormal(and2(h1(f))) )],[refute_0_76,diagnosis_and2h1]) ).

cnf(refute_0_78,plain,
    zero(out1(and2(h1(f)))),
    inference(resolve,[$cnf( and_ok(and2(h1(f))) )],[refute_0_77,refute_0_72]) ).

cnf(refute_0_79,plain,
    zero(in1(not1(h1(f)))),
    inference(resolve,[$cnf( zero(out1(and2(h1(f)))) )],[refute_0_78,refute_0_60]) ).

cnf(refute_0_80,plain,
    ( ~ not_ok(not1(h1(f)))
    | one(out1(not1(h1(f)))) ),
    inference(resolve,[$cnf( zero(in1(not1(h1(f)))) )],[refute_0_79,refute_0_56]) ).

cnf(refute_0_81,plain,
    ( ~ halfadder(h1(f))
    | logic_not(not1(h1(f))) ),
    inference(subst,[],[halfadder_not1:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_82,plain,
    logic_not(not1(h1(f))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_81]) ).

cnf(refute_0_83,plain,
    ( ~ logic_not(not1(h1(f)))
    | abnormal(not1(h1(f)))
    | not_ok(not1(h1(f))) ),
    inference(subst,[],[not_ok_or_abnormal:[bind(K,$fot(not1(h1(f))))]]) ).

cnf(refute_0_84,plain,
    ( abnormal(not1(h1(f)))
    | not_ok(not1(h1(f))) ),
    inference(resolve,[$cnf( logic_not(not1(h1(f))) )],[refute_0_82,refute_0_83]) ).

cnf(refute_0_85,plain,
    not_ok(not1(h1(f))),
    inference(resolve,[$cnf( abnormal(not1(h1(f))) )],[refute_0_84,diagnosis_not1h1]) ).

cnf(refute_0_86,plain,
    one(out1(not1(h1(f)))),
    inference(resolve,[$cnf( not_ok(not1(h1(f))) )],[refute_0_85,refute_0_80]) ).

cnf(refute_0_87,plain,
    one(in2(and1(h1(f)))),
    inference(resolve,[$cnf( one(out1(not1(h1(f)))) )],[refute_0_86,refute_0_55]) ).

cnf(refute_0_88,plain,
    ( ~ and_ok(and1(h1(f)))
    | ~ one(in1(and1(h1(f))))
    | ~ one(in2(and1(h1(f))))
    | one(out1(and1(h1(f)))) ),
    inference(subst,[],[and_11_1:[bind(K,$fot(and1(h1(f))))]]) ).

cnf(refute_0_89,plain,
    ( ~ and_ok(and1(h1(f)))
    | ~ one(in1(and1(h1(f))))
    | one(out1(and1(h1(f)))) ),
    inference(resolve,[$cnf( one(in2(and1(h1(f)))) )],[refute_0_87,refute_0_88]) ).

cnf(refute_0_90,plain,
    ( ~ halfadder(h1(f))
    | logic_and(and1(h1(f))) ),
    inference(subst,[],[halfadder_and1:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_91,plain,
    logic_and(and1(h1(f))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_90]) ).

cnf(refute_0_92,plain,
    ( ~ logic_and(and1(h1(f)))
    | abnormal(and1(h1(f)))
    | and_ok(and1(h1(f))) ),
    inference(subst,[],[and_ok_or_abnormal:[bind(K,$fot(and1(h1(f))))]]) ).

cnf(refute_0_93,plain,
    ( abnormal(and1(h1(f)))
    | and_ok(and1(h1(f))) ),
    inference(resolve,[$cnf( logic_and(and1(h1(f))) )],[refute_0_91,refute_0_92]) ).

cnf(refute_0_94,plain,
    and_ok(and1(h1(f))),
    inference(resolve,[$cnf( abnormal(and1(h1(f))) )],[refute_0_93,diagnosis_and1h1]) ).

cnf(refute_0_95,plain,
    ( ~ one(in1(and1(h1(f))))
    | one(out1(and1(h1(f)))) ),
    inference(resolve,[$cnf( and_ok(and1(h1(f))) )],[refute_0_94,refute_0_89]) ).

cnf(refute_0_96,plain,
    ( ~ halfadder(h1(f))
    | connection(out1(or1(h1(f))),in1(and1(h1(f)))) ),
    inference(subst,[],[halfadder_connection_out1or1_in1_and1:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_97,plain,
    connection(out1(or1(h1(f))),in1(and1(h1(f)))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_96]) ).

cnf(refute_0_98,plain,
    ( ~ connection(out1(or1(h1(f))),in1(and1(h1(f))))
    | ~ one(out1(or1(h1(f))))
    | one(in1(and1(h1(f)))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(out1(or1(h1(f))))),bind(P2,$fot(in1(and1(h1(f)))))]]) ).

cnf(refute_0_99,plain,
    ( ~ one(out1(or1(h1(f))))
    | one(in1(and1(h1(f)))) ),
    inference(resolve,[$cnf( connection(out1(or1(h1(f))),in1(and1(h1(f)))) )],[refute_0_97,refute_0_98]) ).

cnf(refute_0_100,plain,
    ( ~ one(in2(or1(h1(f))))
    | ~ or_ok(or1(h1(f)))
    | one(out1(or1(h1(f)))) ),
    inference(subst,[],[or_x1_1:[bind(K,$fot(or1(h1(f))))]]) ).

cnf(refute_0_101,plain,
    ( ~ halfadder(h1(f))
    | connection(in2(h1(f)),in2(or1(h1(f)))) ),
    inference(subst,[],[halfadder_connection_in2_in2or1:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_102,plain,
    connection(in2(h1(f)),in2(or1(h1(f)))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_101]) ).

cnf(refute_0_103,plain,
    ( ~ connection(in2(h1(f)),in2(or1(h1(f))))
    | ~ one(in2(h1(f)))
    | one(in2(or1(h1(f)))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(in2(h1(f)))),bind(P2,$fot(in2(or1(h1(f)))))]]) ).

cnf(refute_0_104,plain,
    ( ~ one(in2(h1(f)))
    | one(in2(or1(h1(f)))) ),
    inference(resolve,[$cnf( connection(in2(h1(f)),in2(or1(h1(f)))) )],[refute_0_102,refute_0_103]) ).

cnf(refute_0_105,plain,
    ( ~ fulladder(f)
    | connection(inc(f),in2(h1(f))) ),
    inference(subst,[],[fulladder_connection_inc_in2h1:[bind(X,$fot(f))]]) ).

cnf(refute_0_106,plain,
    connection(inc(f),in2(h1(f))),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_105]) ).

cnf(refute_0_107,plain,
    ( ~ connection(inc(f),in2(h1(f)))
    | ~ one(inc(f))
    | one(in2(h1(f))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(inc(f))),bind(P2,$fot(in2(h1(f))))]]) ).

cnf(refute_0_108,plain,
    ( ~ one(inc(f))
    | one(in2(h1(f))) ),
    inference(resolve,[$cnf( connection(inc(f),in2(h1(f))) )],[refute_0_106,refute_0_107]) ).

cnf(refute_0_109,plain,
    one(in2(h1(f))),
    inference(resolve,[$cnf( one(inc(f)) )],[inc_1,refute_0_108]) ).

cnf(refute_0_110,plain,
    one(in2(or1(h1(f)))),
    inference(resolve,[$cnf( one(in2(h1(f))) )],[refute_0_109,refute_0_104]) ).

cnf(refute_0_111,plain,
    ( ~ or_ok(or1(h1(f)))
    | one(out1(or1(h1(f)))) ),
    inference(resolve,[$cnf( one(in2(or1(h1(f)))) )],[refute_0_110,refute_0_100]) ).

cnf(refute_0_112,plain,
    ( ~ halfadder(h1(f))
    | logic_or(or1(h1(f))) ),
    inference(subst,[],[halfadder_or1:[bind(X,$fot(h1(f)))]]) ).

cnf(refute_0_113,plain,
    logic_or(or1(h1(f))),
    inference(resolve,[$cnf( halfadder(h1(f)) )],[refute_0_47,refute_0_112]) ).

cnf(refute_0_114,plain,
    ( ~ logic_or(or1(h1(f)))
    | abnormal(or1(h1(f)))
    | or_ok(or1(h1(f))) ),
    inference(subst,[],[or_ok_or_abnormal:[bind(K,$fot(or1(h1(f))))]]) ).

cnf(refute_0_115,plain,
    ( abnormal(or1(h1(f)))
    | or_ok(or1(h1(f))) ),
    inference(resolve,[$cnf( logic_or(or1(h1(f))) )],[refute_0_113,refute_0_114]) ).

cnf(refute_0_116,plain,
    or_ok(or1(h1(f))),
    inference(resolve,[$cnf( abnormal(or1(h1(f))) )],[refute_0_115,diagnosis_or1h1]) ).

cnf(refute_0_117,plain,
    one(out1(or1(h1(f)))),
    inference(resolve,[$cnf( or_ok(or1(h1(f))) )],[refute_0_116,refute_0_111]) ).

cnf(refute_0_118,plain,
    one(in1(and1(h1(f)))),
    inference(resolve,[$cnf( one(out1(or1(h1(f)))) )],[refute_0_117,refute_0_99]) ).

cnf(refute_0_119,plain,
    one(out1(and1(h1(f)))),
    inference(resolve,[$cnf( one(in1(and1(h1(f)))) )],[refute_0_118,refute_0_95]) ).

cnf(refute_0_120,plain,
    one(outs(h1(f))),
    inference(resolve,[$cnf( one(out1(and1(h1(f)))) )],[refute_0_119,refute_0_51]) ).

cnf(refute_0_121,plain,
    one(in2(h2(f))),
    inference(resolve,[$cnf( one(outs(h1(f))) )],[refute_0_120,refute_0_45]) ).

cnf(refute_0_122,plain,
    one(in2(and2(h2(f)))),
    inference(resolve,[$cnf( one(in2(h2(f))) )],[refute_0_121,refute_0_41]) ).

cnf(refute_0_123,plain,
    ( ~ and_ok(and2(h2(f)))
    | ~ one(in1(and2(h2(f))))
    | one(out1(and2(h2(f)))) ),
    inference(resolve,[$cnf( one(in2(and2(h2(f)))) )],[refute_0_122,refute_0_37]) ).

cnf(refute_0_124,plain,
    ( ~ halfadder(h2(f))
    | logic_and(and2(h2(f))) ),
    inference(subst,[],[halfadder_and2:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_125,plain,
    logic_and(and2(h2(f))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_124]) ).

cnf(refute_0_126,plain,
    ( ~ logic_and(and2(h2(f)))
    | abnormal(and2(h2(f)))
    | and_ok(and2(h2(f))) ),
    inference(subst,[],[and_ok_or_abnormal:[bind(K,$fot(and2(h2(f))))]]) ).

cnf(refute_0_127,plain,
    ( abnormal(and2(h2(f)))
    | and_ok(and2(h2(f))) ),
    inference(resolve,[$cnf( logic_and(and2(h2(f))) )],[refute_0_125,refute_0_126]) ).

cnf(refute_0_128,plain,
    and_ok(and2(h2(f))),
    inference(resolve,[$cnf( abnormal(and2(h2(f))) )],[refute_0_127,diagnosis_and2]) ).

cnf(refute_0_129,plain,
    ( ~ one(in1(and2(h2(f))))
    | one(out1(and2(h2(f)))) ),
    inference(resolve,[$cnf( and_ok(and2(h2(f))) )],[refute_0_128,refute_0_123]) ).

cnf(refute_0_130,plain,
    ( ~ halfadder(h2(f))
    | connection(in1(h2(f)),in1(and2(h2(f)))) ),
    inference(subst,[],[halfadder_connection_in1_in1and2:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_131,plain,
    connection(in1(h2(f)),in1(and2(h2(f)))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_130]) ).

cnf(refute_0_132,plain,
    ( ~ connection(in1(h2(f)),in1(and2(h2(f))))
    | ~ one(in1(h2(f)))
    | one(in1(and2(h2(f)))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(in1(h2(f)))),bind(P2,$fot(in1(and2(h2(f)))))]]) ).

cnf(refute_0_133,plain,
    ( ~ one(in1(h2(f)))
    | one(in1(and2(h2(f)))) ),
    inference(resolve,[$cnf( connection(in1(h2(f)),in1(and2(h2(f)))) )],[refute_0_131,refute_0_132]) ).

cnf(refute_0_134,plain,
    ( ~ fulladder(f)
    | connection(in1(f),in1(h2(f))) ),
    inference(subst,[],[fulladder_connection_in1_in1h2:[bind(X,$fot(f))]]) ).

cnf(refute_0_135,plain,
    connection(in1(f),in1(h2(f))),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_134]) ).

cnf(refute_0_136,plain,
    ( ~ connection(in1(f),in1(h2(f)))
    | ~ one(in1(f))
    | one(in1(h2(f))) ),
    inference(subst,[],[value_propagation_one1:[bind(P1,$fot(in1(f))),bind(P2,$fot(in1(h2(f))))]]) ).

cnf(refute_0_137,plain,
    ( ~ one(in1(f))
    | one(in1(h2(f))) ),
    inference(resolve,[$cnf( connection(in1(f),in1(h2(f))) )],[refute_0_135,refute_0_136]) ).

cnf(refute_0_138,plain,
    one(in1(h2(f))),
    inference(resolve,[$cnf( one(in1(f)) )],[in1_1,refute_0_137]) ).

cnf(refute_0_139,plain,
    one(in1(and2(h2(f)))),
    inference(resolve,[$cnf( one(in1(h2(f))) )],[refute_0_138,refute_0_133]) ).

cnf(refute_0_140,plain,
    one(out1(and2(h2(f)))),
    inference(resolve,[$cnf( one(in1(and2(h2(f)))) )],[refute_0_139,refute_0_129]) ).

cnf(refute_0_141,plain,
    one(in1(not1(h2(f)))),
    inference(resolve,[$cnf( one(out1(and2(h2(f)))) )],[refute_0_140,refute_0_36]) ).

cnf(refute_0_142,plain,
    ( abnormal(and1(h2(f)))
    | abnormal(not1(h2(f))) ),
    inference(resolve,[$cnf( one(in1(not1(h2(f)))) )],[refute_0_141,refute_0_32]) ).

cnf(refute_0_143,plain,
    ( ~ abnormal(or1(f))
    | abnormal(and1(h2(f))) ),
    inference(resolve,[$cnf( abnormal(not1(h2(f))) )],[refute_0_142,diagnosis_or1_not1h2]) ).

cnf(refute_0_144,plain,
    ( ~ connection(out1(and2(h2(f))),in1(not1(h2(f))))
    | ~ zero(out1(and2(h2(f))))
    | zero(in1(not1(h2(f)))) ),
    inference(subst,[],[value_propagation_zero1:[bind(P1,$fot(out1(and2(h2(f))))),bind(P2,$fot(in1(not1(h2(f)))))]]) ).

cnf(refute_0_145,plain,
    ( ~ zero(out1(and2(h2(f))))
    | zero(in1(not1(h2(f)))) ),
    inference(resolve,[$cnf( connection(out1(and2(h2(f))),in1(not1(h2(f)))) )],[refute_0_34,refute_0_144]) ).

cnf(refute_0_146,plain,
    ( ~ halfadder(h2(f))
    | connection(outc(h2(f)),out1(and2(h2(f)))) ),
    inference(subst,[],[halfadder_connection_outc_out1and2:[bind(X,$fot(h2(f)))]]) ).

cnf(refute_0_147,plain,
    connection(outc(h2(f)),out1(and2(h2(f)))),
    inference(resolve,[$cnf( halfadder(h2(f)) )],[refute_0_3,refute_0_146]) ).

cnf(refute_0_148,plain,
    ( ~ connection(outc(h2(f)),out1(and2(h2(f))))
    | ~ zero(outc(h2(f)))
    | zero(out1(and2(h2(f)))) ),
    inference(subst,[],[value_propagation_zero1:[bind(P1,$fot(outc(h2(f)))),bind(P2,$fot(out1(and2(h2(f)))))]]) ).

cnf(refute_0_149,plain,
    ( ~ zero(outc(h2(f)))
    | zero(out1(and2(h2(f)))) ),
    inference(resolve,[$cnf( connection(outc(h2(f)),out1(and2(h2(f)))) )],[refute_0_147,refute_0_148]) ).

cnf(refute_0_150,plain,
    ( ~ fulladder(f)
    | logic_or(or1(f)) ),
    inference(subst,[],[fulladder_or1:[bind(X,$fot(f))]]) ).

cnf(refute_0_151,plain,
    logic_or(or1(f)),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_150]) ).

cnf(refute_0_152,plain,
    ( ~ logic_or(or1(f))
    | abnormal(or1(f))
    | or_ok(or1(f)) ),
    inference(subst,[],[or_ok_or_abnormal:[bind(K,$fot(or1(f)))]]) ).

cnf(refute_0_153,plain,
    ( abnormal(or1(f))
    | or_ok(or1(f)) ),
    inference(resolve,[$cnf( logic_or(or1(f)) )],[refute_0_151,refute_0_152]) ).

cnf(refute_0_154,plain,
    ( ~ or_ok(or1(f))
    | ~ zero(out1(or1(f)))
    | zero(in1(or1(f))) ),
    inference(subst,[],[or_0_0x:[bind(K,$fot(or1(f)))]]) ).

cnf(refute_0_155,plain,
    ( ~ fulladder(f)
    | connection(outc(f),out1(or1(f))) ),
    inference(subst,[],[fulladder_connection_outc_out1or1:[bind(X,$fot(f))]]) ).

cnf(refute_0_156,plain,
    connection(outc(f),out1(or1(f))),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_155]) ).

cnf(refute_0_157,plain,
    ( ~ connection(outc(f),out1(or1(f)))
    | ~ zero(outc(f))
    | zero(out1(or1(f))) ),
    inference(subst,[],[value_propagation_zero1:[bind(P1,$fot(outc(f))),bind(P2,$fot(out1(or1(f))))]]) ).

cnf(refute_0_158,plain,
    ( ~ zero(outc(f))
    | zero(out1(or1(f))) ),
    inference(resolve,[$cnf( connection(outc(f),out1(or1(f))) )],[refute_0_156,refute_0_157]) ).

cnf(refute_0_159,plain,
    zero(out1(or1(f))),
    inference(resolve,[$cnf( zero(outc(f)) )],[outc_0,refute_0_158]) ).

cnf(refute_0_160,plain,
    ( ~ or_ok(or1(f))
    | zero(in1(or1(f))) ),
    inference(resolve,[$cnf( zero(out1(or1(f))) )],[refute_0_159,refute_0_154]) ).

cnf(refute_0_161,plain,
    ( abnormal(or1(f))
    | zero(in1(or1(f))) ),
    inference(resolve,[$cnf( or_ok(or1(f)) )],[refute_0_153,refute_0_160]) ).

cnf(refute_0_162,plain,
    ( ~ fulladder(f)
    | connection(outc(h2(f)),in1(or1(f))) ),
    inference(subst,[],[fulladder_connection_outch2_in1or1:[bind(X,$fot(f))]]) ).

cnf(refute_0_163,plain,
    connection(outc(h2(f)),in1(or1(f))),
    inference(resolve,[$cnf( fulladder(f) )],[f_isa_fulladder,refute_0_162]) ).

cnf(refute_0_164,plain,
    ( ~ connection(outc(h2(f)),in1(or1(f)))
    | ~ zero(in1(or1(f)))
    | zero(outc(h2(f))) ),
    inference(subst,[],[value_propagation_zero2:[bind(P1,$fot(outc(h2(f)))),bind(P2,$fot(in1(or1(f))))]]) ).

cnf(refute_0_165,plain,
    ( ~ zero(in1(or1(f)))
    | zero(outc(h2(f))) ),
    inference(resolve,[$cnf( connection(outc(h2(f)),in1(or1(f))) )],[refute_0_163,refute_0_164]) ).

cnf(refute_0_166,plain,
    ( abnormal(or1(f))
    | zero(outc(h2(f))) ),
    inference(resolve,[$cnf( zero(in1(or1(f))) )],[refute_0_161,refute_0_165]) ).

cnf(refute_0_167,plain,
    ( abnormal(or1(f))
    | zero(out1(and2(h2(f)))) ),
    inference(resolve,[$cnf( zero(outc(h2(f))) )],[refute_0_166,refute_0_149]) ).

cnf(refute_0_168,plain,
    ( abnormal(or1(f))
    | zero(in1(not1(h2(f)))) ),
    inference(resolve,[$cnf( zero(out1(and2(h2(f)))) )],[refute_0_167,refute_0_145]) ).

cnf(refute_0_169,plain,
    ( ~ one(in1(not1(h2(f))))
    | abnormal(or1(f)) ),
    inference(resolve,[$cnf( zero(in1(not1(h2(f)))) )],[refute_0_168,refute_0_0]) ).

cnf(refute_0_170,plain,
    abnormal(or1(f)),
    inference(resolve,[$cnf( one(in1(not1(h2(f)))) )],[refute_0_141,refute_0_169]) ).

cnf(refute_0_171,plain,
    abnormal(and1(h2(f))),
    inference(resolve,[$cnf( abnormal(or1(f)) )],[refute_0_170,refute_0_143]) ).

cnf(refute_0_172,plain,
    ~ abnormal(or1(f)),
    inference(resolve,[$cnf( abnormal(and1(h2(f))) )],[refute_0_171,diagnosis_or1_and1h2]) ).

cnf(refute_0_173,plain,
    $false,
    inference(resolve,[$cnf( abnormal(or1(f)) )],[refute_0_170,refute_0_172]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.08/0.14  % Problem  : HWV006-2 : TPTP v8.1.0. Bugfixed v2.7.0.
% 0.08/0.15  % Command  : metis --show proof --show saturation %s
% 0.15/0.37  % Computer : n017.cluster.edu
% 0.15/0.37  % Model    : x86_64 x86_64
% 0.15/0.37  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.15/0.37  % Memory   : 8042.1875MB
% 0.15/0.37  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.15/0.37  % CPULimit : 300
% 0.15/0.37  % WCLimit  : 600
% 0.15/0.37  % DateTime : Thu Jun 16 20:14:11 EDT 2022
% 0.15/0.37  % CPUTime  : 
% 0.15/0.38  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 0.24/0.42  % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.24/0.42  
% 0.24/0.42  % SZS output start CNFRefutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 0.24/0.45  
%------------------------------------------------------------------------------