TSTP Solution File: HWV006-1 by PyRes---1.3

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : PyRes---1.3
% Problem  : HWV006-1 : TPTP v8.1.0. Released v2.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s

% Computer : n007.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 19:03:22 EDT 2022

% Result   : Unsatisfiable 3.55s 3.72s
% Output   : Refutation 3.55s
% Verified : 
% SZS Type : ERROR: Analysing output (Could not find formula named input)

% Comments : 
%------------------------------------------------------------------------------
cnf(equal_value1,axiom,
    ~ equal_value(n0,n1),
    input ).

cnf(unique_value,axiom,
    ( ~ value(X11,X10)
    | ~ value(X11,X9)
    | equal_value(X10,X9) ),
    input ).

cnf(f_isa_fulladder,plain,
    type(f,fulladder),
    input ).

cnf(fulladder_halfadder2,axiom,
    ( ~ type(X22,fulladder)
    | type(h2(X22),halfadder) ),
    input ).

cnf(c27,plain,
    type(h2(f),halfadder),
    inference(resolution,status(thm),[fulladder_halfadder2,f_isa_fulladder]) ).

cnf(halfadder_connection_in2_in2and2,axiom,
    ( ~ type(X51,halfadder)
    | connection(in(n2,X51),in(n2,and2(X51))) ),
    input ).

cnf(c57,plain,
    connection(in(n2,h2(f)),in(n2,and2(h2(f)))),
    inference(resolution,status(thm),[halfadder_connection_in2_in2and2,c27]) ).

cnf(value_propagation1,axiom,
    ( ~ connection(X5,X4)
    | ~ value(X5,X3)
    | value(X4,X3) ),
    input ).

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

cnf(c114,plain,
    connection(out(s,h1(f)),in(n2,h2(f))),
    inference(resolution,status(thm),[fulladder_connection_outsh1_in2h2,f_isa_fulladder]) ).

cnf(fulladder_halfadder1,axiom,
    ( ~ type(X18,fulladder)
    | type(h1(X18),halfadder) ),
    input ).

cnf(c16,plain,
    type(h1(f),halfadder),
    inference(resolution,status(thm),[fulladder_halfadder1,f_isa_fulladder]) ).

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

cnf(c60,plain,
    connection(out(s,h1(f)),out(n1,and1(h1(f)))),
    inference(resolution,status(thm),[halfadder_connection_outs_out1and1,c16]) ).

cnf(value_propagation2,axiom,
    ( ~ connection(X8,X7)
    | ~ value(X7,X6)
    | value(X8,X6) ),
    input ).

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

cnf(ok_or_abnormal,axiom,
    ( ~ type(X12,X13)
    | mode(X12,ok)
    | mode(X12,abnormal) ),
    input ).

cnf(halfadder_and1,axiom,
    ( ~ type(X14,halfadder)
    | type(and1(X14),and) ),
    input ).

cnf(c18,plain,
    type(and1(h1(f)),and),
    inference(resolution,status(thm),[c16,halfadder_and1]) ).

cnf(c23,plain,
    ( mode(and1(h1(f)),ok)
    | mode(and1(h1(f)),abnormal) ),
    inference(resolution,status(thm),[c18,ok_or_abnormal]) ).

cnf(c117,plain,
    mode(and1(h1(f)),ok),
    inference(resolution,status(thm),[c23,diagnosis_and1h1]) ).

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

cnf(c91,plain,
    connection(out(n1,or1(h1(f))),in(n1,and1(h1(f)))),
    inference(resolution,status(thm),[halfadder_connection_out1or1_in1_and1,c16]) ).

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

cnf(halfadder_or1,axiom,
    ( ~ type(X17,halfadder)
    | type(or1(X17),or) ),
    input ).

cnf(c21,plain,
    type(or1(h1(f)),or),
    inference(resolution,status(thm),[c16,halfadder_or1]) ).

cnf(c26,plain,
    ( mode(or1(h1(f)),ok)
    | mode(or1(h1(f)),abnormal) ),
    inference(resolution,status(thm),[c21,ok_or_abnormal]) ).

