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

View Problem - Process Solution

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

% Computer : n020.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:10 EDT 2022

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

% Comments : 
%------------------------------------------------------------------------------
cnf(prove_knight_husband,negated_conjecture,
    ~ knight(husband),
    input ).

cnf(husband,plain,
    person(husband),
    input ).

cnf(knights_make_true_statements,axiom,
    ( ~ person(X22)
    | ~ a_truth(statement_by(X22))
    | knight(X22) ),
    input ).

cnf(knight_wife_or_truthful_husband,plain,
    ( a_truth(statement_by(husband))
    | knight(wife) ),
    input ).

cnf(knight_wife_means_truthful_husband,plain,
    ( ~ knight(wife)
    | a_truth(statement_by(husband)) ),
    input ).

cnf(c19,plain,
    a_truth(statement_by(husband)),
    inference(resolution,status(thm),[knight_wife_means_truthful_husband,knight_wife_or_truthful_husband]) ).

cnf(c21,plain,
    ( ~ person(husband)
    | knight(husband) ),
    inference(resolution,status(thm),[c19,knights_make_true_statements]) ).

cnf(c22,plain,
    knight(husband),
    inference(resolution,status(thm),[c21,husband]) ).

cnf(c23,plain,
    $false,
    inference(resolution,status(thm),[c22,prove_knight_husband]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.13/0.14  % Problem  : PUZ020-1 : TPTP v8.1.0. Released v1.0.0.
% 0.13/0.14  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.15/0.36  % Computer : n020.cluster.edu
% 0.15/0.36  % Model    : x86_64 x86_64
% 0.15/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.15/0.36  % Memory   : 8042.1875MB
% 0.15/0.36  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.15/0.36  % CPULimit : 300
% 0.15/0.36  % WCLimit  : 600
% 0.15/0.36  % DateTime : Sun May 29 01:24:09 EDT 2022
% 0.15/0.36  % CPUTime  : 
% 0.22/0.56  # Version:  1.3
% 0.22/0.56  # SZS status Unsatisfiable
% 0.22/0.56  # SZS output start CNFRefutation
% See solution above
% 0.22/0.56  
% 0.22/0.56  # Initial clauses    : 28
% 0.22/0.56  # Processed clauses  : 26
% 0.22/0.56  # Factors computed   : 0
% 0.22/0.56  # Resolvents computed: 20
% 0.22/0.56  # Tautologies deleted: 1
% 0.22/0.56  # Forward subsumed   : 3
% 0.22/0.56  # Backward subsumed  : 4
% 0.22/0.56  # -------- CPU Time ---------
% 0.22/0.56  # User time          : 0.178 s
% 0.22/0.56  # System time        : 0.016 s
% 0.22/0.56  # Total time         : 0.195 s
%------------------------------------------------------------------------------