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

View Problem - Process Solution

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

% Computer : n014.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:22 EDT 2022

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

% Comments : 
%------------------------------------------------------------------------------
cnf(unique_value,axiom,
    ( ~ zero(X2)
    | ~ one(X2) ),
    input ).

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

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

cnf(halfadder_not1,axiom,
    ( ~ halfadder(X14)
    | logic_not(not1(X14)) ),
    input ).

cnf(c3,plain,
    logic_not(not1(h)),
    inference(resolution,status(thm),[halfadder_not1,h_isa_halfadder]) ).

cnf(not_ok_or_abnormal,axiom,
    ( ~ logic_not(X20)
    | not_ok(X20)
    | abnormal(X20) ),
    input ).

cnf(c8,plain,
    ( not_ok(not1(h))
    | abnormal(not1(h)) ),
    inference(resolution,status(thm),[not_ok_or_abnormal,c3]) ).

cnf(c21,plain,
    not_ok(not1(h)),
    inference(resolution,status(thm),[c8,diagnosis_not1]) ).

cnf(not_0_1_fw,axiom,
    ( ~ not_ok(X32)
    | ~ zero(in1(X32))
    | one(out1(X32)) ),
    input ).

cnf(outc_0,plain,
    zero(outc(h)),
    input ).

cnf(value_propagation_zero1,axiom,
    ( ~ connection(X6,X7)
    | ~ zero(X6)
    | zero(X7) ),
    input ).

cnf(halfadder_connection_outc_out1and2,axiom,
    ( ~ halfadder(X42)
    | connection(outc(X42),out1(and2(X42))) ),
    input ).

cnf(c53,plain,
    connection(outc(h),out1(and2(h))),
    inference(resolution,status(thm),[halfadder_connection_outc_out1and2,h_isa_halfadder]) ).

cnf(c57,plain,
    ( ~ zero(outc(h))
    | zero(out1(and2(h))) ),
    inference(resolution,status(thm),[c53,value_propagation_zero1]) ).

cnf(c84,plain,
    zero(out1(and2(h))),
    inference(resolution,status(thm),[c57,outc_0]) ).

cnf(halfadder_connection_out1and2_in1not1,axiom,
    ( ~ halfadder(X44)
    | connection(out1(and2(X44)),in1(not1(X44))) ),
    input ).

cnf(c63,plain,
    connection(out1(and2(h)),in1(not1(h))),
    inference(resolution,status(thm),[halfadder_connection_out1and2_in1not1,h_isa_halfadder]) ).

cnf(c97,plain,
    ( ~ zero(out1(and2(h)))
    | zero(in1(not1(h))) ),
    inference(resolution,status(thm),[c63,value_propagation_zero1]) ).

cnf(c108,plain,
    zero(in1(not1(h))),
    inference(resolution,status(thm),[c97,c84]) ).

cnf(c110,plain,
    ( ~ not_ok(not1(h))
    | one(out1(not1(h))) ),
    inference(resolution,status(thm),[c108,not_0_1_fw]) ).

cnf(c111,plain,
    one(out1(not1(h))),
    inference(resolution,status(thm),[c110,c21]) ).

cnf(value_propagation_one1,axiom,
    ( ~ connection(X8,X9)
    | ~ one(X8)
    | one(X9) ),
    input ).

cnf(halfadder_connection_out1not1_in2and1,axiom,
    ( ~ halfadder(X45)
    | connection(out1(not1(X45)),in2(and1(X45))) ),
    input ).

cnf(c65,plain,
    connection(out1(not1(h)),in2(and1(h))),
    inference(resolution,status(thm),[halfadder_connection_out1not1_in2and1,h_isa_halfadder]) ).

cnf(c100,plain,
    ( ~ one(out1(not1(h)))
    | one(in2(and1(h))) ),
    inference(resolution,status(thm),[c65,value_propagation_one1]) ).

cnf(c117,plain,
    one(in2(and1(h))),
    inference(resolution,status(thm),[c100,c111]) ).

cnf(c120,plain,
    ~ zero(in2(and1(h))),
    inference(resolution,status(thm),[c117,unique_value]) ).

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

cnf(halfadder_or1,axiom,
    ( ~ halfadder(X15)
    | logic_or(or1(X15)) ),
    input ).

cnf(c4,plain,
    logic_or(or1(h)),
    inference(resolution,status(thm),[halfadder_or1,h_isa_halfadder]) ).

cnf(or_ok_or_abnormal,axiom,
    ( ~ logic_or(X19)
    | or_ok(X19)
    | abnormal(X19) ),
    input ).

cnf(c7,plain,
    ( or_ok(or1(h))
    | abnormal(or1(h)) ),
    inference(resolution,status(thm),[or_ok_or_abnormal,c4]) ).

cnf(c18,plain,
    or_ok(or1(h)),
    inference(resolution,status(thm),[c7,diagnosis_or1]) ).

cnf(or_1x_1,axiom,
    ( ~ or_ok(X27)
    | ~ one(in1(X27))
    | one(out1(X27)) ),
    input ).

cnf(in1_1,plain,
    one(in1(h)),
    input ).

