↑ Up

LisaST---0.9.UNS-CRf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : LisaST---0.9
% Problem  : HWV007-1 : TPTP v9.3.1. Released v2.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p

% Computer : n012.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8046.5625MB
% OS       : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Sun Sep 27 07:32:51 AM UTC 2026

% Result   : Unsatisfiable 16.03s 2.31s
% Output   : CNFRefutation 16.03s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   29
%            Number of leaves      :   46
% Syntax   : Number of clauses     :  202 (  65 unt;  37 nHn; 202 RR)
%            Number of literals    :  395 (   0 equ; 167 neg)
%            Maximal clause size   :    5 (   1 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number of predicates  :    6 (   5 usr;   1 prp; 0-2 aty)
%            Number of functors    :   21 (  21 usr;  13 con; 0-2 aty)
%            Number of variables   :  105 (   5 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(f_isa_fulladder,hypothesis,
    type(f,fulladder) ).

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

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

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

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

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

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

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

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

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

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

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

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

cnf(unique_value,axiom,
    ( 'equal$uvalue'(X1,X2)
    | ~ value(X0,X2)
    | ~ value(X0,X1) ) ).

cnf(equal_value1,axiom,
    ~ 'equal$uvalue'(n0,n1) ).

cnf(equal_value2,axiom,
    ~ 'equal$uvalue'(n1,n0) ).

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

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

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

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

cnf(or_1_11,axiom,
    ( value(in(n2,X0),n1)
    | value(in(n1,X0),n1)
    | ~ value(out(n1,X0),n1)
    | ~ type(X0,or)
    | ~ mode(X0,ok) ) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cnf(c0,plain,
    type(f,fulladder),
    inference(clausification,[status(esa)],[f_isa_fulladder]) ).

cnf(c1,plain,
    value(in(n1,f),n0),
    inference(clausification,[status(esa)],[in1_1]) ).

cnf(c2,plain,
    value(in(n2,f),n1),
    inference(clausification,[status(esa)],[in2_0]) ).

cnf(c3,plain,
    value(in(c,f),n1),
    inference(clausification,[status(esa)],[inc_1]) ).

cnf(c4,plain,
    value(out(s,f),n1),
    inference(clausification,[status(esa)],[outs_1]) ).

cnf(c5,plain,
    value(out(c,f),n0),
    inference(clausification,[status(esa)],[outc_0]) ).

cnf(c6,plain,
    ~ mode(and2(h1(f)),abnormal),
    inference(clausification,[status(esa)],[diagnosis_and2h1]) ).

cnf(c7,plain,
    ( ~ mode(and1(h1(f)),abnormal)
    | ~ mode(or1(f),abnormal) ),
    inference(clausification,[status(esa)],[diagnosis_or1_and1h1]) ).

cnf(c8,plain,
    ( ~ mode(not1(h1(f)),abnormal)
    | ~ mode(or1(f),abnormal) ),
    inference(clausification,[status(esa)],[diagnosis_or1_not1h1]) ).

cnf(c9,plain,
    ( ~ mode(and1(h2(f)),abnormal)
    | ~ mode(or1(f),abnormal) ),
    inference(clausification,[status(esa)],[diagnosis_or1_and1h2]) ).

cnf(c10,plain,
    ( ~ mode(or1(h2(f)),abnormal)
    | ~ mode(or1(f),abnormal) ),
    inference(clausification,[status(esa)],[diagnosis_or1_or1h2]) ).

cnf(c11,plain,
    ( value(X2,X1)
    | ~ connection(X0,X2)
    | ~ value(X0,X1) ),
    inference(clausification,[status(esa)],[value_propagation1]) ).

cnf(c12,plain,
    ( value(X2,X1)
    | ~ connection(X2,X0)
    | ~ value(X0,X1) ),
    inference(clausification,[status(esa)],[value_propagation2]) ).

cnf(c13,plain,
    ( 'equal$uvalue'(X2,X1)
    | ~ value(X0,X2)
    | ~ value(X0,X1) ),
    inference(clausification,[status(esa)],[unique_value]) ).

cnf(c14,plain,
    ~ 'equal$uvalue'(n0,n1),
    inference(clausification,[status(esa)],[equal_value1]) ).

cnf(c15,plain,
    ~ 'equal$uvalue'(n1,n0),
    inference(clausification,[status(esa)],[equal_value2]) ).

cnf(c17,plain,
    ( mode(X0,abnormal)
    | ~ type(X0,X1)
    | mode(X0,ok) ),
    inference(clausification,[status(esa)],[ok_or_abnormal]) ).

cnf(c18,plain,
    ( value(out(n1,X1),n0)
    | ~ type(X1,and)
    | ~ mode(X1,ok)
    | ~ value(in(X0,X1),n0) ),
    inference(clausification,[status(esa)],[and_0x_0]) ).

cnf(c19,plain,
    ( ~ mode(X0,ok)
    | ~ value(in(n1,X0),n1)
    | ~ type(X0,and)
    | value(out(n1,X0),n1)
    | ~ value(in(n2,X0),n1) ),
    inference(clausification,[status(esa)],[and_11_1]) ).

cnf(c21,plain,
    ( value(in(n1,X0),n1)
    | ~ type(X0,and)
    | ~ mode(X0,ok)
    | ~ value(out(n1,X0),n1) ),
    inference(clausification,[status(esa)],[and_1_1x]) ).

cnf(c25,plain,
    ( ~ value(out(n1,X0),n1)
    | value(in(n1,X0),n1)
    | value(in(n2,X0),n1)
    | ~ type(X0,or)
    | ~ mode(X0,ok) ),
    inference(clausification,[status(esa)],[or_1_11]) ).

cnf(c27,plain,
    ( value(in(n2,X0),n0)
    | ~ type(X0,or)
    | ~ mode(X0,ok)
    | ~ value(out(n1,X0),n0) ),
    inference(clausification,[status(esa)],[or_0_01]) ).

cnf(c29,plain,
    ( value(out(n1,X0),n0)
    | ~ type(X0,not)
    | ~ mode(X0,ok)
    | ~ value(in(n1,X0),n1) ),
    inference(clausification,[status(esa)],[not_1_0_fw]) ).

cnf(c32,plain,
    ( type(and1(X0),and)
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_and1]) ).

cnf(c33,plain,
    ( type(and2(X0),and)
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_and2]) ).

cnf(c34,plain,
    ( type(not1(X0),not)
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_not1]) ).

