TSTP Solution File: PUZ035-5 by Otter---3.3

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Otter---3.3
% Problem  : PUZ035-5 : TPTP v8.1.0. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : otter-tptp-script %s

% Computer : n016.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  : 300s
% DateTime : Wed Jul 27 13:11:26 EDT 2022

% Result   : Unsatisfiable 1.81s 1.98s
% Output   : Refutation 1.81s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    3
%            Number of leaves      :    2
% Syntax   : Number of clauses     :    6 (   3 unt;   2 nHn;   5 RR)
%            Number of literals    :    9 (   0 equ;   2 neg)
%            Maximal clause size   :    2 (   1 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of predicates  :    2 (   1 usr;   1 prp; 0-1 aty)
%            Number of functors    :    5 (   5 usr;   4 con; 0-2 aty)
%            Number of variables   :    3 (   2 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(7,axiom,
    ( ~ truth(isa(asked,A))
    | ~ truth(isa(other,B)) ),
    file('PUZ035-5.p',unknown),
    [] ).

cnf(9,axiom,
    ( truth(isa(A,knight))
    | truth(isa(A,knave)) ),
    file('PUZ035-5.p',unknown),
    [] ).

cnf(11,plain,
    ( truth(isa(other,knave))
    | truth(isa(asked,knight)) ),
    inference(hyper,[status(thm)],[9,7,9]),
    [iquote('hyper,9,7,9')] ).

cnf(19,plain,
    truth(isa(asked,knight)),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[11,7,9])]),
    [iquote('hyper,11,7,9,factor_simp')] ).

cnf(20,plain,
    truth(isa(other,knave)),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[11,7,9])]),
    [iquote('hyper,11,7,9,factor_simp')] ).

