%------------------------------------------------------------------------------
% File : LisaST---0.9
% Problem : HWV005-1 : TPTP v9.3.1. Released v2.1.0.
% Transfm : none
% Format : tptp:raw
% Command : casc-portfolio.sh -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% Computer : n014.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 27.75s 8.99s
% Output : CNFRefutation 27.75s
% Verified :
% SZS Type : Refutation
% Derivation depth : 12
% Number of leaves : 23
% Syntax : Number of clauses : 86 ( 39 unt; 5 nHn; 86 RR)
% Number of literals : 158 ( 0 equ; 75 neg)
% Maximal clause size : 5 ( 1 avg)
% Maximal term depth : 3 ( 1 avg)
% Number of predicates : 6 ( 5 usr; 1 prp; 0-2 aty)
% Number of functors : 18 ( 18 usr; 12 con; 0-2 aty)
% Number of variables : 51 ( 6 sgn)
% Comments :
%------------------------------------------------------------------------------
cnf(h_isa_halfadder,hypothesis,
type(h,halfadder) ).
cnf(in1_1,hypothesis,
value(in(n1,h),n1) ).
cnf(outs_0,hypothesis,
value(out(s,h),n0) ).
cnf(outc_0,hypothesis,
value(out(c,h),n0) ).
cnf(diagnosis_and1,negated_conjecture,
~ mode(and1(h),abnormal) ).
cnf(diagnosis_not1,negated_conjecture,
~ mode(not1(h),abnormal) ).
cnf(diagnosis_or1,negated_conjecture,
~ mode(or1(h),abnormal) ).
cnf(value_propagation1,axiom,
( value(X1,X2)
| ~ value(X0,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(ok_or_abnormal,axiom,
( mode(X0,abnormal)
| mode(X0,ok)
| ~ type(X0,X1) ) ).
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(or_1x_1,axiom,
( value(out(n1,X0),n1)
| ~ value(in(X1,X0),n1)
| ~ 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(halfadder_and1,axiom,
( type(and1(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_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(c0,plain,
type(h,halfadder),
inference(clausification,[status(esa)],[h_isa_halfadder]) ).
cnf(c1,plain,
value(in(n1,h),n1),
inference(clausification,[status(esa)],[in1_1]) ).
cnf(c3,plain,
value(out(s,h),n0),
inference(clausification,[status(esa)],[outs_0]) ).
cnf(c4,plain,
value(out(c,h),n0),
inference(clausification,[status(esa)],[outc_0]) ).
cnf(c5,plain,
~ mode(and1(h),abnormal),
inference(clausification,[status(esa)],[diagnosis_and1]) ).
cnf(c6,plain,
~ mode(not1(h),abnormal),
inference(clausification,[status(esa)],[diagnosis_not1]) ).
cnf(c7,plain,
~ mode(or1(h),abnormal),
inference(clausification,[status(esa)],[diagnosis_or1]) ).
cnf(c8,plain,
( value(X2,X1)
| ~ connection(X0,X2)
| ~ value(X0,X1) ),
inference(clausification,[status(esa)],[value_propagation1]) ).
cnf(c10,plain,
( 'equal$uvalue'(X2,X1)
| ~ value(X0,X2)
| ~ value(X0,X1) ),
inference(clausification,[status(esa)],[unique_value]) ).
cnf(c11,plain,
~ 'equal$uvalue'(n0,n1),
inference(clausification,[status(esa)],[equal_value1]) ).
cnf(c14,plain,
( mode(X0,abnormal)
| ~ type(X0,X1)
| mode(X0,ok) ),
inference(clausification,[status(esa)],[ok_or_abnormal]) ).
cnf(c16,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(c20,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(c25,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(c29,plain,
( type(and1(X0),and)
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_and1]) ).
cnf(c31,plain,
( type(not1(X0),not)
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_not1]) ).
cnf(c32,plain,
( type(or1(X0),or)
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_or1]) ).
cnf(c33,plain,
( connection(in(n1,X0),in(n1,or1(X0)))
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_connection_in1_in1or1]) ).
cnf(c37,plain,
( connection(out(s,X0),out(n1,and1(X0)))
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_connection_outs_out1and1]) ).
cnf(c38,plain,
( connection(out(c,X0),out(n1,and2(X0)))
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_connection_outc_out1and2]) ).
cnf(c39,plain,
( connection(out(n1,or1(X0)),in(n1,and1(X0)))
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_connection_out1or1_in1_and1]) ).
cnf(c40,plain,
( connection(out(n1,and2(X0)),in(n1,not1(X0)))
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_connection_out1and2_in1not1]) ).
cnf(c41,plain,
( connection(out(n1,not1(X0)),in(n2,and1(X0)))
| ~ type(X0,halfadder) ),
inference(clausification,[status(esa)],[halfadder_connection_out1not1_in2and1]) ).
cnf(d0,plain,
( ~ connection(out(s,h),X0)
| value(X0,n0) ),
inference(resolution,[status(thm)],[c8,c3]) ).
cnf(d1,plain,
connection(out(s,h),out(n1,and1(h))),
inference(resolution,[status(thm)],[c37,c0]) ).
cnf(d2,plain,
value(out(n1,and1(h)),n0),
inference(resolution,[status(thm)],[d1,d0]) ).
cnf(d3,plain,
( 'equal$uvalue'(n0,X0)
| ~ value(out(n1,and1(h)),X0) ),
inference(resolution,[status(thm)],[d2,c10]) ).
cnf(d4,plain,
type(and1(h),and),
inference(resolution,[status(thm)],[c29,c0]) ).
cnf(d5,plain,
( ~ mode(and1(h),ok)
| value(out(n1,and1(h)),n1)
| ~ value(in(n2,and1(h)),n1)
| ~ value(in(n1,and1(h)),n1) ),
inference(resolution,[status(thm)],[c16,d4]) ).
cnf(d6,plain,
( mode(and1(h),ok)
| mode(and1(h),abnormal) ),
inference(resolution,[status(thm)],[c14,d4]) ).
cnf(d7,plain,
mode(and1(h),ok),
inference(resolution,[status(thm)],[c5,d6]) ).
cnf(d8,plain,
( value(out(n1,and1(h)),n1)
| ~ value(in(n2,and1(h)),n1)
| ~ value(in(n1,and1(h)),n1) ),
inference(resolution,[status(thm)],[d7,d5]) ).
cnf(d9,plain,
connection(out(n1,or1(h)),in(n1,and1(h))),
inference(resolution,[status(thm)],[c39,c0]) ).
cnf(d10,plain,
( ~ connection(in(n1,h),X0)
| value(X0,n1) ),
inference(resolution,[status(thm)],[c8,c1]) ).
cnf(d11,plain,
connection(in(n1,h),in(n1,or1(h))),
inference(resolution,[status(thm)],[c33,c0]) ).
cnf(d12,plain,
value(in(n1,or1(h)),n1),
inference(resolution,[status(thm)],[d11,d10]) ).
cnf(d13,plain,
type(or1(h),or),
inference(resolution,[status(thm)],[c32,c0]) ).
cnf(d14,plain,
( ~ mode(or1(h),ok)
| value(out(n1,or1(h)),n1)
| ~ value(in(X0,or1(h)),n1) ),
inference(resolution,[status(thm)],[c20,d13]) ).
cnf(d15,plain,
( mode(or1(h),ok)
| mode(or1(h),abnormal) ),
inference(resolution,[status(thm)],[d13,c14]) ).
cnf(d16,plain,
mode(or1(h),ok),
inference(resolution,[status(thm)],[c7,d15]) ).
cnf(d17,plain,
( value(out(n1,or1(h)),n1)
| ~ value(in(X0,or1(h)),n1) ),
inference(resolution,[status(thm)],[d16,d14]) ).
cnf(d18,plain,
value(out(n1,or1(h)),n1),
inference(resolution,[status(thm)],[d17,d12]) ).
cnf(d19,plain,
( ~ connection(out(n1,or1(h)),X0)
| value(X0,n1) ),
inference(resolution,[status(thm)],[d18,c8]) ).
cnf(d20,plain,
value(in(n1,and1(h)),n1),
inference(resolution,[status(thm)],[d19,d9]) ).
cnf(d21,plain,
( value(out(n1,and1(h)),n1)
| ~ value(in(n2,and1(h)),n1) ),
inference(resolution,[status(thm)],[d20,d8]) ).
cnf(d22,plain,
connection(out(n1,not1(h)),in(n2,and1(h))),
inference(resolution,[status(thm)],[c41,c0]) ).
cnf(d23,plain,
type(not1(h),not),
inference(resolution,[status(thm)],[c31,c0]) ).
cnf(d24,plain,
( ~ mode(not1(h),ok)
| value(out(n1,not1(h)),n1)
| ~ value(in(n1,not1(h)),n0) ),
inference(resolution,[status(thm)],[c25,d23]) ).
cnf(d25,plain,
( mode(not1(h),ok)
| mode(not1(h),abnormal) ),
inference(resolution,[status(thm)],[d23,c14]) ).
cnf(d26,plain,
mode(not1(h),ok),
inference(resolution,[status(thm)],[c6,d25]) ).
cnf(d27,plain,
( value(out(n1,not1(h)),n1)
| ~ value(in(n1,not1(h)),n0) ),
inference(resolution,[status(thm)],[d26,d24]) ).
cnf(d28,plain,
connection(out(n1,and2(h)),in(n1,not1(h))),
inference(resolution,[status(thm)],[c40,c0]) ).
cnf(d29,plain,
( ~ connection(out(c,h),X0)
| value(X0,n0) ),
inference(resolution,[status(thm)],[c8,c4]) ).
cnf(d30,plain,
connection(out(c,h),out(n1,and2(h))),
inference(resolution,[status(thm)],[c38,c0]) ).
cnf(d31,plain,
value(out(n1,and2(h)),n0),
inference(resolution,[status(thm)],[d30,d29]) ).
cnf(d32,plain,
( ~ connection(out(n1,and2(h)),X0)
| value(X0,n0) ),
inference(resolution,[status(thm)],[d31,c8]) ).
cnf(d33,plain,
value(in(n1,not1(h)),n0),
inference(resolution,[status(thm)],[d32,d28]) ).
cnf(d34,plain,
value(out(n1,not1(h)),n1),
inference(resolution,[status(thm)],[d33,d27]) ).
cnf(d35,plain,
( ~ connection(out(n1,not1(h)),X0)
| value(X0,n1) ),
inference(resolution,[status(thm)],[d34,c8]) ).
cnf(d36,plain,
value(in(n2,and1(h)),n1),
inference(resolution,[status(thm)],[d35,d22]) ).
cnf(d37,plain,
value(out(n1,and1(h)),n1),
inference(resolution,[status(thm)],[d36,d21]) ).
cnf(d38,plain,
'equal$uvalue'(n0,n1),
inference(resolution,[status(thm)],[d37,d3]) ).
cnf(d39,plain,
$false,
inference(resolution,[status(thm)],[c11,d38]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02 % Problem : HWV005-1 : TPTP v9.3.1. Released v2.1.0.
% 0.00/0.03 % Command : casc-portfolio.sh -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.09/5.36 % Computer : n014.cluster.edu
% 0.09/5.36 % Model : x86_64 x86_64
% 0.09/5.36 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.09/5.36 % Memory : 8046.5625MB
% 0.09/5.36 % OS : Linux 6.8.0-71-generic
% 0.09/5.36 % CPULimit : 300
% 0.09/5.36 % WCLimit : 300
% 0.09/5.36 % DateTime : Fri Sep 25 16:00:07 UTC 2026
% 0.09/5.36 % CPUTime :
% 0.09/5.36 Running casc-portfolio.sh -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 27.75/8.99 % SZS status Unsatisfiable for theBenchmark.p
% 27.75/8.99 % SZS output start CNFRefutation for theBenchmark.p
% See solution above
%------------------------------------------------------------------------------