TSTP Solution File: HWV005-1 by Metis---2.4
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Metis---2.4
% Problem : HWV005-1 : TPTP v8.1.0. Released v2.1.0.
% Transfm : none
% Format : tptp:raw
% Command : metis --show proof --show saturation %s
% Computer : n010.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8042.1875MB
% OS : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit : 600s
% DateTime : Sat Jul 16 18:29:32 EDT 2022
% Result : Unsatisfiable 0.13s 0.38s
% Output : CNFRefutation 0.13s
% Verified :
% SZS Type : Refutation
% Derivation depth : 17
% Number of leaves : 23
% Syntax : Number of clauses : 92 ( 31 unt; 7 nHn; 92 RR)
% Number of literals : 185 ( 0 equ; 90 neg)
% Maximal clause size : 5 ( 2 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 : 35 ( 2 sgn)
% Comments :
%------------------------------------------------------------------------------
cnf(value_propagation1,axiom,
( ~ connection(P1,P2)
| ~ value(P1,V)
| value(P2,V) ) ).
cnf(unique_value,axiom,
( ~ value(P,V1)
| ~ value(P,V2)
| equal_value(V1,V2) ) ).
cnf(equal_value1,axiom,
~ equal_value(n0,n1) ).
cnf(ok_or_abnormal,axiom,
( ~ type(K,Any)
| mode(K,ok)
| mode(K,abnormal) ) ).
cnf(and_11_1,axiom,
( ~ mode(K,ok)
| ~ type(K,and)
| ~ value(in(n1,K),n1)
| ~ value(in(n2,K),n1)
| value(out(n1,K),n1) ) ).
cnf(or_1x_1,axiom,
( ~ mode(K,ok)
| ~ type(K,or)
| ~ value(in(Any,K),n1)
| value(out(n1,K),n1) ) ).
cnf(not_0_1_fw,axiom,
( ~ mode(K,ok)
| ~ type(K,not)
| ~ value(in(n1,K),n0)
| value(out(n1,K),n1) ) ).
cnf(halfadder_and1,axiom,
( ~ type(X,halfadder)
| type(and1(X),and) ) ).
cnf(halfadder_not1,axiom,
( ~ type(X,halfadder)
| type(not1(X),not) ) ).
cnf(halfadder_or1,axiom,
( ~ type(X,halfadder)
| type(or1(X),or) ) ).
cnf(halfadder_connection_in1_in1or1,axiom,
( ~ type(X,halfadder)
| connection(in(n1,X),in(n1,or1(X))) ) ).
cnf(halfadder_connection_outs_out1and1,axiom,
( ~ type(X,halfadder)
| connection(out(s,X),out(n1,and1(X))) ) ).
cnf(halfadder_connection_outc_out1and2,axiom,
( ~ type(X,halfadder)
| connection(out(c,X),out(n1,and2(X))) ) ).
cnf(halfadder_connection_out1or1_in1_and1,axiom,
( ~ type(X,halfadder)
| connection(out(n1,or1(X)),in(n1,and1(X))) ) ).
cnf(halfadder_connection_out1and2_in1not1,axiom,
( ~ type(X,halfadder)
| connection(out(n1,and2(X)),in(n1,not1(X))) ) ).
cnf(halfadder_connection_out1not1_in2and1,axiom,
( ~ type(X,halfadder)
| connection(out(n1,not1(X)),in(n2,and1(X))) ) ).
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(refute_0_0,plain,
( ~ type(h,halfadder)
| connection(out(s,h),out(n1,and1(h))) ),
inference(subst,[],[halfadder_connection_outs_out1and1:[bind(X,$fot(h))]]) ).
cnf(refute_0_1,plain,
connection(out(s,h),out(n1,and1(h))),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_0]) ).
cnf(refute_0_2,plain,
( ~ connection(out(s,h),X_19)
| ~ value(out(s,h),n0)
| value(X_19,n0) ),
inference(subst,[],[value_propagation1:[bind(P1,$fot(out(s,h))),bind(P2,$fot(X_19)),bind(V,$fot(n0))]]) ).
cnf(refute_0_3,plain,
( ~ connection(out(s,h),X_19)
| value(X_19,n0) ),
inference(resolve,[$cnf( value(out(s,h),n0) )],[outs_0,refute_0_2]) ).
cnf(refute_0_4,plain,
( ~ connection(out(s,h),out(n1,and1(h)))
| value(out(n1,and1(h)),n0) ),
inference(subst,[],[refute_0_3:[bind(X_19,$fot(out(n1,and1(h))))]]) ).
cnf(refute_0_5,plain,
value(out(n1,and1(h)),n0),
inference(resolve,[$cnf( connection(out(s,h),out(n1,and1(h))) )],[refute_0_1,refute_0_4]) ).
cnf(refute_0_6,plain,
( ~ value(out(n1,and1(h)),X_66)
| ~ value(out(n1,and1(h)),n0)
| equal_value(n0,X_66) ),
inference(subst,[],[unique_value:[bind(P,$fot(out(n1,and1(h)))),bind(V1,$fot(n0)),bind(V2,$fot(X_66))]]) ).
cnf(refute_0_7,plain,
( ~ value(out(n1,and1(h)),X_66)
| equal_value(n0,X_66) ),
inference(resolve,[$cnf( value(out(n1,and1(h)),n0) )],[refute_0_5,refute_0_6]) ).
cnf(refute_0_8,plain,
( ~ value(out(n1,and1(h)),n1)
| equal_value(n0,n1) ),
inference(subst,[],[refute_0_7:[bind(X_66,$fot(n1))]]) ).
cnf(refute_0_9,plain,
( ~ type(h,halfadder)
| connection(out(n1,not1(h)),in(n2,and1(h))) ),
inference(subst,[],[halfadder_connection_out1not1_in2and1:[bind(X,$fot(h))]]) ).
cnf(refute_0_10,plain,
connection(out(n1,not1(h)),in(n2,and1(h))),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_9]) ).
cnf(refute_0_11,plain,
( ~ connection(out(n1,not1(h)),in(n2,and1(h)))
| ~ value(out(n1,not1(h)),X_20)
| value(in(n2,and1(h)),X_20) ),
inference(subst,[],[value_propagation1:[bind(P1,$fot(out(n1,not1(h)))),bind(P2,$fot(in(n2,and1(h)))),bind(V,$fot(X_20))]]) ).
cnf(refute_0_12,plain,
( ~ value(out(n1,not1(h)),X_20)
| value(in(n2,and1(h)),X_20) ),
inference(resolve,[$cnf( connection(out(n1,not1(h)),in(n2,and1(h))) )],[refute_0_10,refute_0_11]) ).
cnf(refute_0_13,plain,
( ~ value(out(n1,not1(h)),n1)
| value(in(n2,and1(h)),n1) ),
inference(subst,[],[refute_0_12:[bind(X_20,$fot(n1))]]) ).
cnf(refute_0_14,plain,
( ~ type(h,halfadder)
| connection(out(n1,and2(h)),in(n1,not1(h))) ),
inference(subst,[],[halfadder_connection_out1and2_in1not1:[bind(X,$fot(h))]]) ).
cnf(refute_0_15,plain,
connection(out(n1,and2(h)),in(n1,not1(h))),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_14]) ).
cnf(refute_0_16,plain,
( ~ connection(out(n1,and2(h)),P2)
| ~ value(out(n1,and2(h)),n0)
| value(P2,n0) ),
inference(subst,[],[value_propagation1:[bind(P1,$fot(out(n1,and2(h)))),bind(V,$fot(n0))]]) ).
cnf(refute_0_17,plain,
( ~ type(h,halfadder)
| connection(out(c,h),out(n1,and2(h))) ),
inference(subst,[],[halfadder_connection_outc_out1and2:[bind(X,$fot(h))]]) ).
cnf(refute_0_18,plain,
connection(out(c,h),out(n1,and2(h))),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_17]) ).
cnf(refute_0_19,plain,
( ~ connection(out(c,h),X_19)
| ~ value(out(c,h),n0)
| value(X_19,n0) ),
inference(subst,[],[value_propagation1:[bind(P1,$fot(out(c,h))),bind(P2,$fot(X_19)),bind(V,$fot(n0))]]) ).
cnf(refute_0_20,plain,
( ~ connection(out(c,h),X_19)
| value(X_19,n0) ),
inference(resolve,[$cnf( value(out(c,h),n0) )],[outc_0,refute_0_19]) ).
cnf(refute_0_21,plain,
( ~ connection(out(c,h),out(n1,and2(h)))
| value(out(n1,and2(h)),n0) ),
inference(subst,[],[refute_0_20:[bind(X_19,$fot(out(n1,and2(h))))]]) ).
cnf(refute_0_22,plain,
value(out(n1,and2(h)),n0),
inference(resolve,[$cnf( connection(out(c,h),out(n1,and2(h))) )],[refute_0_18,refute_0_21]) ).
cnf(refute_0_23,plain,
( ~ connection(out(n1,and2(h)),P2)
| value(P2,n0) ),
inference(resolve,[$cnf( value(out(n1,and2(h)),n0) )],[refute_0_22,refute_0_16]) ).
cnf(refute_0_24,plain,
( ~ connection(out(n1,and2(h)),in(n1,not1(h)))
| value(in(n1,not1(h)),n0) ),
inference(subst,[],[refute_0_23:[bind(P2,$fot(in(n1,not1(h))))]]) ).
cnf(refute_0_25,plain,
value(in(n1,not1(h)),n0),
inference(resolve,[$cnf( connection(out(n1,and2(h)),in(n1,not1(h))) )],[refute_0_15,refute_0_24]) ).
cnf(refute_0_26,plain,
( ~ mode(not1(h),ok)
| ~ type(not1(h),not)
| ~ value(in(n1,not1(h)),n0)
| value(out(n1,not1(h)),n1) ),
inference(subst,[],[not_0_1_fw:[bind(K,$fot(not1(h)))]]) ).
cnf(refute_0_27,plain,
( ~ mode(not1(h),ok)
| ~ type(not1(h),not)
| value(out(n1,not1(h)),n1) ),
inference(resolve,[$cnf( value(in(n1,not1(h)),n0) )],[refute_0_25,refute_0_26]) ).
cnf(refute_0_28,plain,
( ~ type(h,halfadder)
| type(not1(h),not) ),
inference(subst,[],[halfadder_not1:[bind(X,$fot(h))]]) ).
cnf(refute_0_29,plain,
type(not1(h),not),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_28]) ).
cnf(refute_0_30,plain,
( ~ type(not1(h),not)
| mode(not1(h),abnormal)
| mode(not1(h),ok) ),
inference(subst,[],[ok_or_abnormal:[bind(Any,$fot(not)),bind(K,$fot(not1(h)))]]) ).
cnf(refute_0_31,plain,
( mode(not1(h),abnormal)
| mode(not1(h),ok) ),
inference(resolve,[$cnf( type(not1(h),not) )],[refute_0_29,refute_0_30]) ).
cnf(refute_0_32,plain,
mode(not1(h),ok),
inference(resolve,[$cnf( mode(not1(h),abnormal) )],[refute_0_31,diagnosis_not1]) ).
cnf(refute_0_33,plain,
( ~ type(not1(h),not)
| value(out(n1,not1(h)),n1) ),
inference(resolve,[$cnf( mode(not1(h),ok) )],[refute_0_32,refute_0_27]) ).
cnf(refute_0_34,plain,
value(out(n1,not1(h)),n1),
inference(resolve,[$cnf( type(not1(h),not) )],[refute_0_29,refute_0_33]) ).
cnf(refute_0_35,plain,
value(in(n2,and1(h)),n1),
inference(resolve,[$cnf( value(out(n1,not1(h)),n1) )],[refute_0_34,refute_0_13]) ).
cnf(refute_0_36,plain,
( ~ mode(and1(h),ok)
| ~ type(and1(h),and)
| ~ value(in(n1,and1(h)),n1)
| ~ value(in(n2,and1(h)),n1)
| value(out(n1,and1(h)),n1) ),
inference(subst,[],[and_11_1:[bind(K,$fot(and1(h)))]]) ).
cnf(refute_0_37,plain,
( ~ mode(and1(h),ok)
| ~ type(and1(h),and)
| ~ value(in(n1,and1(h)),n1)
| value(out(n1,and1(h)),n1) ),
inference(resolve,[$cnf( value(in(n2,and1(h)),n1) )],[refute_0_35,refute_0_36]) ).
cnf(refute_0_38,plain,
( ~ type(h,halfadder)
| type(and1(h),and) ),
inference(subst,[],[halfadder_and1:[bind(X,$fot(h))]]) ).
cnf(refute_0_39,plain,
type(and1(h),and),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_38]) ).
cnf(refute_0_40,plain,
( ~ type(and1(h),and)
| mode(and1(h),abnormal)
| mode(and1(h),ok) ),
inference(subst,[],[ok_or_abnormal:[bind(Any,$fot(and)),bind(K,$fot(and1(h)))]]) ).
cnf(refute_0_41,plain,
( mode(and1(h),abnormal)
| mode(and1(h),ok) ),
inference(resolve,[$cnf( type(and1(h),and) )],[refute_0_39,refute_0_40]) ).
cnf(refute_0_42,plain,
mode(and1(h),ok),
inference(resolve,[$cnf( mode(and1(h),abnormal) )],[refute_0_41,diagnosis_and1]) ).
cnf(refute_0_43,plain,
( ~ type(and1(h),and)
| ~ value(in(n1,and1(h)),n1)
| value(out(n1,and1(h)),n1) ),
inference(resolve,[$cnf( mode(and1(h),ok) )],[refute_0_42,refute_0_37]) ).
cnf(refute_0_44,plain,
( ~ value(in(n1,and1(h)),n1)
| value(out(n1,and1(h)),n1) ),
inference(resolve,[$cnf( type(and1(h),and) )],[refute_0_39,refute_0_43]) ).
cnf(refute_0_45,plain,
( ~ type(h,halfadder)
| connection(out(n1,or1(h)),in(n1,and1(h))) ),
inference(subst,[],[halfadder_connection_out1or1_in1_and1:[bind(X,$fot(h))]]) ).
cnf(refute_0_46,plain,
connection(out(n1,or1(h)),in(n1,and1(h))),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_45]) ).
cnf(refute_0_47,plain,
( ~ connection(out(n1,or1(h)),in(n1,and1(h)))
| ~ value(out(n1,or1(h)),X_20)
| value(in(n1,and1(h)),X_20) ),
inference(subst,[],[value_propagation1:[bind(P1,$fot(out(n1,or1(h)))),bind(P2,$fot(in(n1,and1(h)))),bind(V,$fot(X_20))]]) ).
cnf(refute_0_48,plain,
( ~ value(out(n1,or1(h)),X_20)
| value(in(n1,and1(h)),X_20) ),
inference(resolve,[$cnf( connection(out(n1,or1(h)),in(n1,and1(h))) )],[refute_0_46,refute_0_47]) ).
cnf(refute_0_49,plain,
( ~ value(out(n1,or1(h)),n1)
| value(in(n1,and1(h)),n1) ),
inference(subst,[],[refute_0_48:[bind(X_20,$fot(n1))]]) ).
cnf(refute_0_50,plain,
( ~ type(h,halfadder)
| connection(in(n1,h),in(n1,or1(h))) ),
inference(subst,[],[halfadder_connection_in1_in1or1:[bind(X,$fot(h))]]) ).
cnf(refute_0_51,plain,
connection(in(n1,h),in(n1,or1(h))),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_50]) ).
cnf(refute_0_52,plain,
( ~ connection(in(n1,h),X_19)
| ~ value(in(n1,h),n1)
| value(X_19,n1) ),
inference(subst,[],[value_propagation1:[bind(P1,$fot(in(n1,h))),bind(P2,$fot(X_19)),bind(V,$fot(n1))]]) ).
cnf(refute_0_53,plain,
( ~ connection(in(n1,h),X_19)
| value(X_19,n1) ),
inference(resolve,[$cnf( value(in(n1,h),n1) )],[in1_1,refute_0_52]) ).
cnf(refute_0_54,plain,
( ~ connection(in(n1,h),in(n1,or1(h)))
| value(in(n1,or1(h)),n1) ),
inference(subst,[],[refute_0_53:[bind(X_19,$fot(in(n1,or1(h))))]]) ).
cnf(refute_0_55,plain,
value(in(n1,or1(h)),n1),
inference(resolve,[$cnf( connection(in(n1,h),in(n1,or1(h))) )],[refute_0_51,refute_0_54]) ).
cnf(refute_0_56,plain,
( ~ mode(or1(h),ok)
| ~ type(or1(h),or)
| ~ value(in(n1,or1(h)),n1)
| value(out(n1,or1(h)),n1) ),
inference(subst,[],[or_1x_1:[bind(Any,$fot(n1)),bind(K,$fot(or1(h)))]]) ).
cnf(refute_0_57,plain,
( ~ mode(or1(h),ok)
| ~ type(or1(h),or)
| value(out(n1,or1(h)),n1) ),
inference(resolve,[$cnf( value(in(n1,or1(h)),n1) )],[refute_0_55,refute_0_56]) ).
cnf(refute_0_58,plain,
( ~ type(h,halfadder)
| type(or1(h),or) ),
inference(subst,[],[halfadder_or1:[bind(X,$fot(h))]]) ).
cnf(refute_0_59,plain,
type(or1(h),or),
inference(resolve,[$cnf( type(h,halfadder) )],[h_isa_halfadder,refute_0_58]) ).
cnf(refute_0_60,plain,
( ~ type(or1(h),or)
| mode(or1(h),abnormal)
| mode(or1(h),ok) ),
inference(subst,[],[ok_or_abnormal:[bind(Any,$fot(or)),bind(K,$fot(or1(h)))]]) ).
cnf(refute_0_61,plain,
( mode(or1(h),abnormal)
| mode(or1(h),ok) ),
inference(resolve,[$cnf( type(or1(h),or) )],[refute_0_59,refute_0_60]) ).
cnf(refute_0_62,plain,
mode(or1(h),ok),
inference(resolve,[$cnf( mode(or1(h),abnormal) )],[refute_0_61,diagnosis_or1]) ).
cnf(refute_0_63,plain,
( ~ type(or1(h),or)
| value(out(n1,or1(h)),n1) ),
inference(resolve,[$cnf( mode(or1(h),ok) )],[refute_0_62,refute_0_57]) ).
cnf(refute_0_64,plain,
value(out(n1,or1(h)),n1),
inference(resolve,[$cnf( type(or1(h),or) )],[refute_0_59,refute_0_63]) ).
cnf(refute_0_65,plain,
value(in(n1,and1(h)),n1),
inference(resolve,[$cnf( value(out(n1,or1(h)),n1) )],[refute_0_64,refute_0_49]) ).
cnf(refute_0_66,plain,
value(out(n1,and1(h)),n1),
inference(resolve,[$cnf( value(in(n1,and1(h)),n1) )],[refute_0_65,refute_0_44]) ).
cnf(refute_0_67,plain,
equal_value(n0,n1),
inference(resolve,[$cnf( value(out(n1,and1(h)),n1) )],[refute_0_66,refute_0_8]) ).
cnf(refute_0_68,plain,
$false,
inference(resolve,[$cnf( equal_value(n0,n1) )],[refute_0_67,equal_value1]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.12 % Problem : HWV005-1 : TPTP v8.1.0. Released v2.1.0.
% 0.10/0.13 % Command : metis --show proof --show saturation %s
% 0.13/0.34 % Computer : n010.cluster.edu
% 0.13/0.34 % Model : x86_64 x86_64
% 0.13/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34 % Memory : 8042.1875MB
% 0.13/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34 % CPULimit : 300
% 0.13/0.34 % WCLimit : 600
% 0.13/0.34 % DateTime : Thu Jun 16 23:20:23 EDT 2022
% 0.13/0.34 % CPUTime :
% 0.13/0.35 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 0.13/0.38 % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.13/0.38
% 0.13/0.38 % SZS output start CNFRefutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 0.13/0.39
%------------------------------------------------------------------------------