cnf(c35,plain,
    ( type(or1(X0),or)
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_or1]) ).

cnf(c36,plain,
    ( connection(in(n1,X0),in(n1,or1(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_in1_in1or1]) ).

cnf(c37,plain,
    ( connection(in(n2,X0),in(n2,or1(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_in2_in2or1]) ).

cnf(c38,plain,
    ( connection(in(n1,X0),in(n1,and2(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_in1_in1and2]) ).

cnf(c39,plain,
    ( connection(in(n2,X0),in(n2,and2(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_in2_in2and2]) ).

cnf(c40,plain,
    ( connection(out(s,X0),out(n1,and1(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_outs_out1and1]) ).

cnf(c41,plain,
    ( connection(out(c,X0),out(n1,and2(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_outc_out1and2]) ).

cnf(c42,plain,
    ( connection(out(n1,or1(X0)),in(n1,and1(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_out1or1_in1_and1]) ).

cnf(c43,plain,
    ( connection(out(n1,and2(X0)),in(n1,not1(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_out1and2_in1not1]) ).

cnf(c44,plain,
    ( connection(out(n1,not1(X0)),in(n2,and1(X0)))
    | ~ type(X0,halfadder) ),
    inference(clausification,[status(esa)],[halfadder_connection_out1not1_in2and1]) ).

cnf(c45,plain,
    ( type(h1(X0),halfadder)
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_halfadder1]) ).

cnf(c46,plain,
    ( type(h2(X0),halfadder)
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_halfadder2]) ).

cnf(c47,plain,
    ( type(or1(X0),or)
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_or1]) ).

cnf(c48,plain,
    ( connection(out(s,h1(X0)),in(n2,h2(X0)))
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_connection_outsh1_in2h2]) ).

cnf(c49,plain,
    ( connection(out(c,h1(X0)),in(n2,or1(X0)))
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_connection_outch1_in2or1]) ).

cnf(c51,plain,
    ( connection(in(n1,X0),in(n1,h2(X0)))
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_connection_in1_in1h2]) ).

cnf(c52,plain,
    ( connection(in(n2,X0),in(n1,h1(X0)))
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_connection_in2_in1h1]) ).

cnf(c53,plain,
    ( connection(in(c,X0),in(n2,h1(X0)))
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_connection_inc_in2h1]) ).

cnf(c54,plain,
    ( connection(out(s,X0),out(s,h2(X0)))
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_connection_outs_outsh2]) ).

cnf(c55,plain,
    ( connection(out(c,X0),out(n1,or1(X0)))
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_connection_outc_out1or1]) ).

cnf(d0,plain,
    connection(out(c,h1(f)),in(n2,or1(f))),
    inference(resolution,[status(thm)],[c49,c0]) ).

cnf(d1,plain,
    type(h1(f),halfadder),
    inference(resolution,[status(thm)],[c45,c0]) ).

cnf(d2,plain,
    connection(out(c,h1(f)),out(n1,and2(h1(f)))),
    inference(resolution,[status(thm)],[c41,d1]) ).

cnf(d3,plain,
    type(and2(h1(f)),and),
    inference(resolution,[status(thm)],[d1,c33]) ).

cnf(d4,plain,
    ( ~ mode(and2(h1(f)),ok)
    | value(out(n1,and2(h1(f))),n1)
    | ~ value(in(n2,and2(h1(f))),n1)
    | ~ value(in(n1,and2(h1(f))),n1) ),
    inference(resolution,[status(thm)],[d3,c19]) ).

cnf(d5,plain,
    ( mode(and2(h1(f)),ok)
    | mode(and2(h1(f)),abnormal) ),
    inference(resolution,[status(thm)],[d3,c17]) ).

cnf(d6,plain,
    mode(and2(h1(f)),ok),
    inference(resolution,[status(thm)],[c6,d5]) ).

cnf(d7,plain,
    ( value(out(n1,and2(h1(f))),n1)
    | ~ value(in(n2,and2(h1(f))),n1)
    | ~ value(in(n1,and2(h1(f))),n1) ),
    inference(resolution,[status(thm)],[d6,d4]) ).

cnf(d8,plain,
    ( ~ connection(in(n2,f),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[c11,c2]) ).

cnf(d9,plain,
    connection(in(n2,f),in(n1,h1(f))),
    inference(resolution,[status(thm)],[c52,c0]) ).

cnf(d10,plain,
    value(in(n1,h1(f)),n1),
    inference(resolution,[status(thm)],[d9,d8]) ).

cnf(d11,plain,
    ( ~ connection(in(n1,h1(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d10,c11]) ).

cnf(d12,plain,
    connection(in(n1,h1(f)),in(n1,and2(h1(f)))),
    inference(resolution,[status(thm)],[c38,d1]) ).

cnf(d13,plain,
    value(in(n1,and2(h1(f))),n1),
    inference(resolution,[status(thm)],[d12,d11]) ).

cnf(d14,plain,
    ( value(out(n1,and2(h1(f))),n1)
    | ~ value(in(n2,and2(h1(f))),n1) ),
    inference(resolution,[status(thm)],[d13,d7]) ).

cnf(d15,plain,
    ( ~ connection(in(c,f),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[c11,c3]) ).

cnf(d16,plain,
    connection(in(c,f),in(n2,h1(f))),
    inference(resolution,[status(thm)],[c53,c0]) ).

cnf(d17,plain,
    value(in(n2,h1(f)),n1),
    inference(resolution,[status(thm)],[d16,d15]) ).

cnf(d18,plain,
    ( ~ connection(in(n2,h1(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d17,c11]) ).

cnf(d19,plain,
    connection(in(n2,h1(f)),in(n2,and2(h1(f)))),
    inference(resolution,[status(thm)],[c39,d1]) ).

cnf(d20,plain,
    value(in(n2,and2(h1(f))),n1),
    inference(resolution,[status(thm)],[d19,d18]) ).

cnf(d21,plain,
    value(out(n1,and2(h1(f))),n1),
    inference(resolution,[status(thm)],[d20,d14]) ).

cnf(d22,plain,
    ( ~ connection(X0,out(n1,and2(h1(f))))
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d21,c12]) ).

cnf(d23,plain,
    value(out(c,h1(f)),n1),
    inference(resolution,[status(thm)],[d22,d2]) ).

cnf(d24,plain,
    ( ~ connection(out(c,h1(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d23,c11]) ).

cnf(d25,plain,
    value(in(n2,or1(f)),n1),
    inference(resolution,[status(thm)],[d24,d0]) ).

cnf(d26,plain,
    ( 'equal$uvalue'(n1,X0)
    | ~ value(in(n2,or1(f)),X0) ),
    inference(resolution,[status(thm)],[d25,c13]) ).

cnf(d27,plain,
    type(or1(f),or),
    inference(resolution,[status(thm)],[c47,c0]) ).

cnf(d28,plain,
    ( ~ mode(or1(f),ok)
    | ~ value(out(n1,or1(f)),n0)
    | value(in(n2,or1(f)),n0) ),
    inference(resolution,[status(thm)],[d27,c27]) ).

cnf(d29,plain,
    ( ~ connection(out(c,f),X0)
    | value(X0,n0) ),
    inference(resolution,[status(thm)],[c11,c5]) ).

cnf(d30,plain,
    connection(out(c,f),out(n1,or1(f))),
    inference(resolution,[status(thm)],[c55,c0]) ).

cnf(d31,plain,
    value(out(n1,or1(f)),n0),
    inference(resolution,[status(thm)],[d30,d29]) ).

cnf(d32,plain,
    ( ~ mode(or1(f),ok)
    | value(in(n2,or1(f)),n0) ),
    inference(resolution,[status(thm)],[d31,d28]) ).

cnf(d33,plain,
    connection(out(s,h1(f)),in(n2,h2(f))),
    inference(resolution,[status(thm)],[c48,c0]) ).

cnf(d34,plain,
    connection(out(s,h1(f)),out(n1,and1(h1(f)))),
    inference(resolution,[status(thm)],[c40,d1]) ).

cnf(d35,plain,
    ( mode(or1(f),ok)
    | mode(or1(f),abnormal) ),
    inference(resolution,[status(thm)],[d27,c17]) ).

cnf(d36,plain,
    type(and1(h1(f)),and),
    inference(resolution,[status(thm)],[d1,c32]) ).

cnf(d37,plain,
    ( mode(and1(h1(f)),ok)
    | mode(and1(h1(f)),abnormal) ),
    inference(resolution,[status(thm)],[d36,c17]) ).

cnf(d38,plain,
    ( ~ mode(or1(f),abnormal)
    | mode(and1(h1(f)),ok) ),
    inference(resolution,[status(thm)],[d37,c7]) ).

cnf(d39,plain,
    ( mode(or1(f),ok)
    | mode(and1(h1(f)),ok) ),
    inference(resolution,[status(thm)],[d38,d35]) ).

cnf(d40,plain,
    ( ~ mode(and1(h1(f)),ok)
    | value(out(n1,and1(h1(f))),n0)
    | ~ value(in(X0,and1(h1(f))),n0) ),
    inference(resolution,[status(thm)],[c18,d36]) ).

cnf(d41,plain,
    connection(out(n1,not1(h1(f))),in(n2,and1(h1(f)))),
    inference(resolution,[status(thm)],[c44,d1]) ).

cnf(d42,plain,
    type(not1(h1(f)),not),
    inference(resolution,[status(thm)],[d1,c34]) ).

cnf(d43,plain,
    ( ~ mode(not1(h1(f)),ok)
    | value(out(n1,not1(h1(f))),n0)
    | ~ value(in(n1,not1(h1(f))),n1) ),
    inference(resolution,[status(thm)],[c29,d42]) ).

cnf(d44,plain,
    connection(out(n1,and2(h1(f))),in(n1,not1(h1(f)))),
    inference(resolution,[status(thm)],[c43,d1]) ).

cnf(d45,plain,
    ( ~ connection(out(n1,and2(h1(f))),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d21,c11]) ).

cnf(d46,plain,
    value(in(n1,not1(h1(f))),n1),
    inference(resolution,[status(thm)],[d45,d44]) ).

cnf(d47,plain,
    ( ~ mode(not1(h1(f)),ok)
    | value(out(n1,not1(h1(f))),n0) ),
    inference(resolution,[status(thm)],[d46,d43]) ).

cnf(d48,plain,
    ( mode(not1(h1(f)),ok)
    | mode(not1(h1(f)),abnormal) ),
    inference(resolution,[status(thm)],[d42,c17]) ).

cnf(d49,plain,
    ( ~ mode(not1(h1(f)),abnormal)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d35,c8]) ).

cnf(d50,plain,
    ( mode(not1(h1(f)),ok)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d49,d48]) ).

cnf(d51,plain,
    ( value(in(n2,or1(f)),n0)
    | mode(not1(h1(f)),ok) ),
    inference(resolution,[status(thm)],[d50,d32]) ).

cnf(d52,plain,
    ( 'equal$uvalue'(n0,X0)
    | ~ value(in(n2,or1(f)),X0)
    | mode(not1(h1(f)),ok) ),
    inference(resolution,[status(thm)],[d51,c13]) ).

cnf(d53,plain,
    ( 'equal$uvalue'(n0,n1)
    | mode(not1(h1(f)),ok) ),
    inference(resolution,[status(thm)],[d25,d52]) ).

cnf(d54,plain,
    mode(not1(h1(f)),ok),
    inference(resolution,[status(thm)],[c14,d53]) ).

cnf(d55,plain,
    value(out(n1,not1(h1(f))),n0),
    inference(resolution,[status(thm)],[d54,d47]) ).

cnf(d56,plain,
    ( ~ connection(out(n1,not1(h1(f))),X0)
    | value(X0,n0) ),
    inference(resolution,[status(thm)],[d55,c11]) ).

cnf(d57,plain,
    value(in(n2,and1(h1(f))),n0),
    inference(resolution,[status(thm)],[d56,d41]) ).

cnf(d58,plain,
    ( ~ mode(and1(h1(f)),ok)
    | value(out(n1,and1(h1(f))),n0) ),
    inference(resolution,[status(thm)],[d57,d40]) ).

cnf(d59,plain,
    ( mode(or1(f),ok)
    | value(out(n1,and1(h1(f))),n0) ),
    inference(resolution,[status(thm)],[d58,d39]) ).

cnf(d60,plain,
    ( ~ connection(X0,out(n1,and1(h1(f))))
    | value(X0,n0)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d59,c12]) ).

cnf(d61,plain,
    ( mode(or1(f),ok)
    | value(out(s,h1(f)),n0) ),
    inference(resolution,[status(thm)],[d60,d34]) ).

cnf(d62,plain,
    ( ~ connection(out(s,h1(f)),X0)
    | value(X0,n0)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d61,c11]) ).

cnf(d63,plain,
    ( mode(or1(f),ok)
    | value(in(n2,h2(f)),n0) ),
    inference(resolution,[status(thm)],[d62,d33]) ).

cnf(d64,plain,
    ( 'equal$uvalue'(n0,X0)
    | ~ value(in(n2,h2(f)),X0)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d63,c13]) ).

cnf(d65,plain,
    type(h2(f),halfadder),
    inference(resolution,[status(thm)],[c46,c0]) ).

cnf(d66,plain,
    connection(in(n2,h2(f)),in(n2,or1(h2(f)))),
    inference(resolution,[status(thm)],[c37,d65]) ).

cnf(d67,plain,
    ( ~ connection(in(n1,f),X0)
    | value(X0,n0) ),
    inference(resolution,[status(thm)],[c11,c1]) ).

cnf(d68,plain,
    connection(in(n1,f),in(n1,h2(f))),
    inference(resolution,[status(thm)],[c51,c0]) ).

cnf(d69,plain,
    value(in(n1,h2(f)),n0),
    inference(resolution,[status(thm)],[d68,d67]) ).

cnf(d70,plain,
    ( ~ connection(in(n1,h2(f)),X0)
    | value(X0,n0) ),
    inference(resolution,[status(thm)],[d69,c11]) ).

cnf(d71,plain,
    connection(in(n1,h2(f)),in(n1,or1(h2(f)))),
    inference(resolution,[status(thm)],[c36,d65]) ).

cnf(d72,plain,
    value(in(n1,or1(h2(f))),n0),
    inference(resolution,[status(thm)],[d71,d70]) ).

cnf(d73,plain,
    ( 'equal$uvalue'(n0,X0)
    | ~ value(in(n1,or1(h2(f))),X0) ),
    inference(resolution,[status(thm)],[d72,c13]) ).

cnf(d74,plain,
    type(or1(h2(f)),or),
    inference(resolution,[status(thm)],[d65,c35]) ).

cnf(d75,plain,
    ( ~ mode(or1(h2(f)),ok)
    | ~ value(out(n1,or1(h2(f))),n1)
    | value(in(n2,or1(h2(f))),n1)
    | value(in(n1,or1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d74,c25]) ).

cnf(d76,plain,
    ( ~ mode(or1(h2(f)),abnormal)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d35,c10]) ).

cnf(d77,plain,
    ( mode(or1(h2(f)),ok)
    | mode(or1(h2(f)),abnormal) ),
    inference(resolution,[status(thm)],[d74,c17]) ).

cnf(d78,plain,
    ( mode(or1(f),ok)
    | mode(or1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d77,d76]) ).

cnf(d79,plain,
    ( value(in(n2,or1(f)),n0)
    | mode(or1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d78,d32]) ).

cnf(d80,plain,
    ( 'equal$uvalue'(n0,X0)
    | ~ value(in(n2,or1(f)),X0)
    | mode(or1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d79,c13]) ).

cnf(d81,plain,
    ( 'equal$uvalue'(n0,n1)
    | mode(or1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d80,d25]) ).

cnf(d82,plain,
    mode(or1(h2(f)),ok),
    inference(resolution,[status(thm)],[c14,d81]) ).

cnf(d83,plain,
    ( ~ value(out(n1,or1(h2(f))),n1)
    | value(in(n2,or1(h2(f))),n1)
    | value(in(n1,or1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d82,d75]) ).

cnf(d84,plain,
    connection(out(n1,or1(h2(f))),in(n1,and1(h2(f)))),
    inference(resolution,[status(thm)],[c42,d65]) ).

cnf(d85,plain,
    type(and1(h2(f)),and),
    inference(resolution,[status(thm)],[d65,c32]) ).

cnf(d86,plain,
    ( mode(and1(h2(f)),ok)
    | mode(and1(h2(f)),abnormal) ),
    inference(resolution,[status(thm)],[d85,c17]) ).

cnf(d87,plain,
    ( ~ mode(or1(f),abnormal)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d86,c9]) ).

cnf(d88,plain,
    ( mode(or1(f),ok)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d87,d35]) ).

cnf(d89,plain,
    ( ~ mode(and1(h2(f)),ok)
    | ~ value(out(n1,and1(h2(f))),n1)
    | value(in(n1,and1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d85,c21]) ).

cnf(d90,plain,
    ( ~ connection(out(s,f),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[c11,c4]) ).

cnf(d91,plain,
    connection(out(s,f),out(s,h2(f))),
    inference(resolution,[status(thm)],[c54,c0]) ).

cnf(d92,plain,
    value(out(s,h2(f)),n1),
    inference(resolution,[status(thm)],[d91,d90]) ).

cnf(d93,plain,
    ( ~ connection(out(s,h2(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d92,c11]) ).

cnf(d94,plain,
    connection(out(s,h2(f)),out(n1,and1(h2(f)))),
    inference(resolution,[status(thm)],[c40,d65]) ).

cnf(d95,plain,
    value(out(n1,and1(h2(f))),n1),
    inference(resolution,[status(thm)],[d94,d93]) ).

cnf(d96,plain,
    ( ~ mode(and1(h2(f)),ok)
    | value(in(n1,and1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d95,d89]) ).

cnf(d97,plain,
    ( mode(or1(f),ok)
    | value(in(n1,and1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d96,d88]) ).

cnf(d98,plain,
    ( ~ connection(X0,in(n1,and1(h2(f))))
    | value(X0,n1)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d97,c12]) ).

cnf(d99,plain,
    ( mode(or1(f),ok)
    | value(out(n1,or1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d98,d84]) ).

cnf(d100,plain,
    ( value(in(n2,or1(h2(f))),n1)
    | value(in(n1,or1(h2(f))),n1)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d99,d83]) ).

cnf(d101,plain,
    ( 'equal$uvalue'(n0,n1)
    | mode(or1(f),ok)
    | value(in(n2,or1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d100,d73]) ).

cnf(d102,plain,
    ( mode(or1(f),ok)
    | value(in(n2,or1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[c14,d101]) ).

cnf(d103,plain,
    ( ~ connection(X0,in(n2,or1(h2(f))))
    | value(X0,n1)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d102,c12]) ).

cnf(d104,plain,
    ( mode(or1(f),ok)
    | value(in(n2,h2(f)),n1) ),
    inference(resolution,[status(thm)],[d103,d66]) ).

cnf(d105,plain,
    ( 'equal$uvalue'(n0,n1)
    | mode(or1(f),ok)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d104,d64]) ).

cnf(d106,plain,
    mode(or1(f),ok),
    inference(resolution,[status(thm)],[c14,d105]) ).

cnf(d107,plain,
    value(in(n2,or1(f)),n0),
    inference(resolution,[status(thm)],[d106,d32]) ).

cnf(d108,plain,
    'equal$uvalue'(n1,n0),
    inference(resolution,[status(thm)],[d107,d26]) ).

cnf(d109,plain,
    $false,
    inference(resolution,[status(thm)],[c15,d108]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.01  % Problem  : HWV007-1 : TPTP v9.3.1. Released v2.1.0.
% 0.00/0.02  % Command  : casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.04/0.30  % Computer : n012.cluster.edu
% 0.04/0.30  % Model    : x86_64 x86_64
% 0.04/0.30  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.04/0.30  % Memory   : 8046.5625MB
% 0.04/0.30  % OS       : Linux 6.8.0-71-generic
% 0.04/0.30  % CPULimit : 300
% 0.04/0.30  % WCLimit  : 300
% 0.04/0.30  % DateTime : Fri Sep 25 15:59:50 UTC 2026
% 0.04/0.30  % CPUTime  : 
% 0.04/0.30  Running casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 16.03/2.31  % SZS status Unsatisfiable for theBenchmark.p
% 16.03/2.31  % SZS output start CNFRefutation for theBenchmark.p
% See solution above
%------------------------------------------------------------------------------