TSTP Solution File: HWV005-1 by PyRes---1.3

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : PyRes---1.3
% Problem  : HWV005-1 : TPTP v8.1.0. Released v2.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s

% Computer : n003.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 19:03:21 EDT 2022

% Result   : Unsatisfiable 0.52s 0.75s
% Output   : Refutation 0.52s
% Verified : 
% SZS Type : ERROR: Analysing output (Could not find formula named input)

% Comments : 
%------------------------------------------------------------------------------
cnf(equal_value1,axiom,
    ~ equal_value(n0,n1),
    input ).

cnf(unique_value,axiom,
    ( ~ value(X10,X11)
    | ~ value(X10,X9)
    | equal_value(X11,X9) ),
    input ).

cnf(h_isa_halfadder,plain,
    type(h,halfadder),
    input ).

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

cnf(c103,plain,
    connection(out(n1,not1(h)),in(n2,and1(h))),
    inference(resolution,status(thm),[halfadder_connection_out1not1_in2and1,h_isa_halfadder]) ).

cnf(value_propagation1,axiom,
    ( ~ connection(X4,X3)
    | ~ value(X4,X2)
    | value(X3,X2) ),
    input ).

cnf(diagnosis_not1,negated_conjecture,
    ~ mode(not1(h),abnormal),
    input ).

cnf(ok_or_abnormal,axiom,
    ( ~ type(X14,X15)
    | mode(X14,ok)
    | mode(X14,abnormal) ),
    input ).

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

cnf(c17,plain,
    type(not1(h),not),
    inference(resolution,status(thm),[halfadder_not1,h_isa_halfadder]) ).

cnf(c18,plain,
    ( mode(not1(h),ok)
    | mode(not1(h),abnormal) ),
    inference(resolution,status(thm),[c17,ok_or_abnormal]) ).

cnf(c31,plain,
    mode(not1(h),ok),
    inference(resolution,status(thm),[c18,diagnosis_not1]) ).

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

cnf(outc_0,plain,
    value(out(c,h),n0),
    input ).

cnf(c7,plain,
    ( ~ connection(out(c,h),X28)
    | value(X28,n0) ),
    inference(resolution,status(thm),[outc_0,value_propagation1]) ).

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

cnf(c84,plain,
    connection(out(c,h),out(n1,and2(h))),
    inference(resolution,status(thm),[halfadder_connection_outc_out1and2,h_isa_halfadder]) ).

cnf(c86,plain,
    value(out(n1,and2(h)),n0),
    inference(resolution,status(thm),[c84,c7]) ).

cnf(c92,plain,
    ( ~ connection(out(n1,and2(h)),X71)
    | value(X71,n0) ),
    inference(resolution,status(thm),[c86,value_propagation1]) ).

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

cnf(c96,plain,
    connection(out(n1,and2(h)),in(n1,not1(h))),
    inference(resolution,status(thm),[halfadder_connection_out1and2_in1not1,h_isa_halfadder]) ).

cnf(c97,plain,
    value(in(n1,not1(h)),n0),
    inference(resolution,status(thm),[c96,c92]) ).

cnf(c101,plain,
    ( ~ mode(not1(h),ok)
    | ~ type(not1(h),not)
    | value(out(n1,not1(h)),n1) ),
    inference(resolution,status(thm),[c97,not_0_1_fw]) ).

cnf(c125,plain,
    ( ~ mode(not1(h),ok)
    | value(out(n1,not1(h)),n1) ),
    inference(resolution,status(thm),[c101,c17]) ).

cnf(c126,plain,
    value(out(n1,not1(h)),n1),
    inference(resolution,status(thm),[c125,c31]) ).

cnf(c133,plain,
    ( ~ connection(out(n1,not1(h)),X84)
    | value(X84,n1) ),
    inference(resolution,status(thm),[c126,value_propagation1]) ).

cnf(c135,plain,
    value(in(n2,and1(h)),n1),
    inference(resolution,status(thm),[c133,c103]) ).

cnf(c138,plain,
    ( ~ value(in(n2,and1(h)),X85)
    | equal_value(X85,n1) ),
    inference(resolution,status(thm),[c135,unique_value]) ).

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

cnf(c85,plain,
    connection(out(n1,or1(h)),in(n1,and1(h))),
    inference(resolution,status(thm),[halfadder_connection_out1or1_in1_and1,h_isa_halfadder]) ).

cnf(diagnosis_or1,negated_conjecture,
    ~ mode(or1(h),abnormal),
    input ).

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

cnf(c19,plain,
    type(or1(h),or),
    inference(resolution,status(thm),[halfadder_or1,h_isa_halfadder]) ).

cnf(c20,plain,
    ( mode(or1(h),ok)
    | mode(or1(h),abnormal) ),
    inference(resolution,status(thm),[c19,ok_or_abnormal]) ).

cnf(c33,plain,
    mode(or1(h),ok),
    inference(resolution,status(thm),[c20,diagnosis_or1]) ).

cnf(or_1x_1,axiom,
    ( ~ mode(X36,ok)
    | ~ type(X36,or)
    | ~ value(in(X37,X36),n1)
    | value(out(n1,X36),n1) ),
    input ).

cnf(in1_1,plain,
    value(in(n1,h),n1),
    input ).

cnf(c0,plain,
    ( ~ connection(in(n1,h),X20)
    | value(X20,n1) ),
    inference(resolution,status(thm),[in1_1,value_propagation1]) ).

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