cnf(c124,plain,
    mode(or1(h1(f)),ok),
    inference(resolution,status(thm),[c26,diagnosis_or1h1]) ).

cnf(or_1x_1,axiom,
    ( ~ mode(X37,ok)
    | ~ type(X37,or)
    | ~ value(in(X38,X37),n1)
    | value(out(n1,X37),n1) ),
    input ).

cnf(inc_1,plain,
    value(in(c,f),n1),
    input ).

cnf(c2,plain,
    ( ~ connection(in(c,f),X28)
    | value(X28,n1) ),
    inference(resolution,status(thm),[inc_1,value_propagation1]) ).

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

cnf(c82,plain,
    connection(in(c,f),in(n2,h1(f))),
    inference(resolution,status(thm),[fulladder_connection_inc_in2h1,f_isa_fulladder]) ).

cnf(c83,plain,
    value(in(n2,h1(f)),n1),
    inference(resolution,status(thm),[c82,c2]) ).

cnf(c85,plain,
    ( ~ connection(in(n2,h1(f)),X69)
    | value(X69,n1) ),
    inference(resolution,status(thm),[c83,value_propagation1]) ).

cnf(halfadder_connection_in2_in2or1,axiom,
    ( ~ type(X48,halfadder)
    | connection(in(n2,X48),in(n2,or1(X48))) ),
    input ).

cnf(c54,plain,
    connection(in(n2,h1(f)),in(n2,or1(h1(f)))),
    inference(resolution,status(thm),[halfadder_connection_in2_in2or1,c16]) ).

cnf(c151,plain,
    value(in(n2,or1(h1(f))),n1),
    inference(resolution,status(thm),[c54,c85]) ).

cnf(c154,plain,
    ( ~ mode(or1(h1(f)),ok)
    | ~ type(or1(h1(f)),or)
    | value(out(n1,or1(h1(f))),n1) ),
    inference(resolution,status(thm),[c151,or_1x_1]) ).

cnf(c278,plain,
    ( ~ mode(or1(h1(f)),ok)
    | value(out(n1,or1(h1(f))),n1) ),
    inference(resolution,status(thm),[c154,c21]) ).

cnf(c310,plain,
    value(out(n1,or1(h1(f))),n1),
    inference(resolution,status(thm),[c278,c124]) ).

cnf(c315,plain,
    ( ~ connection(out(n1,or1(h1(f))),X115)
    | value(X115,n1) ),
    inference(resolution,status(thm),[c310,value_propagation1]) ).

cnf(c320,plain,
    value(in(n1,and1(h1(f))),n1),
    inference(resolution,status(thm),[c315,c91]) ).

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

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

cnf(c103,plain,
    connection(out(n1,not1(h1(f))),in(n2,and1(h1(f)))),
    inference(resolution,status(thm),[halfadder_connection_out1not1_in2and1,c16]) ).

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

cnf(halfadder_not1,axiom,
    ( ~ type(X16,halfadder)
    | type(not1(X16),not) ),
    input ).

cnf(c20,plain,
    type(not1(h1(f)),not),
    inference(resolution,status(thm),[c16,halfadder_not1]) ).

cnf(c25,plain,
    ( mode(not1(h1(f)),ok)
    | mode(not1(h1(f)),abnormal) ),
    inference(resolution,status(thm),[c20,ok_or_abnormal]) ).

cnf(c123,plain,
    mode(not1(h1(f)),ok),
    inference(resolution,status(thm),[c25,diagnosis_not1h1]) ).

cnf(not_0_1_fw,axiom,
    ( ~ mode(X55,ok)
    | ~ type(X55,not)
    | ~ value(in(n1,X55),n0)
    | value(out(n1,X55),n1) ),
    input ).

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

cnf(c96,plain,
    connection(out(n1,and2(h1(f))),in(n1,not1(h1(f)))),
    inference(resolution,status(thm),[halfadder_connection_out1and2_in1not1,c16]) ).

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

cnf(halfadder_and2,axiom,
    ( ~ type(X15,halfadder)
    | type(and2(X15),and) ),
    input ).

cnf(c19,plain,
    type(and2(h1(f)),and),
    inference(resolution,status(thm),[c16,halfadder_and2]) ).

