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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Otter---3.3
% Problem  : PUZ035-6 : TPTP v8.1.0. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : otter-tptp-script %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  : 300s
% DateTime : Wed Jul 27 13:11:26 EDT 2022

% Result   : Unsatisfiable 1.81s 1.94s
% 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(8,axiom,
    ( ~ truth(isa(asked,A))
    | ~ truth(isa(other,B)) ),
    file('PUZ035-6.p',unknown),
    [] ).

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

cnf(13,plain,
    ( truth(isa(other,knave))
    | truth(isa(asked,knight)) ),
    inference(hyper,[status(thm)],[10,8,10]),
    [iquote('hyper,10,8,10')] ).

cnf(168,plain,
    truth(isa(asked,knight)),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[13,8,10])]),
    [iquote('hyper,13,8,10,factor_simp')] ).

cnf(173,plain,
    truth(isa(other,knave)),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[13,8,10])]),
    [iquote('hyper,13,8,10,factor_simp')] ).

cnf(190,plain,
    $false,
    inference(hyper,[status(thm)],[173,8,168]),
    [iquote('hyper,173,8,168')] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.08/0.13  % Problem  : PUZ035-6 : TPTP v8.1.0. Released v2.0.0.
% 0.08/0.13  % Command  : otter-tptp-script %s
% 0.14/0.35  % Computer : n014.cluster.edu
% 0.14/0.35  % Model    : x86_64 x86_64
% 0.14/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.35  % Memory   : 8042.1875MB
% 0.14/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.35  % CPULimit : 300
% 0.14/0.35  % WCLimit  : 300
% 0.14/0.35  % DateTime : Wed Jul 27 01:48:54 EDT 2022
% 0.14/0.35  % CPUTime  : 
% 1.75/1.94  ----- Otter 3.3f, August 2004 -----
% 1.75/1.94  The process was started by sandbox on n014.cluster.edu,
% 1.75/1.94  Wed Jul 27 01:48:54 2022
% 1.75/1.94  The command was "./otter".  The process ID is 25332.
% 1.75/1.94  
% 1.75/1.94  set(prolog_style_variables).
% 1.75/1.94  set(auto).
% 1.75/1.94     dependent: set(auto1).
% 1.75/1.94     dependent: set(process_input).
% 1.75/1.94     dependent: clear(print_kept).
% 1.75/1.94     dependent: clear(print_new_demod).
% 1.75/1.94     dependent: clear(print_back_demod).
% 1.75/1.94     dependent: clear(print_back_sub).
% 1.75/1.94     dependent: set(control_memory).
% 1.75/1.94     dependent: assign(max_mem, 12000).
% 1.75/1.94     dependent: assign(pick_given_ratio, 4).
% 1.75/1.94     dependent: assign(stats_level, 1).
% 1.75/1.94     dependent: assign(max_seconds, 10800).
% 1.75/1.94  clear(print_given).
% 1.75/1.94  
% 1.75/1.94  list(usable).
% 1.75/1.94  0 [] truth(isa(P,knight))|truth(isa(P,knave)).
% 1.75/1.94  0 [] -truth(isa(P,knight))| -truth(isa(P,knave)).
% 1.75/1.94  0 [] truth(S)| -truth(isa(P,knight))| -says(P,S).
% 1.75/1.94  0 [] truth(isa(P,knight))| -truth(S)| -says(P,S).
% 1.75/1.94  0 [] truth(A)|truth(B)| -truth(or(A,B)).
% 1.75/1.94  0 [] truth(or(A,B))| -truth(A).
% 1.75/1.94  0 [] truth(or(A,B))| -truth(B).
% 1.75/1.94  0 [] truth(C)|truth(not(C)).
% 1.75/1.94  0 [] -truth(C)| -truth(not(C)).
% 1.75/1.94  0 [] says(asked,not(or(isa(asked,knight),isa(other,knight)))).
% 1.75/1.94  0 [] -truth(isa(asked,X))| -truth(isa(other,Y)).
% 1.75/1.94  end_of_list.
% 1.75/1.94  
% 1.75/1.94  SCAN INPUT: prop=0, horn=0, equality=0, symmetry=0, max_lits=3.
% 1.75/1.94  
% 1.75/1.94  This is a non-Horn set without equality.  The strategy will
% 1.75/1.94  be ordered hyper_res, unit deletion, and factoring, with
% 1.75/1.94  satellites in sos and with nuclei in usable.
% 1.75/1.94  
% 1.75/1.94     dependent: set(hyper_res).
% 1.75/1.94     dependent: set(factor).
% 1.75/1.94     dependent: set(unit_deletion).
% 1.75/1.94  
% 1.75/1.94  ------------> process usable:
% 1.75/1.94  ** KEPT (pick-wt=8): 1 [] -truth(isa(A,knight))| -truth(isa(A,knave)).
% 1.75/1.94  ** KEPT (pick-wt=9): 2 [] truth(A)| -truth(isa(B,knight))| -says(B,A).
% 1.75/1.94  ** KEPT (pick-wt=9): 3 [] truth(isa(A,knight))| -truth(B)| -says(A,B).
% 1.75/1.94  ** KEPT (pick-wt=8): 4 [] truth(A)|truth(B)| -truth(or(A,B)).
% 1.75/1.94  ** KEPT (pick-wt=6): 5 [] truth(or(A,B))| -truth(A).
% 1.75/1.94  ** KEPT (pick-wt=6): 6 [] truth(or(A,B))| -truth(B).
% 1.75/1.94  ** KEPT (pick-wt=5): 7 [] -truth(A)| -truth(not(A)).
% 1.75/1.94  ** KEPT (pick-wt=8): 8 [] -truth(isa(asked,A))| -truth(isa(other,B)).
% 1.75/1.94  
% 1.75/1.94  ------------> process sos:
% 1.75/1.94  ** KEPT (pick-wt=8): 10 [] truth(isa(A,knight))|truth(isa(A,knave)).
% 1.81/1.94  ** KEPT (pick-wt=5): 11 [] truth(A)|truth(not(A)).
% 1.81/1.94  ** KEPT (pick-wt=10): 12 [] says(asked,not(or(isa(asked,knight),isa(other,knight)))).
% 1.81/1.94  
% 1.81/1.94  ======= end of input processing =======
% 1.81/1.94  
% 1.81/1.94  =========== start of search ===========
% 1.81/1.94  
% 1.81/1.94  -------- PROOF -------- 
% 1.81/1.94  
% 1.81/1.94  -----> EMPTY CLAUSE at   0.01 sec ----> 190 [hyper,173,8,168] $F.
% 1.81/1.94  
% 1.81/1.94  Length of proof is 3.  Level of proof is 2.
% 1.81/1.94  
% 1.81/1.94  ---------------- PROOF ----------------
% 1.81/1.94  % SZS status Unsatisfiable
% 1.81/1.94  % SZS output start Refutation
% See solution above
% 1.81/1.94  ------------ end of proof -------------
% 1.81/1.94  
% 1.81/1.94  
% 1.81/1.94  Search stopped by max_proofs option.
% 1.81/1.94  
% 1.81/1.94  
% 1.81/1.94  Search stopped by max_proofs option.
% 1.81/1.94  
% 1.81/1.94  ============ end of search ============
% 1.81/1.94  
% 1.81/1.94  -------------- statistics -------------
% 1.81/1.94  clauses given                 13
% 1.81/1.94  clauses generated            351
% 1.81/1.94  clauses kept                 189
% 1.81/1.94  clauses forward subsumed     172
% 1.81/1.94  clauses back subsumed         56
% 1.81/1.94  Kbytes malloced              976
% 1.81/1.94  
% 1.81/1.94  ----------- times (seconds) -----------
% 1.81/1.94  user CPU time          0.01          (0 hr, 0 min, 0 sec)
% 1.81/1.94  system CPU time        0.00          (0 hr, 0 min, 0 sec)
% 1.81/1.94  wall-clock time        2             (0 hr, 0 min, 2 sec)
% 1.81/1.94  
% 1.81/1.94  That finishes the proof of the theorem.
% 1.81/1.94  
% 1.81/1.94  Process 25332 finished Wed Jul 27 01:48:56 2022
% 1.81/1.94  Otter interrupted
% 1.81/1.94  PROOF FOUND
%------------------------------------------------------------------------------