cnf(c35,plain,
    connection(in(n1,h),in(n1,or1(h))),
    inference(resolution,status(thm),[halfadder_connection_in1_in1or1,h_isa_halfadder]) ).

cnf(c37,plain,
    value(in(n1,or1(h)),n1),
    inference(resolution,status(thm),[c35,c0]) ).

cnf(c41,plain,
    ( ~ mode(or1(h),ok)
    | ~ type(or1(h),or)
    | value(out(n1,or1(h)),n1) ),
    inference(resolution,status(thm),[c37,or_1x_1]) ).

cnf(c106,plain,
    ( ~ mode(or1(h),ok)
    | value(out(n1,or1(h)),n1) ),
    inference(resolution,status(thm),[c41,c19]) ).

cnf(c107,plain,
    value(out(n1,or1(h)),n1),
    inference(resolution,status(thm),[c106,c33]) ).

cnf(c114,plain,
    ( ~ connection(out(n1,or1(h)),X78)
    | value(X78,n1) ),
    inference(resolution,status(thm),[c107,value_propagation1]) ).

cnf(c116,plain,
    value(in(n1,and1(h)),n1),
    inference(resolution,status(thm),[c114,c85]) ).

cnf(c118,plain,
    ( ~ value(in(n1,and1(h)),X79)
    | equal_value(X79,n1) ),
    inference(resolution,status(thm),[c116,unique_value]) ).

cnf(diagnosis_and1,negated_conjecture,
    ~ mode(and1(h),abnormal),
    input ).

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

cnf(c12,plain,
    type(and1(h),and),
    inference(resolution,status(thm),[halfadder_and1,h_isa_halfadder]) ).

cnf(c14,plain,
    ( mode(and1(h),ok)
    | mode(and1(h),abnormal) ),
    inference(resolution,status(thm),[ok_or_abnormal,c12]) ).

cnf(c28,plain,
    mode(and1(h),ok),
    inference(resolution,status(thm),[c14,diagnosis_and1]) ).

cnf(and_0_00,axiom,
    ( ~ mode(X29,ok)
    | ~ type(X29,and)
    | ~ value(out(n1,X29),n0)
    | value(in(n1,X29),n0)
    | value(in(n2,X29),n0) ),
    input ).

cnf(outs_0,plain,
    value(out(s,h),n0),
    input ).

cnf(c2,plain,
    ( ~ connection(out(s,h),X22)
    | value(X22,n0) ),
    inference(resolution,status(thm),[outs_0,value_propagation1]) ).

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

cnf(c73,plain,
    connection(out(s,h),out(n1,and1(h))),
    inference(resolution,status(thm),[halfadder_connection_outs_out1and1,h_isa_halfadder]) ).

cnf(c74,plain,
    value(out(n1,and1(h)),n0),
    inference(resolution,status(thm),[c73,c2]) ).

cnf(c75,plain,
    ( ~ mode(and1(h),ok)
    | ~ type(and1(h),and)
    | value(in(n1,and1(h)),n0)
    | value(in(n2,and1(h)),n0) ),
    inference(resolution,status(thm),[c74,and_0_00]) ).

cnf(c124,plain,
    ( ~ mode(and1(h),ok)
    | value(in(n1,and1(h)),n0)
    | value(in(n2,and1(h)),n0) ),
    inference(resolution,status(thm),[c75,c12]) ).

cnf(c143,plain,
    ( value(in(n1,and1(h)),n0)
    | value(in(n2,and1(h)),n0) ),
    inference(resolution,status(thm),[c124,c28]) ).

cnf(c147,plain,
    ( value(in(n2,and1(h)),n0)
    | equal_value(n0,n1) ),
    inference(resolution,status(thm),[c143,c118]) ).

cnf(c161,plain,
    equal_value(n0,n1),
    inference(resolution,status(thm),[c147,c138]) ).

cnf(c163,plain,
    $false,
    inference(resolution,status(thm),[c161,equal_value1]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.11/0.12  % Problem  : HWV005-1 : TPTP v8.1.0. Released v2.1.0.
% 0.11/0.13  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.34  % Computer : n003.cluster.edu
% 0.12/0.34  % Model    : x86_64 x86_64
% 0.12/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.34  % Memory   : 8042.1875MB
% 0.12/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.34  % CPULimit : 300
% 0.12/0.34  % WCLimit  : 600
% 0.12/0.34  % DateTime : Thu Jun 16 23:25:42 EDT 2022
% 0.12/0.34  % CPUTime  : 
% 0.52/0.75  # Version:  1.3
% 0.52/0.75  # SZS status Unsatisfiable
% 0.52/0.75  # SZS output start CNFRefutation
% See solution above
% 0.52/0.75  
% 0.52/0.75  # Initial clauses    : 42
% 0.52/0.75  # Processed clauses  : 146
% 0.52/0.75  # Factors computed   : 0
% 0.52/0.75  # Resolvents computed: 164
% 0.52/0.75  # Tautologies deleted: 5
% 0.52/0.75  # Forward subsumed   : 32
% 0.52/0.75  # Backward subsumed  : 10
% 0.52/0.75  # -------- CPU Time ---------
% 0.52/0.75  # User time          : 0.378 s
% 0.52/0.75  # System time        : 0.015 s
% 0.52/0.75  # Total time         : 0.393 s
%------------------------------------------------------------------------------