cnf(c24,plain,
    ( mode(and2(h1(f)),ok)
    | mode(and2(h1(f)),abnormal) ),
    inference(resolution,status(thm),[c19,ok_or_abnormal]) ).

cnf(c120,plain,
    mode(and2(h1(f)),ok),
    inference(resolution,status(thm),[c24,diagnosis_and2h1]) ).

cnf(and_0x_0,axiom,
    ( ~ mode(X19,ok)
    | ~ type(X19,and)
    | ~ value(in(X20,X19),n0)
    | value(out(n1,X19),n0) ),
    input ).

cnf(in2_0,plain,
    value(in(n2,f),n0),
    input ).

cnf(c1,plain,
    ( ~ connection(in(n2,f),X27)
    | value(X27,n0) ),
    inference(resolution,status(thm),[in2_0,value_propagation1]) ).

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

cnf(c73,plain,
    connection(in(n2,f),in(n1,h1(f))),
    inference(resolution,status(thm),[fulladder_connection_in2_in1h1,f_isa_fulladder]) ).

cnf(c74,plain,
    value(in(n1,h1(f)),n0),
    inference(resolution,status(thm),[c73,c1]) ).

cnf(c77,plain,
    ( ~ connection(in(n1,h1(f)),X63)
    | value(X63,n0) ),
    inference(resolution,status(thm),[c74,value_propagation1]) ).

cnf(halfadder_connection_in1_in1and2,axiom,
    ( ~ type(X50,halfadder)
    | connection(in(n1,X50),in(n1,and2(X50))) ),
    input ).

cnf(c56,plain,
    connection(in(n1,h1(f)),in(n1,and2(h1(f)))),
    inference(resolution,status(thm),[halfadder_connection_in1_in1and2,c16]) ).

cnf(c165,plain,
    value(in(n1,and2(h1(f))),n0),
    inference(resolution,status(thm),[c56,c77]) ).

cnf(c166,plain,
    ( ~ mode(and2(h1(f)),ok)
    | ~ type(and2(h1(f)),and)
    | value(out(n1,and2(h1(f))),n0) ),
    inference(resolution,status(thm),[c165,and_0x_0]) ).

cnf(c311,plain,
    ( ~ mode(and2(h1(f)),ok)
    | value(out(n1,and2(h1(f))),n0) ),
    inference(resolution,status(thm),[c166,c19]) ).

cnf(c355,plain,
    value(out(n1,and2(h1(f))),n0),
    inference(resolution,status(thm),[c311,c120]) ).

cnf(c358,plain,
    ( ~ connection(out(n1,and2(h1(f))),X124)
    | value(X124,n0) ),
    inference(resolution,status(thm),[c355,value_propagation1]) ).

cnf(c364,plain,
    value(in(n1,not1(h1(f))),n0),
    inference(resolution,status(thm),[c358,c96]) ).

cnf(c368,plain,
    ( ~ mode(not1(h1(f)),ok)
    | ~ type(not1(h1(f)),not)
    | value(out(n1,not1(h1(f))),n1) ),
    inference(resolution,status(thm),[c364,not_0_1_fw]) ).

cnf(c874,plain,
    ( ~ mode(not1(h1(f)),ok)
    | value(out(n1,not1(h1(f))),n1) ),
    inference(resolution,status(thm),[c368,c20]) ).

cnf(c875,plain,
    value(out(n1,not1(h1(f))),n1),
    inference(resolution,status(thm),[c874,c123]) ).

cnf(c879,plain,
    ( ~ connection(out(n1,not1(h1(f))),X207)
    | value(X207,n1) ),
    inference(resolution,status(thm),[c875,value_propagation1]) ).

cnf(c884,plain,
    value(in(n2,and1(h1(f))),n1),
    inference(resolution,status(thm),[c879,c103]) ).

cnf(c888,plain,
    ( ~ mode(and1(h1(f)),ok)
    | ~ type(and1(h1(f)),and)
    | ~ value(in(n1,and1(h1(f))),n1)
    | value(out(n1,and1(h1(f))),n1) ),
    inference(resolution,status(thm),[c884,and_11_1]) ).

