↑ Up

LisaST---0.9.UNS-CRf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : LisaST---0.9
% Problem  : HWV006-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 : n019.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 28.01s 4.01s
% Output   : CNFRefutation 28.01s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   28
%            Number of leaves      :   48
% Syntax   : Number of clauses     :  220 (  88 unt;  26 nHn; 220 RR)
%            Number of literals    :  408 (   0 equ; 180 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   :  112 (  10 sgn)

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

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

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

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_or1_not1h2,negated_conjecture,
    ( ~ mode(not1(h2(f)),abnormal)
    | ~ mode(or1(f),abnormal) ) ).

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

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

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

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

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

cnf(diagnosis_and1h1,negated_conjecture,
    ~ mode(and1(h1(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_x1,axiom,
    ( value(in(n2,X0),n1)
    | ~ value(out(n1,X0),n1)
    | ~ type(X0,and)
    | ~ mode(X0,ok) ) ).

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

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

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

cnf(not_1_0_bw,axiom,
    ( value(in(n1,X0),n0)
    | ~ value(out(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_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_outch2_in1or1,axiom,
    ( connection(out(c,h2(X0)),in(n1,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),n1),
    inference(clausification,[status(esa)],[in1_1]) ).

cnf(c2,plain,
    value(in(n2,f),n0),
    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(not1(h2(f)),abnormal)
    | ~ mode(or1(f),abnormal) ),
    inference(clausification,[status(esa)],[diagnosis_or1_not1h2]) ).

cnf(c7,plain,
    ~ mode(and2(h2(f)),abnormal),
    inference(clausification,[status(esa)],[diagnosis_and2]) ).

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

cnf(c9,plain,
    ~ mode(or1(h1(f)),abnormal),
    inference(clausification,[status(esa)],[diagnosis_or1h1]) ).

cnf(c10,plain,
    ~ mode(not1(h1(f)),abnormal),
    inference(clausification,[status(esa)],[diagnosis_not1h1]) ).

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

cnf(c12,plain,
    ~ mode(and1(h1(f)),abnormal),
    inference(clausification,[status(esa)],[diagnosis_and1h1]) ).

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

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

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

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

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

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

cnf(c20,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(c21,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(c24,plain,
    ( value(in(n2,X0),n1)
    | ~ type(X0,and)
    | ~ mode(X0,ok)
    | ~ value(out(n1,X0),n1) ),
    inference(clausification,[status(esa)],[and_1_x1]) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cnf(c52,plain,
    ( connection(out(c,h2(X0)),in(n1,or1(X0)))
    | ~ type(X0,fulladder) ),
    inference(clausification,[status(esa)],[fulladder_connection_outch2_in1or1]) ).

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

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

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

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

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

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

cnf(d1,plain,
    connection(out(n1,and2(h2(f))),in(n1,not1(h2(f)))),
    inference(resolution,[status(thm)],[c45,d0]) ).

cnf(d2,plain,
    type(and2(h2(f)),and),
    inference(resolution,[status(thm)],[d0,c35]) ).

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

cnf(d4,plain,
    ( mode(and2(h2(f)),ok)
    | mode(and2(h2(f)),abnormal) ),
    inference(resolution,[status(thm)],[d2,c19]) ).

cnf(d5,plain,
    mode(and2(h2(f)),ok),
    inference(resolution,[status(thm)],[c7,d4]) ).

cnf(d6,plain,
    ( value(out(n1,and2(h2(f))),n1)
    | ~ value(in(n2,and2(h2(f))),n1)
    | ~ value(in(n1,and2(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d5,d3]) ).

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

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

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

cnf(d10,plain,
    ( ~ connection(in(n1,h2(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d9,c13]) ).

cnf(d11,plain,
    connection(in(n1,h2(f)),in(n1,and2(h2(f)))),
    inference(resolution,[status(thm)],[c40,d0]) ).

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

cnf(d13,plain,
    ( value(out(n1,and2(h2(f))),n1)
    | ~ value(in(n2,and2(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d12,d6]) ).

cnf(d14,plain,
    connection(in(n2,h2(f)),in(n2,and2(h2(f)))),
    inference(resolution,[status(thm)],[c41,d0]) ).

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

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

cnf(d17,plain,
    connection(out(s,h1(f)),out(n1,and1(h1(f)))),
    inference(resolution,[status(thm)],[c42,d16]) ).

cnf(d18,plain,
    type(and1(h1(f)),and),
    inference(resolution,[status(thm)],[d16,c34]) ).

cnf(d19,plain,
    ( ~ mode(and1(h1(f)),ok)
    | value(out(n1,and1(h1(f))),n1)
    | ~ value(in(n2,and1(h1(f))),n1)
    | ~ value(in(n1,and1(h1(f))),n1) ),
    inference(resolution,[status(thm)],[d18,c21]) ).

cnf(d20,plain,
    ( mode(and1(h1(f)),ok)
    | mode(and1(h1(f)),abnormal) ),
    inference(resolution,[status(thm)],[d18,c19]) ).

cnf(d21,plain,
    mode(and1(h1(f)),ok),
    inference(resolution,[status(thm)],[c12,d20]) ).

cnf(d22,plain,
    ( value(out(n1,and1(h1(f))),n1)
    | ~ value(in(n2,and1(h1(f))),n1)
    | ~ value(in(n1,and1(h1(f))),n1) ),
    inference(resolution,[status(thm)],[d21,d19]) ).

cnf(d23,plain,
    connection(out(n1,or1(h1(f))),in(n1,and1(h1(f)))),
    inference(resolution,[status(thm)],[c44,d16]) ).

cnf(d24,plain,
    type(or1(h1(f)),or),
    inference(resolution,[status(thm)],[d16,c37]) ).

cnf(d25,plain,
    ( ~ mode(or1(h1(f)),ok)
    | value(out(n1,or1(h1(f))),n1)
    | ~ value(in(X0,or1(h1(f))),n1) ),
    inference(resolution,[status(thm)],[c25,d24]) ).

cnf(d26,plain,
    ( mode(or1(h1(f)),ok)
    | mode(or1(h1(f)),abnormal) ),
    inference(resolution,[status(thm)],[d24,c19]) ).

cnf(d27,plain,
    mode(or1(h1(f)),ok),
    inference(resolution,[status(thm)],[c9,d26]) ).

cnf(d28,plain,
    ( value(out(n1,or1(h1(f))),n1)
    | ~ value(in(X0,or1(h1(f))),n1) ),
    inference(resolution,[status(thm)],[d27,d25]) ).

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

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

cnf(d31,plain,
    value(in(n2,h1(f)),n1),
    inference(resolution,[status(thm)],[d30,d29]) ).

cnf(d32,plain,
    ( ~ connection(in(n2,h1(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d31,c13]) ).

cnf(d33,plain,
    connection(in(n2,h1(f)),in(n2,or1(h1(f)))),
    inference(resolution,[status(thm)],[c39,d16]) ).

cnf(d34,plain,
    value(in(n2,or1(h1(f))),n1),
    inference(resolution,[status(thm)],[d33,d32]) ).

cnf(d35,plain,
    value(out(n1,or1(h1(f))),n1),
    inference(resolution,[status(thm)],[d34,d28]) ).

cnf(d36,plain,
    ( ~ connection(out(n1,or1(h1(f))),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d35,c13]) ).

cnf(d37,plain,
    value(in(n1,and1(h1(f))),n1),
    inference(resolution,[status(thm)],[d36,d23]) ).

cnf(d38,plain,
    ( value(out(n1,and1(h1(f))),n1)
    | ~ value(in(n2,and1(h1(f))),n1) ),
    inference(resolution,[status(thm)],[d37,d22]) ).

cnf(d39,plain,
    connection(out(n1,not1(h1(f))),in(n2,and1(h1(f)))),
    inference(resolution,[status(thm)],[c46,d16]) ).

cnf(d40,plain,
    type(not1(h1(f)),not),
    inference(resolution,[status(thm)],[d16,c36]) ).

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

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

cnf(d43,plain,
    mode(not1(h1(f)),ok),
    inference(resolution,[status(thm)],[c10,d42]) ).

cnf(d44,plain,
    ( value(out(n1,not1(h1(f))),n1)
    | ~ value(in(n1,not1(h1(f))),n0) ),
    inference(resolution,[status(thm)],[d43,d41]) ).

cnf(d45,plain,
    connection(out(n1,and2(h1(f))),in(n1,not1(h1(f)))),
    inference(resolution,[status(thm)],[c45,d16]) ).

cnf(d46,plain,
    ( ~ connection(in(n2,f),X0)
    | value(X0,n0) ),
    inference(resolution,[status(thm)],[c13,c2]) ).

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

cnf(d48,plain,
    value(in(n1,h1(f)),n0),
    inference(resolution,[status(thm)],[d47,d46]) ).

cnf(d49,plain,
    ( ~ connection(in(n1,h1(f)),X0)
    | value(X0,n0) ),
    inference(resolution,[status(thm)],[d48,c13]) ).

cnf(d50,plain,
    connection(in(n1,h1(f)),in(n1,and2(h1(f)))),
    inference(resolution,[status(thm)],[c40,d16]) ).

cnf(d51,plain,
    value(in(n1,and2(h1(f))),n0),
    inference(resolution,[status(thm)],[d50,d49]) ).

cnf(d52,plain,
    type(and2(h1(f)),and),
    inference(resolution,[status(thm)],[d16,c35]) ).

cnf(d53,plain,
    ( ~ mode(and2(h1(f)),ok)
    | value(out(n1,and2(h1(f))),n0)
    | ~ value(in(X0,and2(h1(f))),n0) ),
    inference(resolution,[status(thm)],[d52,c20]) ).

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

cnf(d55,plain,
    mode(and2(h1(f)),ok),
    inference(resolution,[status(thm)],[c11,d54]) ).

cnf(d56,plain,
    ( value(out(n1,and2(h1(f))),n0)
    | ~ value(in(X0,and2(h1(f))),n0) ),
    inference(resolution,[status(thm)],[d55,d53]) ).

cnf(d57,plain,
    value(out(n1,and2(h1(f))),n0),
    inference(resolution,[status(thm)],[d56,d51]) ).

cnf(d58,plain,
    ( ~ connection(out(n1,and2(h1(f))),X0)
    | value(X0,n0) ),
    inference(resolution,[status(thm)],[d57,c13]) ).

cnf(d59,plain,
    value(in(n1,not1(h1(f))),n0),
    inference(resolution,[status(thm)],[d58,d45]) ).

cnf(d60,plain,
    value(out(n1,not1(h1(f))),n1),
    inference(resolution,[status(thm)],[d59,d44]) ).

cnf(d61,plain,
    ( ~ connection(out(n1,not1(h1(f))),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d60,c13]) ).

cnf(d62,plain,
    value(in(n2,and1(h1(f))),n1),
    inference(resolution,[status(thm)],[d61,d39]) ).

cnf(d63,plain,
    value(out(n1,and1(h1(f))),n1),
    inference(resolution,[status(thm)],[d62,d38]) ).

cnf(d64,plain,
    ( ~ connection(X0,out(n1,and1(h1(f))))
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d63,c14]) ).

cnf(d65,plain,
    value(out(s,h1(f)),n1),
    inference(resolution,[status(thm)],[d64,d17]) ).

cnf(d66,plain,
    ( ~ connection(out(s,h1(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d65,c13]) ).

cnf(d67,plain,
    value(in(n2,h2(f)),n1),
    inference(resolution,[status(thm)],[d66,d15]) ).

cnf(d68,plain,
    ( ~ connection(in(n2,h2(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d67,c13]) ).

cnf(d69,plain,
    value(in(n2,and2(h2(f))),n1),
    inference(resolution,[status(thm)],[d68,d14]) ).

cnf(d70,plain,
    value(out(n1,and2(h2(f))),n1),
    inference(resolution,[status(thm)],[d69,d13]) ).

cnf(d71,plain,
    ( ~ connection(out(n1,and2(h2(f))),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d70,c13]) ).

cnf(d72,plain,
    value(in(n1,not1(h2(f))),n1),
    inference(resolution,[status(thm)],[d71,d1]) ).

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

cnf(d74,plain,
    type(not1(h2(f)),not),
    inference(resolution,[status(thm)],[d0,c36]) ).

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

cnf(d76,plain,
    connection(out(c,h2(f)),out(n1,and2(h2(f)))),
    inference(resolution,[status(thm)],[c43,d0]) ).

cnf(d77,plain,
    connection(out(c,h2(f)),in(n1,or1(f))),
    inference(resolution,[status(thm)],[c52,c0]) ).

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

cnf(d79,plain,
    ( mode(or1(f),ok)
    | mode(or1(f),abnormal) ),
    inference(resolution,[status(thm)],[d78,c19]) ).

cnf(d80,plain,
    ( ~ mode(not1(h2(f)),abnormal)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d79,c6]) ).

cnf(d81,plain,
    ( mode(not1(h2(f)),ok)
    | mode(not1(h2(f)),abnormal) ),
    inference(resolution,[status(thm)],[d74,c19]) ).

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

cnf(d83,plain,
    ( ~ mode(or1(f),ok)
    | ~ value(out(n1,or1(f)),n0)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[status(thm)],[d78,c28]) ).

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

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

cnf(d86,plain,
    value(out(n1,or1(f)),n0),
    inference(resolution,[status(thm)],[d85,d84]) ).

cnf(d87,plain,
    ( ~ mode(or1(f),ok)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[status(thm)],[d86,d83]) ).

cnf(d88,plain,
    ( mode(not1(h2(f)),ok)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[status(thm)],[d87,d82]) ).

cnf(d89,plain,
    ( ~ connection(X0,in(n1,or1(f)))
    | value(X0,n0)
    | mode(not1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d88,c14]) ).

cnf(d90,plain,
    ( mode(not1(h2(f)),ok)
    | value(out(c,h2(f)),n0) ),
    inference(resolution,[status(thm)],[d89,d77]) ).

cnf(d91,plain,
    ( ~ connection(out(c,h2(f)),X0)
    | value(X0,n0)
    | mode(not1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d90,c13]) ).

cnf(d92,plain,
    ( mode(not1(h2(f)),ok)
    | value(out(n1,and2(h2(f))),n0) ),
    inference(resolution,[status(thm)],[d91,d76]) ).

cnf(d93,plain,
    ( 'equal$uvalue'(n0,X0)
    | ~ value(out(n1,and2(h2(f))),X0)
    | mode(not1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d92,c15]) ).

cnf(d94,plain,
    ( 'equal$uvalue'(n0,n1)
    | mode(not1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d93,d70]) ).

cnf(d95,plain,
    mode(not1(h2(f)),ok),
    inference(resolution,[status(thm)],[c16,d94]) ).

cnf(d96,plain,
    ( ~ value(out(n1,not1(h2(f))),n1)
    | value(in(n1,not1(h2(f))),n0) ),
    inference(resolution,[status(thm)],[d95,d75]) ).

cnf(d97,plain,
    connection(out(n1,not1(h2(f))),in(n2,and1(h2(f)))),
    inference(resolution,[status(thm)],[c46,d0]) ).

cnf(d98,plain,
    type(and1(h2(f)),and),
    inference(resolution,[status(thm)],[d0,c34]) ).

cnf(d99,plain,
    ( ~ mode(and1(h2(f)),ok)
    | ~ value(out(n1,and1(h2(f))),n1)
    | value(in(n2,and1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d98,c24]) ).

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

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

cnf(d102,plain,
    value(out(s,h2(f)),n1),
    inference(resolution,[status(thm)],[d101,d100]) ).

cnf(d103,plain,
    ( ~ connection(out(s,h2(f)),X0)
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d102,c13]) ).

cnf(d104,plain,
    connection(out(s,h2(f)),out(n1,and1(h2(f)))),
    inference(resolution,[status(thm)],[c42,d0]) ).

cnf(d105,plain,
    value(out(n1,and1(h2(f))),n1),
    inference(resolution,[status(thm)],[d104,d103]) ).

cnf(d106,plain,
    ( ~ mode(and1(h2(f)),ok)
    | value(in(n2,and1(h2(f))),n1) ),
    inference(resolution,[status(thm)],[d105,d99]) ).

cnf(d107,plain,
    ( ~ mode(and1(h2(f)),abnormal)
    | mode(or1(f),ok) ),
    inference(resolution,[status(thm)],[d79,c8]) ).

cnf(d108,plain,
    ( mode(and1(h2(f)),ok)
    | mode(and1(h2(f)),abnormal) ),
    inference(resolution,[status(thm)],[d98,c19]) ).

cnf(d109,plain,
    ( mode(or1(f),ok)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d108,d107]) ).

cnf(d110,plain,
    ( mode(and1(h2(f)),ok)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[status(thm)],[d87,d109]) ).

cnf(d111,plain,
    ( ~ connection(X0,in(n1,or1(f)))
    | value(X0,n0)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d110,c14]) ).

cnf(d112,plain,
    ( mode(and1(h2(f)),ok)
    | value(out(c,h2(f)),n0) ),
    inference(resolution,[status(thm)],[d111,d77]) ).

cnf(d113,plain,
    ( ~ connection(out(c,h2(f)),X0)
    | value(X0,n0)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d112,c13]) ).

cnf(d114,plain,
    ( mode(and1(h2(f)),ok)
    | value(out(n1,and2(h2(f))),n0) ),
    inference(resolution,[status(thm)],[d113,d76]) ).

cnf(d115,plain,
    ( 'equal$uvalue'(n0,X0)
    | ~ value(out(n1,and2(h2(f))),X0)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d114,c15]) ).

cnf(d116,plain,
    ( 'equal$uvalue'(n0,n1)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[status(thm)],[d115,d70]) ).

cnf(d117,plain,
    mode(and1(h2(f)),ok),
    inference(resolution,[status(thm)],[c16,d116]) ).

cnf(d118,plain,
    value(in(n2,and1(h2(f))),n1),
    inference(resolution,[status(thm)],[d117,d106]) ).

cnf(d119,plain,
    ( ~ connection(X0,in(n2,and1(h2(f))))
    | value(X0,n1) ),
    inference(resolution,[status(thm)],[d118,c14]) ).

cnf(d120,plain,
    value(out(n1,not1(h2(f))),n1),
    inference(resolution,[status(thm)],[d119,d97]) ).

cnf(d121,plain,
    value(in(n1,not1(h2(f))),n0),
    inference(resolution,[status(thm)],[d120,d96]) ).

cnf(d122,plain,
    'equal$uvalue'(n1,n0),
    inference(resolution,[status(thm)],[d121,d73]) ).

cnf(d123,plain,
    $false,
    inference(resolution,[status(thm)],[c17,d122]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem  : HWV006-1 : TPTP v9.3.1. Released v2.1.0.
% 0.00/0.04  % Command  : casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.11/0.38  % Computer : n019.cluster.edu
% 0.11/0.38  % Model    : x86_64 x86_64
% 0.11/0.38  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.11/0.38  % Memory   : 8046.5625MB
% 0.11/0.38  % OS       : Linux 6.8.0-71-generic
% 0.11/0.38  % CPULimit : 300
% 0.11/0.38  % WCLimit  : 300
% 0.11/0.38  % DateTime : Fri Sep 25 16:00:09 UTC 2026
% 0.11/0.38  % CPUTime  : 
% 0.11/0.38  Running casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 28.01/4.01  % SZS status Unsatisfiable for theBenchmark.p
% 28.01/4.01  % SZS output start CNFRefutation for theBenchmark.p
% See solution above
%------------------------------------------------------------------------------