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

View Problem - Process Solution

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

% Computer : n004.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 : Sun Jul 17 22:56:50 EDT 2022

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

% Comments : 
%------------------------------------------------------------------------------
cnf(prove_john_has_10_fingers,negated_conjecture,
    ~ has_parts(john,times(times(n2,n1),n5),fingers),
    input ).

cnf(john_is_a_boy,plain,
    in(john,boy),
    input ).

cnf(in_boy_in_human,plain,
    ( in(X2,human)
    | ~ in(X2,boy) ),
    input ).

cnf(c0,plain,
    in(john,human),
    inference(resolution,status(thm),[in_boy_in_human,john_is_a_boy]) ).

cnf(humans_have_two_arms,plain,
    ( has_parts(X4,n2,arm)
    | ~ in(X4,human) ),
    input ).

cnf(c1,plain,
    has_parts(john,n2,arm),
    inference(resolution,status(thm),[humans_have_two_arms,c0]) ).

cnf(part_inheritance,axiom,
    ( has_parts(X11,times(X13,X12),X14)
    | ~ has_parts(X11,X13,X15)
    | ~ has_parts(object_in(X11,X15,X14,X13,X12),X12,X14) ),
    input ).

cnf(arms_have_one_hand,plain,
    ( has_parts(X10,n1,hand)
    | ~ in(X10,arm) ),
    input ).

cnf(not_part_inheritance,axiom,
    ( in(object_in(X5,X9,X8,X7,X6),X9)
    | has_parts(X5,times(X7,X6),X8)
    | ~ has_parts(X5,X7,X9) ),
    input ).

cnf(c2,plain,
    ( in(object_in(john,arm,X16,n2,X17),arm)
    | has_parts(john,times(n2,X17),X16) ),
    inference(resolution,status(thm),[c1,not_part_inheritance]) ).

cnf(c3,plain,
    ( has_parts(john,times(n2,X18),X19)
    | has_parts(object_in(john,arm,X19,n2,X18),n1,hand) ),
    inference(resolution,status(thm),[c2,arms_have_one_hand]) ).

cnf(c7,plain,
    ( has_parts(john,times(n2,n1),hand)
    | ~ has_parts(john,n2,arm) ),
    inference(resolution,status(thm),[c3,part_inheritance]) ).

cnf(c8,plain,
    has_parts(john,times(n2,n1),hand),
    inference(resolution,status(thm),[c7,c1]) ).

cnf(hands_have_5_fingers,plain,
    ( has_parts(X3,n5,fingers)
    | ~ in(X3,hand) ),
    input ).

cnf(c9,plain,
    ( in(object_in(john,hand,X20,times(n2,n1),X21),hand)
    | has_parts(john,times(times(n2,n1),X21),X20) ),
    inference(resolution,status(thm),[c8,not_part_inheritance]) ).

cnf(c11,plain,
    in(object_in(john,hand,fingers,times(n2,n1),n5),hand),
    inference(resolution,status(thm),[c9,prove_john_has_10_fingers]) ).

cnf(c13,plain,
    has_parts(object_in(john,hand,fingers,times(n2,n1),n5),n5,fingers),
    inference(resolution,status(thm),[c11,hands_have_5_fingers]) ).

cnf(c15,plain,
    ( has_parts(john,times(times(n2,n1),n5),fingers)
    | ~ has_parts(john,times(n2,n1),hand) ),
    inference(resolution,status(thm),[c13,part_inheritance]) ).

cnf(c24,plain,
    has_parts(john,times(times(n2,n1),n5),fingers),
    inference(resolution,status(thm),[c15,c8]) ).

cnf(c26,plain,
    $false,
    inference(resolution,status(thm),[c24,prove_john_has_10_fingers]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : MSC004-1 : TPTP v8.1.0. Released v1.0.0.
% 0.03/0.12  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.13/0.33  % Computer : n004.cluster.edu
% 0.13/0.33  % Model    : x86_64 x86_64
% 0.13/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.33  % Memory   : 8042.1875MB
% 0.13/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.33  % CPULimit : 300
% 0.13/0.33  % WCLimit  : 600
% 0.13/0.33  % DateTime : Fri Jul  1 16:06:38 EDT 2022
% 0.13/0.34  % CPUTime  : 
% 0.19/0.53  # Version:  1.3
% 0.19/0.53  # SZS status Unsatisfiable
% 0.19/0.53  # SZS output start CNFRefutation
% See solution above
% 0.19/0.53  
% 0.19/0.53  # Initial clauses    : 8
% 0.19/0.53  # Processed clauses  : 20
% 0.19/0.53  # Factors computed   : 0
% 0.19/0.53  # Resolvents computed: 28
% 0.19/0.53  # Tautologies deleted: 0
% 0.19/0.53  # Forward subsumed   : 0
% 0.19/0.53  # Backward subsumed  : 2
% 0.19/0.53  # -------- CPU Time ---------
% 0.19/0.53  # User time          : 0.182 s
% 0.19/0.53  # System time        : 0.012 s
% 0.19/0.53  # Total time         : 0.194 s
%------------------------------------------------------------------------------