cnf(c1391,plain,
    ( ~ mode(and1(h1(f)),ok)
    | ~ type(and1(h1(f)),and)
    | value(out(n1,and1(h1(f))),n1) ),
    inference(resolution,status(thm),[c888,c320]) ).

cnf(c2009,plain,
    ( ~ mode(and1(h1(f)),ok)
    | value(out(n1,and1(h1(f))),n1) ),
    inference(resolution,status(thm),[c1391,c18]) ).

cnf(c2010,plain,
    value(out(n1,and1(h1(f))),n1),
    inference(resolution,status(thm),[c2009,c117]) ).

cnf(c2014,plain,
    ( ~ connection(X418,out(n1,and1(h1(f))))
    | value(X418,n1) ),
    inference(resolution,status(thm),[c2010,value_propagation2]) ).

cnf(c2088,plain,
    value(out(s,h1(f)),n1),
    inference(resolution,status(thm),[c2014,c60]) ).

cnf(c2089,plain,
    ( ~ connection(out(s,h1(f)),X419)
    | value(X419,n1) ),
    inference(resolution,status(thm),[c2088,value_propagation1]) ).

cnf(c2092,plain,
    value(in(n2,h2(f)),n1),
    inference(resolution,status(thm),[c2089,c114]) ).

cnf(c2094,plain,
    ( ~ connection(in(n2,h2(f)),X422)
    | value(X422,n1) ),
    inference(resolution,status(thm),[c2092,value_propagation1]) ).

cnf(c2101,plain,
    value(in(n2,and2(h2(f))),n1),
    inference(resolution,status(thm),[c2094,c57]) ).

cnf(c2109,plain,
    ( ~ value(in(n2,and2(h2(f))),X443)
    | equal_value(X443,n1) ),
    inference(resolution,status(thm),[c2101,unique_value]) ).

cnf(in1_1,plain,
    value(in(n1,f),n1),
    input ).

cnf(c0,plain,
    ( ~ connection(in(n1,f),X26)
    | value(X26,n1) ),
    inference(resolution,status(thm),[value_propagation1,in1_1]) ).

cnf(fulladder_connection_in1_in1h2,axiom,
    ( ~ type(X54,fulladder)
    | connection(in(n1,X54),in(n1,h2(X54))) ),
    input ).

cnf(c63,plain,
    connection(in(n1,f),in(n1,h2(f))),
    inference(resolution,status(thm),[fulladder_connection_in1_in1h2,f_isa_fulladder]) ).

cnf(c64,plain,
    value(in(n1,h2(f)),n1),
    inference(resolution,status(thm),[c63,c0]) ).

cnf(c67,plain,
    ( ~ connection(in(n1,h2(f)),X59)
    | value(X59,n1) ),
    inference(resolution,status(thm),[c64,value_propagation1]) ).

cnf(c55,plain,
    connection(in(n1,h2(f)),in(n1,and2(h2(f)))),
    inference(resolution,status(thm),[halfadder_connection_in1_in1and2,c27]) ).

cnf(c157,plain,
    value(in(n1,and2(h2(f))),n1),
    inference(resolution,status(thm),[c55,c67]) ).

cnf(c158,plain,
    ( ~ value(in(n1,and2(h2(f))),X93)
    | equal_value(X93,n1) ),
    inference(resolution,status(thm),[c157,unique_value]) ).

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

cnf(c29,plain,
    type(and2(h2(f)),and),
    inference(resolution,status(thm),[c27,halfadder_and2]) ).

cnf(c34,plain,
    ( mode(and2(h2(f)),ok)
    | mode(and2(h2(f)),abnormal) ),
    inference(resolution,status(thm),[c29,ok_or_abnormal]) ).

cnf(c130,plain,
    mode(and2(h2(f)),ok),
    inference(resolution,status(thm),[c34,diagnosis_and2]) ).

cnf(and_0_00,axiom,
    ( ~ mode(X23,ok)
    | ~ type(X23,and)
    | ~ value(out(n1,X23),n0)
    | value(in(n1,X23),n0)
    | value(in(n2,X23),n0) ),
    input ).

