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

View Problem - Process Solution

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

% Computer : n024.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 : Mon Jul 18 18:24:08 EDT 2022

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

% Comments : 
%------------------------------------------------------------------------------
cnf(prove_petruchio_has_shaved_lorenzo,negated_conjecture,
    ~ shaved(petruchio,lorenzo),
    input ).

cnf(petruchio,plain,
    member(petruchio),
    input ).

cnf(all_shaved_then_one_shaved,axiom,
    ( ~ shaved(members,X5)
    | ~ member(X4)
    | shaved(X4,X5) ),
    input ).

cnf(lorenzo,plain,
    member(lorenzo),
    input ).

cnf(guido,plain,
    member(guido),
    input ).

cnf(one_shaved_then_all_shaved,axiom,
    ( ~ member(X3)
    | ~ member(X2)
    | ~ shaved(X3,X2)
    | shaved(members,X3) ),
    input ).

cnf(cesare,plain,
    member(cesare),
    input ).

cnf(guido_has_shaved_cesare,plain,
    shaved(guido,cesare),
    input ).

cnf(c0,plain,
    ( ~ member(guido)
    | ~ member(cesare)
    | shaved(members,guido) ),
    inference(resolution,status(thm),[one_shaved_then_all_shaved,guido_has_shaved_cesare]) ).

cnf(c1,plain,
    ( ~ member(guido)
    | shaved(members,guido) ),
    inference(resolution,status(thm),[c0,cesare]) ).

cnf(c2,plain,
    shaved(members,guido),
    inference(resolution,status(thm),[c1,guido]) ).

cnf(c3,plain,
    ( ~ member(X6)
    | shaved(X6,guido) ),
    inference(resolution,status(thm),[c2,all_shaved_then_one_shaved]) ).

cnf(c5,plain,
    shaved(lorenzo,guido),
    inference(resolution,status(thm),[c3,lorenzo]) ).

cnf(c9,plain,
    ( ~ member(lorenzo)
    | ~ member(guido)
    | shaved(members,lorenzo) ),
    inference(resolution,status(thm),[c5,one_shaved_then_all_shaved]) ).

cnf(c14,plain,
    ( ~ member(lorenzo)
    | shaved(members,lorenzo) ),
    inference(resolution,status(thm),[c9,guido]) ).

cnf(c15,plain,
    shaved(members,lorenzo),
    inference(resolution,status(thm),[c14,lorenzo]) ).

cnf(c16,plain,
    ( ~ member(X7)
    | shaved(X7,lorenzo) ),
    inference(resolution,status(thm),[c15,all_shaved_then_one_shaved]) ).

cnf(c19,plain,
    shaved(petruchio,lorenzo),
    inference(resolution,status(thm),[c16,petruchio]) ).

cnf(c25,plain,
    $false,
    inference(resolution,status(thm),[c19,prove_petruchio_has_shaved_lorenzo]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.12  % Problem  : PUZ003-1 : TPTP v8.1.0. Released v1.0.0.
% 0.06/0.12  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.33  % Computer : n024.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit : 300
% 0.12/0.33  % WCLimit  : 600
% 0.12/0.33  % DateTime : Sun May 29 00:15:21 EDT 2022
% 0.12/0.33  % CPUTime  : 
% 0.20/0.53  # Version:  1.3
% 0.20/0.53  # SZS status Unsatisfiable
% 0.20/0.53  # SZS output start CNFRefutation
% See solution above
% 0.20/0.53  
% 0.20/0.53  # Initial clauses    : 8
% 0.20/0.53  # Processed clauses  : 25
% 0.20/0.53  # Factors computed   : 0
% 0.20/0.53  # Resolvents computed: 26
% 0.20/0.53  # Tautologies deleted: 0
% 0.20/0.53  # Forward subsumed   : 1
% 0.20/0.53  # Backward subsumed  : 5
% 0.20/0.53  # -------- CPU Time ---------
% 0.20/0.53  # User time          : 0.179 s
% 0.20/0.53  # System time        : 0.015 s
% 0.20/0.53  # Total time         : 0.194 s
%------------------------------------------------------------------------------