cnf(halfadder_connection_in1_in1or1,axiom,
    ( ~ halfadder(X37)
    | connection(in1(X37),in1(or1(X37))) ),
    input ).

cnf(c28,plain,
    connection(in1(h),in1(or1(h))),
    inference(resolution,status(thm),[halfadder_connection_in1_in1or1,h_isa_halfadder]) ).

cnf(c30,plain,
    ( ~ one(in1(h))
    | one(in1(or1(h))) ),
    inference(resolution,status(thm),[c28,value_propagation_one1]) ).

cnf(c59,plain,
    one(in1(or1(h))),
    inference(resolution,status(thm),[c30,in1_1]) ).

cnf(c61,plain,
    ( ~ or_ok(or1(h))
    | one(out1(or1(h))) ),
    inference(resolution,status(thm),[c59,or_1x_1]) ).

cnf(c89,plain,
    one(out1(or1(h))),
    inference(resolution,status(thm),[c61,c18]) ).

cnf(halfadder_connection_out1or1_in1_and1,axiom,
    ( ~ halfadder(X43)
    | connection(out1(or1(X43)),in1(and1(X43))) ),
    input ).

cnf(c54,plain,
    connection(out1(or1(h)),in1(and1(h))),
    inference(resolution,status(thm),[halfadder_connection_out1or1_in1_and1,h_isa_halfadder]) ).

cnf(c81,plain,
    ( ~ one(out1(or1(h)))
    | one(in1(and1(h))) ),
    inference(resolution,status(thm),[c54,value_propagation_one1]) ).

cnf(c104,plain,
    one(in1(and1(h))),
    inference(resolution,status(thm),[c81,c89]) ).

cnf(c105,plain,
    ~ zero(in1(and1(h))),
    inference(resolution,status(thm),[c104,unique_value]) ).

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

cnf(halfadder_and1,axiom,
    ( ~ halfadder(X10)
    | logic_and(and1(X10)) ),
    input ).

cnf(c1,plain,
    logic_and(and1(h)),
    inference(resolution,status(thm),[halfadder_and1,h_isa_halfadder]) ).

cnf(and_ok_or_abnormal,axiom,
    ( ~ logic_and(X18)
    | and_ok(X18)
    | abnormal(X18) ),
    input ).

cnf(c6,plain,
    ( and_ok(and1(h))
    | abnormal(and1(h)) ),
    inference(resolution,status(thm),[and_ok_or_abnormal,c1]) ).

cnf(c14,plain,
    and_ok(and1(h)),
    inference(resolution,status(thm),[c6,diagnosis_and1]) ).

cnf(and_0_00,axiom,
    ( ~ and_ok(X24)
    | ~ zero(out1(X24))
    | zero(in1(X24))
    | zero(in2(X24)) ),
    input ).

cnf(outs_0,plain,
    zero(outs(h)),
    input ).

cnf(halfadder_connection_outs_out1and1,axiom,
    ( ~ halfadder(X41)
    | connection(outs(X41),out1(and1(X41))) ),
    input ).

cnf(c48,plain,
    connection(outs(h),out1(and1(h))),
    inference(resolution,status(thm),[halfadder_connection_outs_out1and1,h_isa_halfadder]) ).

cnf(c51,plain,
    ( ~ zero(outs(h))
    | zero(out1(and1(h))) ),
    inference(resolution,status(thm),[c48,value_propagation_zero1]) ).

cnf(c75,plain,
    zero(out1(and1(h))),
    inference(resolution,status(thm),[c51,outs_0]) ).

cnf(c77,plain,
    ( ~ and_ok(and1(h))
    | zero(in1(and1(h)))
    | zero(in2(and1(h))) ),
    inference(resolution,status(thm),[c75,and_0_00]) ).

cnf(c103,plain,
    ( zero(in1(and1(h)))
    | zero(in2(and1(h))) ),
    inference(resolution,status(thm),[c77,c14]) ).

cnf(c121,plain,
    zero(in2(and1(h))),
    inference(resolution,status(thm),[c103,c105]) ).

cnf(c129,plain,
    $false,
    inference(resolution,status(thm),[c121,c120]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.11/0.12  % Problem  : HWV005-2 : TPTP v8.1.0. Bugfixed v2.7.0.
% 0.11/0.13  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.34  % Computer : n014.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 : Fri Jun 17 08:01:34 EDT 2022
% 0.12/0.34  % CPUTime  : 
% 0.46/0.65  # Version:  1.3
% 0.46/0.65  # SZS status Unsatisfiable
% 0.46/0.65  # SZS output start CNFRefutation
% See solution above
% 0.46/0.65  
% 0.46/0.65  # Initial clauses    : 48
% 0.46/0.65  # Processed clauses  : 133
% 0.46/0.65  # Factors computed   : 0
% 0.46/0.65  # Resolvents computed: 130
% 0.46/0.65  # Tautologies deleted: 4
% 0.46/0.65  # Forward subsumed   : 32
% 0.46/0.65  # Backward subsumed  : 22
% 0.46/0.65  # -------- CPU Time ---------
% 0.46/0.65  # User time          : 0.290 s
% 0.46/0.65  # System time        : 0.019 s
% 0.46/0.65  # Total time         : 0.309 s
%------------------------------------------------------------------------------