cnf(c95,plain,
    connection(out(n1,and2(h2(f))),in(n1,not1(h2(f)))),
    inference(resolution,status(thm),[halfadder_connection_out1and2_in1not1,c27]) ).

cnf(not_ok_and_abnormal,axiom,
    ( ~ mode(X2,ok)
    | ~ mode(X2,abnormal) ),
    input ).

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

cnf(c61,plain,
    connection(out(c,h2(f)),out(n1,and2(h2(f)))),
    inference(resolution,status(thm),[halfadder_connection_outc_out1and2,c27]) ).

cnf(fulladder_connection_outch2_in1or1,axiom,
    ( ~ type(X83,fulladder)
    | connection(out(c,h2(X83)),in(n1,or1(X83))) ),
    input ).

cnf(c121,plain,
    connection(out(c,h2(f)),in(n1,or1(f))),
    inference(resolution,status(thm),[fulladder_connection_outch2_in1or1,f_isa_fulladder]) ).

cnf(fulladder_or1,axiom,
    ( ~ type(X24,fulladder)
    | type(or1(X24),or) ),
    input ).

cnf(c37,plain,
    type(or1(f),or),
    inference(resolution,status(thm),[fulladder_or1,f_isa_fulladder]) ).

cnf(c38,plain,
    ( mode(or1(f),ok)
    | mode(or1(f),abnormal) ),
    inference(resolution,status(thm),[c37,ok_or_abnormal]) ).

cnf(or_0_0x,axiom,
    ( ~ mode(X46,ok)
    | ~ type(X46,or)
    | ~ value(out(n1,X46),n0)
    | value(in(n1,X46),n0) ),
    input ).

cnf(outc_0,plain,
    value(out(c,f),n0),
    input ).

cnf(c4,plain,
    ( ~ connection(out(c,f),X30)
    | value(X30,n0) ),
    inference(resolution,status(thm),[outc_0,value_propagation1]) ).

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

cnf(c104,plain,
    connection(out(c,f),out(n1,or1(f))),
    inference(resolution,status(thm),[fulladder_connection_outc_out1or1,f_isa_fulladder]) ).

cnf(c105,plain,
    value(out(n1,or1(f)),n0),
    inference(resolution,status(thm),[c104,c4]) ).

cnf(c109,plain,
    ( ~ mode(or1(f),ok)
    | ~ type(or1(f),or)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,status(thm),[c105,or_0_0x]) ).

cnf(c193,plain,
    ( ~ mode(or1(f),ok)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,status(thm),[c109,c37]) ).

cnf(c196,plain,
    ( value(in(n1,or1(f)),n0)
    | mode(or1(f),abnormal) ),
    inference(resolution,status(thm),[c193,c38]) ).

cnf(c201,plain,
    ( mode(or1(f),abnormal)
    | ~ connection(X107,in(n1,or1(f)))
    | value(X107,n0) ),
    inference(resolution,status(thm),[c196,value_propagation2]) ).

cnf(c218,plain,
    ( mode(or1(f),abnormal)
    | value(out(c,h2(f)),n0) ),
    inference(resolution,status(thm),[c201,c121]) ).

cnf(c224,plain,
    ( mode(or1(f),abnormal)
    | ~ connection(out(c,h2(f)),X109)
    | value(X109,n0) ),
    inference(resolution,status(thm),[c218,value_propagation1]) ).

cnf(c260,plain,
    ( mode(or1(f),abnormal)
    | value(out(n1,and2(h2(f))),n0) ),
    inference(resolution,status(thm),[c224,c61]) ).

cnf(c267,plain,
    ( mode(or1(f),abnormal)
    | ~ connection(out(n1,and2(h2(f))),X154)
    | value(X154,n0) ),
    inference(resolution,status(thm),[c260,value_propagation1]) ).

cnf(c458,plain,
    ( mode(or1(f),abnormal)
    | value(in(n1,not1(h2(f))),n0) ),
    inference(resolution,status(thm),[c267,c95]) ).

cnf(c461,plain,
    ( value(in(n1,not1(h2(f))),n0)
    | ~ mode(or1(f),ok) ),
    inference(resolution,status(thm),[c458,not_ok_and_abnormal]) ).

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