cnf(24,plain,
    $false,
    inference(hyper,[status(thm)],[20,7,19]),
    [iquote('hyper,20,7,19')] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem  : PUZ035-5 : TPTP v8.1.0. Released v2.0.0.
% 0.07/0.13  % Command  : otter-tptp-script %s
% 0.12/0.33  % Computer : n016.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  : 300
% 0.12/0.33  % DateTime : Wed Jul 27 02:08:52 EDT 2022
% 0.12/0.34  % CPUTime  : 
% 1.81/1.98  ----- Otter 3.3f, August 2004 -----
% 1.81/1.98  The process was started by sandbox2 on n016.cluster.edu,
% 1.81/1.98  Wed Jul 27 02:08:52 2022
% 1.81/1.98  The command was "./otter".  The process ID is 17097.
% 1.81/1.98  
% 1.81/1.98  set(prolog_style_variables).
% 1.81/1.98  set(auto).
% 1.81/1.98     dependent: set(auto1).
% 1.81/1.98     dependent: set(process_input).
% 1.81/1.98     dependent: clear(print_kept).
% 1.81/1.98     dependent: clear(print_new_demod).
% 1.81/1.98     dependent: clear(print_back_demod).
% 1.81/1.98     dependent: clear(print_back_sub).
% 1.81/1.98     dependent: set(control_memory).
% 1.81/1.98     dependent: assign(max_mem, 12000).
% 1.81/1.98     dependent: assign(pick_given_ratio, 4).
% 1.81/1.98     dependent: assign(stats_level, 1).
% 1.81/1.98     dependent: assign(max_seconds, 10800).
% 1.81/1.98  clear(print_given).
% 1.81/1.98  
% 1.81/1.98  list(usable).
% 1.81/1.98  0 [] truth(isa(P,knight))|truth(isa(P,knave)).
% 1.81/1.98  0 [] -truth(isa(P,knight))| -truth(isa(P,knave)).
% 1.81/1.98  0 [] truth(S)| -truth(isa(P,knight))| -says(P,S).
% 1.81/1.98  0 [] truth(isa(P,knight))| -truth(S)| -says(P,S).
% 1.81/1.98  0 [] truth(A)|truth(B)| -truth(or(A,B)).
% 1.81/1.98  0 [] truth(or(A,B))| -truth(A).
% 1.81/1.98  0 [] truth(or(A,B))| -truth(B).
% 1.81/1.98  0 [] says(asked,or(isa(asked,knight),isa(other,knight))).
% 1.81/1.98  0 [] -truth(isa(asked,X))| -truth(isa(other,Y)).
% 1.81/1.98  end_of_list.
% 1.81/1.98  
% 1.81/1.98  SCAN INPUT: prop=0, horn=0, equality=0, symmetry=0, max_lits=3.
% 1.81/1.98  
% 1.81/1.98  This is a non-Horn set without equality.  The strategy will
% 1.81/1.98  be ordered hyper_res, unit deletion, and factoring, with
% 1.81/1.98  satellites in sos and with nuclei in usable.
% 1.81/1.98  
% 1.81/1.98     dependent: set(hyper_res).
% 1.81/1.98     dependent: set(factor).
% 1.81/1.98     dependent: set(unit_deletion).
% 1.81/1.98  
% 1.81/1.98  ------------> process usable:
% 1.81/1.98  ** KEPT (pick-wt=8): 1 [] -truth(isa(A,knight))| -truth(isa(A,knave)).
% 1.81/1.98  ** KEPT (pick-wt=9): 2 [] truth(A)| -truth(isa(B,knight))| -says(B,A).
% 1.81/1.98  ** KEPT (pick-wt=9): 3 [] truth(isa(A,knight))| -truth(B)| -says(A,B).
% 1.81/1.98  ** KEPT (pick-wt=8): 4 [] truth(A)|truth(B)| -truth(or(A,B)).
% 1.81/1.98  ** KEPT (pick-wt=6): 5 [] truth(or(A,B))| -truth(A).
% 1.81/1.98  ** KEPT (pick-wt=6): 6 [] truth(or(A,B))| -truth(B).
% 1.81/1.98  ** KEPT (pick-wt=8): 7 [] -truth(isa(asked,A))| -truth(isa(other,B)).
% 1.81/1.98  
% 1.81/1.98  ------------> process sos:
% 1.81/1.98  ** KEPT (pick-wt=8): 9 [] truth(isa(A,knight))|truth(isa(A,knave)).
% 1.81/1.98  ** KEPT (pick-wt=9): 10 [] says(asked,or(isa(asked,knight),isa(other,knight))).
% 1.81/1.98  
% 1.81/1.98  ======= end of input processing =======
% 1.81/1.98  
% 1.81/1.98  =========== start of search ===========
% 1.81/1.98  
% 1.81/1.98  -------- PROOF -------- 
% 1.81/1.98  
% 1.81/1.98  -----> EMPTY CLAUSE at   0.00 sec ----> 24 [hyper,20,7,19] $F.
% 1.81/1.98  
% 1.81/1.98  Length of proof is 3.  Level of proof is 2.
% 1.81/1.98  
% 1.81/1.98  ---------------- PROOF ----------------
% 1.81/1.98  % SZS status Unsatisfiable
% 1.81/1.98  % SZS output start Refutation
% See solution above
% 1.81/1.98  ------------ end of proof -------------
% 1.81/1.98  
% 1.81/1.98  
% 1.81/1.98  Search stopped by max_proofs option.
% 1.81/1.98  
% 1.81/1.98  
% 1.81/1.98  Search stopped by max_proofs option.
% 1.81/1.98  
% 1.81/1.98  ============ end of search ============
% 1.81/1.98  
% 1.81/1.98  -------------- statistics -------------
% 1.81/1.98  clauses given                  4
% 1.81/1.98  clauses generated             33
% 1.81/1.98  clauses kept                  23
% 1.81/1.98  clauses forward subsumed      18
% 1.81/1.98  clauses back subsumed          4
% 1.81/1.98  Kbytes malloced              976
% 1.81/1.98  
% 1.81/1.98  ----------- times (seconds) -----------
% 1.81/1.98  user CPU time          0.00          (0 hr, 0 min, 0 sec)
% 1.81/1.98  system CPU time        0.00          (0 hr, 0 min, 0 sec)
% 1.81/1.98  wall-clock time        1             (0 hr, 0 min, 1 sec)
% 1.81/1.98  
% 1.81/1.98  That finishes the proof of the theorem.
% 1.81/1.98  
% 1.81/1.98  Process 17097 finished Wed Jul 27 02:08:53 2022
% 1.81/1.98  Otter interrupted
% 1.81/1.98  PROOF FOUND
%------------------------------------------------------------------------------