TSTP Solution File: PUZ007-1 by Otter---3.3

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Otter---3.3
% Problem  : PUZ007-1 : TPTP v8.1.0. Released v1.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:01 EDT 2022

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

% Comments : 
%------------------------------------------------------------------------------
cnf(1,axiom,
    ( ~ from_mars(A)
    | ~ from_venus(A) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(6,axiom,
    ( ~ from_venus(A)
    | ~ female(A)
    | truthteller(A) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(9,axiom,
    ( ~ from_mars(A)
    | ~ female(A)
    | liar(A) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(10,axiom,
    ( ~ truthteller(A)
    | ~ says(A,B)
    | a_truth(B) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(11,axiom,
    ( ~ liar(A)
    | ~ says(A,B)
    | ~ a_truth(B) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(12,axiom,
    ( ~ from_mars(a)
    | a_truth(a_from_mars) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(13,axiom,
    ( from_mars(a)
    | ~ a_truth(a_from_mars) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(14,axiom,
    ( ~ a_truth(a_from_mars)
    | ~ a_truth(statement_by(b)) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(16,axiom,
    ( ~ male(a)
    | female(b) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(19,axiom,
    ( male(A)
    | female(A) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(22,axiom,
    says(a,a_from_mars),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(23,axiom,
    says(b,a_has_lied),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(27,axiom,
    statement_by(b) = a_has_lied,
    file('PUZ007-1.p',unknown),
    [] ).

cnf(28,axiom,
    ( a_truth(a_from_mars)
    | a_truth(statement_by(b)) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(29,plain,
    ( a_truth(a_from_mars)
    | a_truth(a_has_lied) ),
    inference(demod,[status(thm),theory(equality)],[inference(copy,[status(thm)],[28]),27]),
    [iquote('copy,28,demod,27')] ).

cnf(30,axiom,
    ( from_mars(b)
    | from_mars(a) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(31,axiom,
    ( from_venus(a)
    | from_venus(b) ),
    file('PUZ007-1.p',unknown),
    [] ).

cnf(32,plain,
    ( ~ a_truth(a_from_mars)
    | ~ a_truth(a_has_lied) ),
    inference(demod,[status(thm),theory(equality)],[inference(back_demod,[status(thm)],[14]),27]),
    [iquote('back_demod,14,demod,27')] ).

cnf(37,plain,
    ( female(a)
    | female(b) ),
    inference(hyper,[status(thm)],[19,16]),
    [iquote('hyper,19,16')] ).

cnf(47,plain,
    ( a_truth(a_has_lied)
    | from_mars(a) ),
    inference(hyper,[status(thm)],[29,13]),
    [iquote('hyper,29,13')] ).

cnf(51,plain,
    ( from_mars(b)
    | a_truth(a_from_mars) ),
    inference(hyper,[status(thm)],[30,12]),
    [iquote('hyper,30,12')] ).

cnf(65,plain,
    ( female(a)
    | liar(b)
    | from_mars(a) ),
    inference(hyper,[status(thm)],[37,9,30]),
    [iquote('hyper,37,9,30')] ).

cnf(84,plain,
    ( a_truth(a_has_lied)
    | liar(a)
    | female(b) ),
    inference(hyper,[status(thm)],[47,9,37]),
    [iquote('hyper,47,9,37')] ).

cnf(85,plain,
    ( a_truth(a_has_lied)
    | from_venus(b) ),
    inference(hyper,[status(thm)],[47,1,31]),
    [iquote('hyper,47,1,31')] ).

cnf(91,plain,
    ( a_truth(a_from_mars)
    | from_venus(a) ),
    inference(hyper,[status(thm)],[51,1,31]),
    [iquote('hyper,51,1,31')] ).

cnf(169,plain,
    ( a_truth(a_has_lied)
    | female(b) ),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[84,11,22,29])]),
    [iquote('hyper,84,11,22,29,factor_simp')] ).

cnf(170,plain,
    ( a_truth(a_has_lied)
    | truthteller(b) ),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[169,6,85])]),
    [iquote('hyper,169,6,85,factor_simp')] ).

cnf(185,plain,
    a_truth(a_has_lied),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[170,10,23])]),
    [iquote('hyper,170,10,23,factor_simp')] ).

cnf(187,plain,
    ( female(a)
    | from_mars(a) ),
    inference(hyper,[status(thm)],[185,11,65,23]),
    [iquote('hyper,185,11,65,23')] ).

cnf(192,plain,
    ( female(a)
    | a_truth(a_from_mars) ),
    inference(hyper,[status(thm)],[187,12]),
    [iquote('hyper,187,12')] ).

cnf(213,plain,
    ( a_truth(a_from_mars)
    | truthteller(a) ),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[192,6,91])]),
    [iquote('hyper,192,6,91,factor_simp')] ).

cnf(234,plain,
    a_truth(a_from_mars),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[213,10,22])]),
    [iquote('hyper,213,10,22,factor_simp')] ).

cnf(243,plain,
    $false,
    inference(hyper,[status(thm)],[234,32,185]),
    [iquote('hyper,234,32,185')] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : PUZ007-1 : TPTP v8.1.0. Released v1.0.0.
% 0.03/0.13  % Command  : otter-tptp-script %s
% 0.12/0.34  % Computer : n014.cluster.edu
% 0.12/0.34  % Model    : x86_64 x86_64
% 0.12/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.34  % Memory   : 8042.1875MB
% 0.12/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.34  % CPULimit : 300
% 0.12/0.34  % WCLimit  : 300
% 0.12/0.34  % DateTime : Wed Jul 27 01:48:24 EDT 2022
% 0.12/0.34  % CPUTime  : 
% 1.76/1.97  ----- Otter 3.3f, August 2004 -----
% 1.76/1.97  The process was started by sandbox on n014.cluster.edu,
% 1.76/1.97  Wed Jul 27 01:48:24 2022
% 1.76/1.97  The command was "./otter".  The process ID is 22131.
% 1.76/1.97  
% 1.76/1.97  set(prolog_style_variables).
% 1.76/1.97  set(auto).
% 1.76/1.97     dependent: set(auto1).
% 1.76/1.97     dependent: set(process_input).
% 1.76/1.97     dependent: clear(print_kept).
% 1.76/1.97     dependent: clear(print_new_demod).
% 1.76/1.97     dependent: clear(print_back_demod).
% 1.76/1.97     dependent: clear(print_back_sub).
% 1.76/1.97     dependent: set(control_memory).
% 1.76/1.97     dependent: assign(max_mem, 12000).
% 1.76/1.97     dependent: assign(pick_given_ratio, 4).
% 1.76/1.97     dependent: assign(stats_level, 1).
% 1.76/1.97     dependent: assign(max_seconds, 10800).
% 1.76/1.97  clear(print_given).
% 1.76/1.97  
% 1.76/1.97  list(usable).
% 1.76/1.97  0 [] A=A.
% 1.76/1.97  0 [] from_mars(X)|from_venus(X).
% 1.76/1.97  0 [] -from_mars(X)| -from_venus(X).
% 1.76/1.97  0 [] male(X)|female(X).
% 1.76/1.97  0 [] -male(X)| -female(X).
% 1.76/1.97  0 [] truthteller(X)|liar(X).
% 1.76/1.97  0 [] -truthteller(X)| -liar(X).
% 1.76/1.97  0 [] -says(X,Y)|a_truth(Y)| -a_truth(Y).
% 1.76/1.97  0 [] -says(X,Y)|Y=statement_by(X).
% 1.76/1.97  0 [] -a_truth(statement_by(X))|truthteller(X).
% 1.76/1.97  0 [] a_truth(statement_by(X))|liar(X).
% 1.76/1.97  0 [] -from_venus(X)| -female(X)|truthteller(X).
% 1.76/1.97  0 [] -from_venus(X)| -male(X)|liar(X).
% 1.76/1.97  0 [] -from_mars(X)| -male(X)|truthteller(X).
% 1.76/1.97  0 [] -from_mars(X)| -female(X)|liar(X).
% 1.76/1.97  0 [] -truthteller(X)| -says(X,Y)|a_truth(Y).
% 1.76/1.97  0 [] -liar(X)| -says(X,Y)| -a_truth(Y).
% 1.76/1.97  0 [] says(a,a_from_mars).
% 1.76/1.97  0 [] says(b,a_has_lied).
% 1.76/1.97  0 [] -from_mars(a)|a_truth(a_from_mars).
% 1.76/1.97  0 [] from_mars(a)| -a_truth(a_from_mars).
% 1.76/1.97  0 [] -a_truth(a_from_mars)| -a_truth(statement_by(b)).
% 1.76/1.97  0 [] statement_by(a)=a_from_mars.
% 1.76/1.97  0 [] statement_by(b)=a_has_lied.
% 1.76/1.97  0 [] a_truth(a_from_mars)|a_truth(statement_by(b)).
% 1.76/1.97  0 [] -female(a)|male(b).
% 1.76/1.97  0 [] -male(a)|female(b).
% 1.76/1.97  0 [] from_mars(b)|from_mars(a).
% 1.76/1.97  0 [] from_venus(a)|from_venus(b).
% 1.76/1.97  end_of_list.
% 1.76/1.97  
% 1.76/1.97  SCAN INPUT: prop=0, horn=0, equality=1, symmetry=0, max_lits=3.
% 1.76/1.97  
% 1.76/1.97  This ia a non-Horn set with equality.  The strategy will be
% 1.76/1.97  Knuth-Bendix, ordered hyper_res, factoring, and unit
% 1.76/1.97  deletion, with positive clauses in sos and nonpositive
% 1.76/1.97  clauses in usable.
% 1.76/1.97  
% 1.76/1.97     dependent: set(knuth_bendix).
% 1.76/1.97     dependent: set(anl_eq).
% 1.76/1.97     dependent: set(para_from).
% 1.76/1.97     dependent: set(para_into).
% 1.76/1.97     dependent: clear(para_from_right).
% 1.76/1.97     dependent: clear(para_into_right).
% 1.76/1.97     dependent: set(para_from_vars).
% 1.76/1.97     dependent: set(eq_units_both_ways).
% 1.76/1.97     dependent: set(dynamic_demod_all).
% 1.76/1.97     dependent: set(dynamic_demod).
% 1.76/1.97     dependent: set(order_eq).
% 1.76/1.97     dependent: set(back_demod).
% 1.76/1.97     dependent: set(lrpo).
% 1.76/1.97     dependent: set(hyper_res).
% 1.76/1.97     dependent: set(unit_deletion).
% 1.76/1.97     dependent: set(factor).
% 1.76/1.97  
% 1.76/1.97  ------------> process usable:
% 1.76/1.97  ** KEPT (pick-wt=4): 1 [] -from_mars(A)| -from_venus(A).
% 1.76/1.97  ** KEPT (pick-wt=4): 2 [] -male(A)| -female(A).
% 1.76/1.97  ** KEPT (pick-wt=4): 3 [] -truthteller(A)| -liar(A).
% 1.76/1.97  ** KEPT (pick-wt=7): 4 [] -says(A,B)|B=statement_by(A).
% 1.76/1.97  ** KEPT (pick-wt=5): 5 [] -a_truth(statement_by(A))|truthteller(A).
% 1.76/1.97  ** KEPT (pick-wt=6): 6 [] -from_venus(A)| -female(A)|truthteller(A).
% 1.76/1.97  ** KEPT (pick-wt=6): 7 [] -from_venus(A)| -male(A)|liar(A).
% 1.76/1.97  ** KEPT (pick-wt=6): 8 [] -from_mars(A)| -male(A)|truthteller(A).
% 1.76/1.97  ** KEPT (pick-wt=6): 9 [] -from_mars(A)| -female(A)|liar(A).
% 1.76/1.97  ** KEPT (pick-wt=7): 10 [] -truthteller(A)| -says(A,B)|a_truth(B).
% 1.76/1.97  ** KEPT (pick-wt=7): 11 [] -liar(A)| -says(A,B)| -a_truth(B).
% 1.76/1.97  ** KEPT (pick-wt=4): 12 [] -from_mars(a)|a_truth(a_from_mars).
% 1.76/1.97  ** KEPT (pick-wt=4): 13 [] from_mars(a)| -a_truth(a_from_mars).
% 1.76/1.97  ** KEPT (pick-wt=5): 14 [] -a_truth(a_from_mars)| -a_truth(statement_by(b)).
% 1.76/1.97  ** KEPT (pick-wt=4): 15 [] -female(a)|male(b).
% 1.76/1.97  ** KEPT (pick-wt=4): 16 [] -male(a)|female(b).
% 1.76/1.97  
% 1.76/1.97  ------------> process sos:
% 1.76/1.97  ** KEPT (pick-wt=3): 17 [] A=A.
% 1.76/1.97  ** KEPT (pick-wt=4): 18 [] from_mars(A)|from_venus(A).
% 1.76/1.97  ** KEPT (pick-wt=4): 19 [] male(A)|female(A).
% 1.76/1.97  ** KEPT (pick-wt=4): 20 [] truthteller(A)|liar(A).
% 1.76/1.97  ** KEPT (pick-wt=5): 21 [] a_truth(statement_by(A))|liar(A).
% 1.76/1.97  ** KEPT (pick-wt=3): 22 [] says(a,a_from_mars).
% 1.76/1.97  ** KEPT (pick-wt=3): 23 [] says(b,a_has_lied).
% 1.76/1.97  ** KEPT (pick-wt=4): 24 [] statement_by(a)=a_from_mars.
% 1.76/1.97  ---> New Demodulator: 25 [new_demod,24] statement_by(a)=a_from_mars.
% 1.76/1.97  ** KEPT (pick-wt=4): 26 [] statement_by(b)=a_has_lied.
% 1.76/1.97  ---> New Demodulator: 27 [new_demod,26] statement_by(b)=a_has_lied.
% 1.76/1.97  ** KEPT (pick-wt=4): 29 [copy,28,demod,27] a_truth(a_from_mars)|a_truth(a_has_lied).
% 1.82/1.98  ** KEPT (pick-wt=4): 30 [] from_mars(b)|from_mars(a).
% 1.82/1.98  ** KEPT (pick-wt=4): 31 [] from_venus(a)|from_venus(b).
% 1.82/1.98    Following clause subsumed by 17 during input processing: 0 [copy,17,flip.1] A=A.
% 1.82/1.98  >>>> Starting back demodulation with 25.
% 1.82/1.98  >>>> Starting back demodulation with 27.
% 1.82/1.98      >> back demodulating 14 with 27.
% 1.82/1.98  
% 1.82/1.98  ======= end of input processing =======
% 1.82/1.98  
% 1.82/1.98  =========== start of search ===========
% 1.82/1.98  
% 1.82/1.98  -------- PROOF -------- 
% 1.82/1.98  
% 1.82/1.98  -----> EMPTY CLAUSE at   0.01 sec ----> 243 [hyper,234,32,185] $F.
% 1.82/1.98  
% 1.82/1.98  Length of proof is 16.  Level of proof is 10.
% 1.82/1.98  
% 1.82/1.98  ---------------- PROOF ----------------
% 1.82/1.98  % SZS status Unsatisfiable
% 1.82/1.98  % SZS output start Refutation
% See solution above
% 1.82/1.98  ------------ end of proof -------------
% 1.82/1.98  
% 1.82/1.98  
% 1.82/1.98  Search stopped by max_proofs option.
% 1.82/1.98  
% 1.82/1.98  
% 1.82/1.98  Search stopped by max_proofs option.
% 1.82/1.98  
% 1.82/1.98  ============ end of search ============
% 1.82/1.98  
% 1.82/1.98  -------------- statistics -------------
% 1.82/1.98  clauses given                 62
% 1.82/1.98  clauses generated            409
% 1.82/1.98  clauses kept                 239
% 1.82/1.98  clauses forward subsumed     199
% 1.82/1.98  clauses back subsumed         89
% 1.82/1.98  Kbytes malloced              976
% 1.82/1.98  
% 1.82/1.98  ----------- times (seconds) -----------
% 1.82/1.98  user CPU time          0.01          (0 hr, 0 min, 0 sec)
% 1.82/1.98  system CPU time        0.00          (0 hr, 0 min, 0 sec)
% 1.82/1.98  wall-clock time        2             (0 hr, 0 min, 2 sec)
% 1.82/1.98  
% 1.82/1.98  That finishes the proof of the theorem.
% 1.82/1.98  
% 1.82/1.98  Process 22131 finished Wed Jul 27 01:48:26 2022
% 1.82/1.98  Otter interrupted
% 1.82/1.98  PROOF FOUND
%------------------------------------------------------------------------------