cnf(c30,plain,
    type(not1(h2(f)),not),
    inference(resolution,status(thm),[c27,halfadder_not1]) ).

cnf(c35,plain,
    ( mode(not1(h2(f)),ok)
    | mode(not1(h2(f)),abnormal) ),
    inference(resolution,status(thm),[c30,ok_or_abnormal]) ).

cnf(c132,plain,
    ( mode(not1(h2(f)),ok)
    | ~ mode(or1(f),abnormal) ),
    inference(resolution,status(thm),[c35,diagnosis_or1_not1h2]) ).

cnf(c133,plain,
    ( mode(not1(h2(f)),ok)
    | mode(or1(f),ok) ),
    inference(resolution,status(thm),[c132,c38]) ).

cnf(not_1_0_bw,axiom,
    ( ~ mode(X65,ok)
    | ~ type(X65,not)
    | ~ value(out(n1,X65),n1)
    | value(in(n1,X65),n0) ),
    input ).

cnf(c102,plain,
    connection(out(n1,not1(h2(f))),in(n2,and1(h2(f)))),
    inference(resolution,status(thm),[halfadder_connection_out1not1_in2and1,c27]) ).

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

cnf(c28,plain,
    type(and1(h2(f)),and),
    inference(resolution,status(thm),[c27,halfadder_and1]) ).

cnf(c33,plain,
    ( mode(and1(h2(f)),ok)
    | mode(and1(h2(f)),abnormal) ),
    inference(resolution,status(thm),[c28,ok_or_abnormal]) ).

cnf(c126,plain,
    ( mode(and1(h2(f)),ok)
    | ~ mode(or1(f),abnormal) ),
    inference(resolution,status(thm),[c33,diagnosis_or1_and1h2]) ).

cnf(c128,plain,
    ( mode(and1(h2(f)),ok)
    | mode(or1(f),ok) ),
    inference(resolution,status(thm),[c126,c38]) ).

cnf(and_1_x1,axiom,
    ( ~ mode(X31,ok)
    | ~ type(X31,and)
    | ~ value(out(n1,X31),n1)
    | value(in(n2,X31),n1) ),
    input ).

cnf(outs_1,plain,
    value(out(s,f),n1),
    input ).

cnf(c3,plain,
    ( ~ connection(out(s,f),X29)
    | value(X29,n1) ),
    inference(resolution,status(thm),[outs_1,value_propagation1]) ).

cnf(fulladder_connection_outs_outsh2,axiom,
    ( ~ type(X71,fulladder)
    | connection(out(s,X71),out(s,h2(X71))) ),
    input ).

cnf(c93,plain,
    connection(out(s,f),out(s,h2(f))),
    inference(resolution,status(thm),[fulladder_connection_outs_outsh2,f_isa_fulladder]) ).

cnf(c94,plain,
    value(out(s,h2(f)),n1),
    inference(resolution,status(thm),[c93,c3]) ).

cnf(c98,plain,
    ( ~ connection(out(s,h2(f)),X74)
    | value(X74,n1) ),
    inference(resolution,status(thm),[c94,value_propagation1]) ).

cnf(c59,plain,
    connection(out(s,h2(f)),out(n1,and1(h2(f)))),
    inference(resolution,status(thm),[halfadder_connection_outs_out1and1,c27]) ).

cnf(c182,plain,
    value(out(n1,and1(h2(f))),n1),
    inference(resolution,status(thm),[c59,c98]) ).

cnf(c188,plain,
    ( ~ mode(and1(h2(f)),ok)
    | ~ type(and1(h2(f)),and)
    | value(in(n2,and1(h2(f))),n1) ),
    inference(resolution,status(thm),[c182,and_1_x1]) ).

cnf(c384,plain,
    ( ~ mode(and1(h2(f)),ok)
    | value(in(n2,and1(h2(f))),n1) ),
    inference(resolution,status(thm),[c188,c28]) ).

cnf(c407,plain,
    ( value(in(n2,and1(h2(f))),n1)
    | mode(or1(f),ok) ),
    inference(resolution,status(thm),[c384,c128]) ).

