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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : PyRes---1.5
% Problem  : HWV006-2 : TPTP v8.1.2. Bugfixed v2.7.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s

% Computer : n029.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 May  9 17:24:54 EDT 2024

% Result   : Unsatisfiable 1.24s 1.43s
% Output   : Refutation 1.24s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   18
%            Number of leaves      :   52
% Syntax   : Number of clauses     :  163 (  70 unt;  25 nHn; 163 RR)
%            Number of literals    :  275 (   0 equ;  98 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   :   43 (   0 sgn)

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

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

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

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

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

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

cnf(c37,plain,
    connection(in2(h2(f)),in2(and2(h2(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_in2_in2and2,c8]) ).

cnf(c188,plain,
    ( ~ one(in2(h2(f)))
    | one(in2(and2(h2(f)))) ),
    inference(resolution,[status(thm)],[c37,value_propagation_one1]) ).

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

cnf(c77,plain,
    connection(outs(h1(f)),in2(h2(f))),
    inference(resolution,[status(thm)],[fulladder_connection_outsh1_in2h2,f_isa_fulladder]) ).

cnf(c103,plain,
    ( ~ one(outs(h1(f)))
    | one(in2(h2(f))) ),
    inference(resolution,[status(thm)],[c77,value_propagation_one1]) ).

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

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

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

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

cnf(c38,plain,
    connection(outs(h1(f)),out1(and1(h1(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_outs_out1and1,c3]) ).

cnf(c193,plain,
    ( ~ one(out1(and1(h1(f))))
    | one(outs(h1(f))) ),
    inference(resolution,[status(thm)],[c38,value_propagation_one2]) ).

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

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

cnf(c4,plain,
    logic_and(and1(h1(f))),
    inference(resolution,[status(thm)],[c3,halfadder_and1]) ).

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

cnf(c16,plain,
    ( and_ok(and1(h1(f)))
    | abnormal(and1(h1(f))) ),
    inference(resolution,[status(thm)],[and_ok_or_abnormal,c4]) ).

cnf(c95,plain,
    and_ok(and1(h1(f))),
    inference(resolution,[status(thm)],[c16,diagnosis_and1h1]) ).

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

cnf(c53,plain,
    connection(out1(or1(h1(f))),in1(and1(h1(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_out1or1_in1_and1,c3]) ).

cnf(c208,plain,
    ( ~ one(out1(or1(h1(f))))
    | one(in1(and1(h1(f)))) ),
    inference(resolution,[status(thm)],[c53,value_propagation_one1]) ).

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

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

cnf(c6,plain,
    logic_or(or1(h1(f))),
    inference(resolution,[status(thm)],[c3,halfadder_or1]) ).

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

cnf(c20,plain,
    ( or_ok(or1(h1(f)))
    | abnormal(or1(h1(f))) ),
    inference(resolution,[status(thm)],[or_ok_or_abnormal,c6]) ).

cnf(c143,plain,
    or_ok(or1(h1(f))),
    inference(resolution,[status(thm)],[c20,diagnosis_or1h1]) ).

cnf(or_x1_1,axiom,
    ( ~ or_ok(X31)
    | ~ one(in2(X31))
    | one(out1(X31)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV002-0.ax',or_x1_1) ).

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

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

cnf(c52,plain,
    connection(inc(f),in2(h1(f))),
    inference(resolution,[status(thm)],[fulladder_connection_inc_in2h1,f_isa_fulladder]) ).

cnf(c56,plain,
    ( ~ one(inc(f))
    | one(in2(h1(f))) ),
    inference(resolution,[status(thm)],[c52,value_propagation_one1]) ).

cnf(c81,plain,
    one(in2(h1(f))),
    inference(resolution,[status(thm)],[c56,inc_1]) ).

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

cnf(c32,plain,
    connection(in2(h1(f)),in2(or1(h1(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_in2_in2or1,c3]) ).

cnf(c168,plain,
    ( ~ one(in2(h1(f)))
    | one(in2(or1(h1(f)))) ),
    inference(resolution,[status(thm)],[c32,value_propagation_one1]) ).

cnf(c274,plain,
    one(in2(or1(h1(f)))),
    inference(resolution,[status(thm)],[c168,c81]) ).

cnf(c277,plain,
    ( ~ or_ok(or1(h1(f)))
    | one(out1(or1(h1(f)))) ),
    inference(resolution,[status(thm)],[c274,or_x1_1]) ).

cnf(c328,plain,
    one(out1(or1(h1(f)))),
    inference(resolution,[status(thm)],[c277,c143]) ).

cnf(c334,plain,
    one(in1(and1(h1(f)))),
    inference(resolution,[status(thm)],[c328,c208]) ).

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

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

cnf(c75,plain,
    connection(out1(not1(h1(f))),in2(and1(h1(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_out1not1_in2and1,c3]) ).

cnf(c233,plain,
    ( ~ one(out1(not1(h1(f))))
    | one(in2(and1(h1(f)))) ),
    inference(resolution,[status(thm)],[c75,value_propagation_one1]) ).

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

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

cnf(c7,plain,
    logic_not(not1(h1(f))),
    inference(resolution,[status(thm)],[c3,halfadder_not1]) ).

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

cnf(c22,plain,
    ( not_ok(not1(h1(f)))
    | abnormal(not1(h1(f))) ),
    inference(resolution,[status(thm)],[not_ok_or_abnormal,c7]) ).

cnf(c148,plain,
    not_ok(not1(h1(f))),
    inference(resolution,[status(thm)],[c22,diagnosis_not1h1]) ).

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

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

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

cnf(c5,plain,
    logic_and(and2(h1(f))),
    inference(resolution,[status(thm)],[c3,halfadder_and2]) ).

cnf(c15,plain,
    ( and_ok(and2(h1(f)))
    | abnormal(and2(h1(f))) ),
    inference(resolution,[status(thm)],[and_ok_or_abnormal,c5]) ).

cnf(c89,plain,
    and_ok(and2(h1(f))),
    inference(resolution,[status(thm)],[c15,diagnosis_and2h1]) ).

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

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

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

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

cnf(c47,plain,
    connection(in2(f),in1(h1(f))),
    inference(resolution,[status(thm)],[fulladder_connection_in2_in1h1,f_isa_fulladder]) ).

cnf(c51,plain,
    ( ~ zero(in2(f))
    | zero(in1(h1(f))) ),
    inference(resolution,[status(thm)],[c47,value_propagation_zero1]) ).

cnf(c78,plain,
    zero(in1(h1(f))),
    inference(resolution,[status(thm)],[c51,in2_0]) ).

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

cnf(c34,plain,
    connection(in1(h1(f)),in1(and2(h1(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_in1_in1and2,c3]) ).

cnf(c178,plain,
    ( ~ zero(in1(h1(f)))
    | zero(in1(and2(h1(f)))) ),
    inference(resolution,[status(thm)],[c34,value_propagation_zero1]) ).

cnf(c278,plain,
    zero(in1(and2(h1(f)))),
    inference(resolution,[status(thm)],[c178,c78]) ).

cnf(c279,plain,
    ( ~ and_ok(and2(h1(f)))
    | zero(out1(and2(h1(f)))) ),
    inference(resolution,[status(thm)],[c278,and_0x_0]) ).

cnf(c338,plain,
    zero(out1(and2(h1(f)))),
    inference(resolution,[status(thm)],[c279,c89]) ).

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

cnf(c69,plain,
    connection(out1(and2(h1(f))),in1(not1(h1(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_out1and2_in1not1,c3]) ).

cnf(c218,plain,
    ( ~ zero(out1(and2(h1(f))))
    | zero(in1(not1(h1(f)))) ),
    inference(resolution,[status(thm)],[c69,value_propagation_zero1]) ).

cnf(c398,plain,
    zero(in1(not1(h1(f)))),
    inference(resolution,[status(thm)],[c218,c338]) ).

cnf(c400,plain,
    ( ~ not_ok(not1(h1(f)))
    | one(out1(not1(h1(f)))) ),
    inference(resolution,[status(thm)],[c398,not_0_1_fw]) ).

cnf(c491,plain,
    one(out1(not1(h1(f)))),
    inference(resolution,[status(thm)],[c400,c148]) ).

cnf(c493,plain,
    one(in2(and1(h1(f)))),
    inference(resolution,[status(thm)],[c491,c233]) ).

cnf(c498,plain,
    ( ~ and_ok(and1(h1(f)))
    | ~ one(in1(and1(h1(f))))
    | one(out1(and1(h1(f)))) ),
    inference(resolution,[status(thm)],[c493,and_11_1]) ).

cnf(c748,plain,
    ( ~ and_ok(and1(h1(f)))
    | one(out1(and1(h1(f)))) ),
    inference(resolution,[status(thm)],[c498,c334]) ).

cnf(c910,plain,
    one(out1(and1(h1(f)))),
    inference(resolution,[status(thm)],[c748,c95]) ).

cnf(c911,plain,
    one(outs(h1(f))),
    inference(resolution,[status(thm)],[c910,c193]) ).

cnf(c917,plain,
    one(in2(h2(f))),
    inference(resolution,[status(thm)],[c911,c103]) ).

cnf(c920,plain,
    one(in2(and2(h2(f)))),
    inference(resolution,[status(thm)],[c917,c188]) ).

cnf(c962,plain,
    ~ zero(in2(and2(h2(f)))),
    inference(resolution,[status(thm)],[c920,unique_value]) ).

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

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

cnf(c42,plain,
    connection(in1(f),in1(h2(f))),
    inference(resolution,[status(thm)],[fulladder_connection_in1_in1h2,f_isa_fulladder]) ).

cnf(c44,plain,
    ( ~ one(in1(f))
    | one(in1(h2(f))) ),
    inference(resolution,[status(thm)],[c42,value_propagation_one1]) ).

cnf(c71,plain,
    one(in1(h2(f))),
    inference(resolution,[status(thm)],[c44,in1_1]) ).

cnf(c35,plain,
    connection(in1(h2(f)),in1(and2(h2(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_in1_in1and2,c8]) ).

cnf(c180,plain,
    ( ~ one(in1(h2(f)))
    | one(in1(and2(h2(f)))) ),
    inference(resolution,[status(thm)],[c35,value_propagation_one1]) ).

cnf(c281,plain,
    one(in1(and2(h2(f)))),
    inference(resolution,[status(thm)],[c180,c71]) ).

cnf(c284,plain,
    ~ zero(in1(and2(h2(f)))),
    inference(resolution,[status(thm)],[c281,unique_value]) ).

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

cnf(c10,plain,
    logic_and(and2(h2(f))),
    inference(resolution,[status(thm)],[c8,halfadder_and2]) ).

cnf(c18,plain,
    ( and_ok(and2(h2(f)))
    | abnormal(and2(h2(f))) ),
    inference(resolution,[status(thm)],[and_ok_or_abnormal,c10]) ).

cnf(c118,plain,
    and_ok(and2(h2(f))),
    inference(resolution,[status(thm)],[c18,diagnosis_and2]) ).

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

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

cnf(c70,plain,
    connection(out1(and2(h2(f))),in1(not1(h2(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_out1and2_in1not1,c8]) ).

cnf(c225,plain,
    ( ~ zero(in1(not1(h2(f))))
    | zero(out1(and2(h2(f)))) ),
    inference(resolution,[status(thm)],[c70,value_propagation_zero2]) ).

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

cnf(c12,plain,
    logic_not(not1(h2(f))),
    inference(resolution,[status(thm)],[c8,halfadder_not1]) ).

cnf(c23,plain,
    ( not_ok(not1(h2(f)))
    | abnormal(not1(h2(f))) ),
    inference(resolution,[status(thm)],[not_ok_or_abnormal,c12]) ).

cnf(c151,plain,
    ( not_ok(not1(h2(f)))
    | ~ abnormal(or1(f)) ),
    inference(resolution,[status(thm)],[c23,diagnosis_or1_not1h2]) ).

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

cnf(c13,plain,
    logic_or(or1(f)),
    inference(resolution,[status(thm)],[fulladder_or1,f_isa_fulladder]) ).

cnf(c21,plain,
    ( or_ok(or1(f))
    | abnormal(or1(f)) ),
    inference(resolution,[status(thm)],[or_ok_or_abnormal,c13]) ).

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

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

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

cnf(c64,plain,
    connection(outc(f),out1(or1(f))),
    inference(resolution,[status(thm)],[fulladder_connection_outc_out1or1,f_isa_fulladder]) ).

cnf(c68,plain,
    ( ~ zero(outc(f))
    | zero(out1(or1(f))) ),
    inference(resolution,[status(thm)],[c64,value_propagation_zero1]) ).

cnf(c93,plain,
    zero(out1(or1(f))),
    inference(resolution,[status(thm)],[c68,outc_0]) ).

cnf(c98,plain,
    ( ~ or_ok(or1(f))
    | zero(in1(or1(f))) ),
    inference(resolution,[status(thm)],[c93,or_0_0x]) ).

cnf(c122,plain,
    ( zero(in1(or1(f)))
    | abnormal(or1(f)) ),
    inference(resolution,[status(thm)],[c98,c21]) ).

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

cnf(c86,plain,
    connection(outc(h2(f)),in1(or1(f))),
    inference(resolution,[status(thm)],[fulladder_connection_outch2_in1or1,f_isa_fulladder]) ).

cnf(c114,plain,
    ( ~ zero(in1(or1(f)))
    | zero(outc(h2(f))) ),
    inference(resolution,[status(thm)],[c86,value_propagation_zero2]) ).

cnf(c237,plain,
    ( zero(outc(h2(f)))
    | abnormal(or1(f)) ),
    inference(resolution,[status(thm)],[c114,c122]) ).

cnf(c238,plain,
    ( zero(outc(h2(f)))
    | not_ok(not1(h2(f))) ),
    inference(resolution,[status(thm)],[c237,c151]) ).

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

cnf(c41,plain,
    connection(outc(h2(f)),out1(and2(h2(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_outc_out1and2,c8]) ).

cnf(c206,plain,
    ( ~ zero(outc(h2(f)))
    | zero(out1(and2(h2(f)))) ),
    inference(resolution,[status(thm)],[c41,value_propagation_zero1]) ).

cnf(c313,plain,
    ( zero(out1(and2(h2(f))))
    | not_ok(not1(h2(f))) ),
    inference(resolution,[status(thm)],[c206,c238]) ).

cnf(c228,plain,
    ( ~ zero(out1(and2(h2(f))))
    | zero(in1(not1(h2(f)))) ),
    inference(resolution,[status(thm)],[c70,value_propagation_zero1]) ).

cnf(c467,plain,
    ( zero(in1(not1(h2(f))))
    | not_ok(not1(h2(f))) ),
    inference(resolution,[status(thm)],[c228,c313]) ).

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

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

cnf(c311,plain,
    ( zero(out1(and2(h2(f))))
    | abnormal(or1(f)) ),
    inference(resolution,[status(thm)],[c206,c237]) ).

cnf(c466,plain,
    ( zero(in1(not1(h2(f))))
    | abnormal(or1(f)) ),
    inference(resolution,[status(thm)],[c228,c311]) ).

cnf(c477,plain,
    ( zero(in1(not1(h2(f))))
    | ~ or_ok(or1(f)) ),
    inference(resolution,[status(thm)],[c466,not_or_ok_and_abnormal]) ).

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

cnf(c9,plain,
    logic_and(and1(h2(f))),
    inference(resolution,[status(thm)],[c8,halfadder_and1]) ).

cnf(c17,plain,
    ( and_ok(and1(h2(f)))
    | abnormal(and1(h2(f))) ),
    inference(resolution,[status(thm)],[and_ok_or_abnormal,c9]) ).

cnf(c109,plain,
    ( and_ok(and1(h2(f)))
    | ~ abnormal(or1(f)) ),
    inference(resolution,[status(thm)],[c17,diagnosis_or1_and1h2]) ).

cnf(c124,plain,
    ( and_ok(and1(h2(f)))
    | or_ok(or1(f)) ),
    inference(resolution,[status(thm)],[c109,c21]) ).

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

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

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

cnf(c59,plain,
    connection(outs(f),outs(h2(f))),
    inference(resolution,[status(thm)],[fulladder_connection_outs_outsh2,f_isa_fulladder]) ).

cnf(c61,plain,
    ( ~ one(outs(f))
    | one(outs(h2(f))) ),
    inference(resolution,[status(thm)],[c59,value_propagation_one1]) ).

cnf(c87,plain,
    one(outs(h2(f))),
    inference(resolution,[status(thm)],[c61,outs_1]) ).

cnf(c39,plain,
    connection(outs(h2(f)),out1(and1(h2(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_outs_out1and1,c8]) ).

cnf(c196,plain,
    ( ~ one(outs(h2(f)))
    | one(out1(and1(h2(f)))) ),
    inference(resolution,[status(thm)],[c39,value_propagation_one1]) ).

cnf(c289,plain,
    one(out1(and1(h2(f)))),
    inference(resolution,[status(thm)],[c196,c87]) ).

cnf(c290,plain,
    ( ~ and_ok(and1(h2(f)))
    | one(in2(and1(h2(f)))) ),
    inference(resolution,[status(thm)],[c289,and_1_x1]) ).

cnf(c348,plain,
    ( one(in2(and1(h2(f))))
    | or_ok(or1(f)) ),
    inference(resolution,[status(thm)],[c290,c124]) ).

cnf(c76,plain,
    connection(out1(not1(h2(f))),in2(and1(h2(f)))),
    inference(resolution,[status(thm)],[halfadder_connection_out1not1_in2and1,c8]) ).

cnf(c245,plain,
    ( ~ one(in2(and1(h2(f))))
    | one(out1(not1(h2(f)))) ),
    inference(resolution,[status(thm)],[c76,value_propagation_one2]) ).

cnf(c518,plain,
    ( one(out1(not1(h2(f))))
    | or_ok(or1(f)) ),
    inference(resolution,[status(thm)],[c245,c348]) ).

cnf(c527,plain,
    ( one(out1(not1(h2(f))))
    | zero(in1(not1(h2(f)))) ),
    inference(resolution,[status(thm)],[c518,c477]) ).

cnf(c642,plain,
    ( zero(in1(not1(h2(f))))
    | ~ not_ok(not1(h2(f))) ),
    inference(resolution,[status(thm)],[c527,not_1_0_bw]) ).

cnf(c650,plain,
    zero(in1(not1(h2(f)))),
    inference(resolution,[status(thm)],[c642,c467]) ).

cnf(c655,plain,
    zero(out1(and2(h2(f)))),
    inference(resolution,[status(thm)],[c650,c225]) ).

cnf(c659,plain,
    ( ~ and_ok(and2(h2(f)))
    | zero(in1(and2(h2(f))))
    | zero(in2(and2(h2(f)))) ),
    inference(resolution,[status(thm)],[c655,and_0_00]) ).

cnf(c983,plain,
    ( zero(in1(and2(h2(f))))
    | zero(in2(and2(h2(f)))) ),
    inference(resolution,[status(thm)],[c659,c118]) ).

cnf(c986,plain,
    zero(in2(and2(h2(f)))),
    inference(resolution,[status(thm)],[c983,c284]) ).

cnf(c992,plain,
    $false,
    inference(resolution,[status(thm)],[c986,c962]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.12/0.14  % Problem  : HWV006-2 : TPTP v8.1.2. Bugfixed v2.7.0.
% 0.12/0.15  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.15/0.37  % Computer : n029.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  : 300
% 0.15/0.37  % DateTime : Thu May  9 07:13:08 EDT 2024
% 0.15/0.37  % CPUTime  : 
% 1.24/1.43  % Version:  1.5
% 1.24/1.43  % SZS status Unsatisfiable
% 1.24/1.43  % SZS output start CNFRefutation
% See solution above
% 1.24/1.43  
% 1.24/1.43  % Initial clauses    : 64
% 1.24/1.43  % Processed clauses  : 492
% 1.24/1.43  % Factors computed   : 0
% 1.24/1.43  % Resolvents computed: 993
% 1.24/1.43  % Tautologies deleted: 10
% 1.24/1.43  % Forward subsumed   : 472
% 1.24/1.43  % Backward subsumed  : 265
% 1.24/1.43  % -------- CPU Time ---------
% 1.24/1.43  % User time          : 1.036 s
% 1.24/1.43  % System time        : 0.022 s
% 1.24/1.43  % Total time         : 1.058 s
%------------------------------------------------------------------------------