cnf(c414,plain,
    ( mode(or1(f),ok)
    | ~ connection(X171,in(n2,and1(h2(f))))
    | value(X171,n1) ),
    inference(resolution,status(thm),[c407,value_propagation2]) ).

cnf(c559,plain,
    ( mode(or1(f),ok)
    | value(out(n1,not1(h2(f))),n1) ),
    inference(resolution,status(thm),[c414,c102]) ).

cnf(c565,plain,
    ( mode(or1(f),ok)
    | ~ mode(not1(h2(f)),ok)
    | ~ type(not1(h2(f)),not)
    | value(in(n1,not1(h2(f))),n0) ),
    inference(resolution,status(thm),[c559,not_1_0_bw]) ).

cnf(c1030,plain,
    ( mode(or1(f),ok)
    | ~ mode(not1(h2(f)),ok)
    | value(in(n1,not1(h2(f))),n0) ),
    inference(resolution,status(thm),[c565,c30]) ).

cnf(c1171,plain,
    ( mode(or1(f),ok)
    | value(in(n1,not1(h2(f))),n0) ),
    inference(resolution,status(thm),[c1030,c133]) ).

cnf(c1177,plain,
    value(in(n1,not1(h2(f))),n0),
    inference(resolution,status(thm),[c1171,c461]) ).

cnf(c1197,plain,
    ( ~ connection(X313,in(n1,not1(h2(f))))
    | value(X313,n0) ),
    inference(resolution,status(thm),[c1177,value_propagation2]) ).

cnf(c1205,plain,
    value(out(n1,and2(h2(f))),n0),
    inference(resolution,status(thm),[c1197,c95]) ).

cnf(c1219,plain,
    ( ~ mode(and2(h2(f)),ok)
    | ~ type(and2(h2(f)),and)
    | value(in(n1,and2(h2(f))),n0)
    | value(in(n2,and2(h2(f))),n0) ),
    inference(resolution,status(thm),[c1205,and_0_00]) ).

cnf(c1599,plain,
    ( ~ mode(and2(h2(f)),ok)
    | value(in(n1,and2(h2(f))),n0)
    | value(in(n2,and2(h2(f))),n0) ),
    inference(resolution,status(thm),[c1219,c29]) ).

cnf(c2127,plain,
    ( value(in(n1,and2(h2(f))),n0)
    | value(in(n2,and2(h2(f))),n0) ),
    inference(resolution,status(thm),[c1599,c130]) ).

cnf(c2128,plain,
    ( value(in(n2,and2(h2(f))),n0)
    | equal_value(n0,n1) ),
    inference(resolution,status(thm),[c2127,c158]) ).

cnf(c2142,plain,
    equal_value(n0,n1),
    inference(resolution,status(thm),[c2128,c2109]) ).

cnf(c2147,plain,
    $false,
    inference(resolution,status(thm),[c2142,equal_value1]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : HWV006-1 : TPTP v8.1.0. Released v2.1.0.
% 0.03/0.12  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.33  % Computer : n007.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit : 300
% 0.12/0.33  % WCLimit  : 600
% 0.12/0.33  % DateTime : Fri Jun 17 01:18:12 EDT 2022
% 0.12/0.34  % CPUTime  : 
% 3.55/3.72  # Version:  1.3
% 3.55/3.72  # SZS status Unsatisfiable
% 3.55/3.72  # SZS output start CNFRefutation
% See solution above
% 3.55/3.72  
% 3.55/3.72  # Initial clauses    : 58
% 3.55/3.72  # Processed clauses  : 770
% 3.55/3.72  # Factors computed   : 0
% 3.55/3.72  # Resolvents computed: 2148
% 3.55/3.72  # Tautologies deleted: 16
% 3.55/3.72  # Forward subsumed   : 1239
% 3.55/3.72  # Backward subsumed  : 463
% 3.55/3.72  # -------- CPU Time ---------
% 3.55/3.72  # User time          : 3.367 s
% 3.55/3.72  # System time        : 0.016 s
% 3.55/3.72  # Total time         : 3.383 s
%------------------------------------------------------------------------------