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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Otter---3.3
% Problem  : PUZ006-1 : TPTP v8.1.0. Released v1.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : otter-tptp-script %s

% Computer : n018.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.77s 1.96s
% Output   : Refutation 1.77s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   14
% Syntax   : Number of clauses     :   28 (  14 unt;   5 nHn;  25 RR)
%            Number of literals    :   45 (   5 equ;  13 neg)
%            Maximal clause size   :    3 (   1 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of predicates  :    9 (   7 usr;   1 prp; 0-2 aty)
%            Number of functors    :    7 (   7 usr;   6 con; 0-1 aty)
%            Number of variables   :    8 (   0 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(4,axiom,
    ( ~ says(A,B)
    | B = statement_by(A) ),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(7,axiom,
    ( ~ from_venus(A)
    | ~ male(A)
    | liar(A) ),
    file('PUZ006-1.p',unknown),
    [] ).

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

cnf(12,axiom,
    ( ~ a_truth(bog_is_from_venus)
    | from_venus(bog) ),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(17,axiom,
    ( ~ from_mars(ork)
    | a_truth(ork_is_from_mars) ),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(18,axiom,
    ( ~ male(bog)
    | a_truth(bog_is_male) ),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(19,axiom,
    ( ~ female(ork)
    | a_truth(ork_is_female) ),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(20,axiom,
    ~ female(bog),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(22,axiom,
    ( from_mars(A)
    | from_venus(A) ),
    file('PUZ006-1.p',unknown),
    [] ).

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

cnf(26,axiom,
    says(ork,bog_is_from_venus),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(27,axiom,
    says(bog,ork_is_from_mars),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(28,axiom,
    says(ork,bog_is_male),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(29,axiom,
    says(bog,ork_is_female),
    file('PUZ006-1.p',unknown),
    [] ).

cnf(31,plain,
    statement_by(ork) = bog_is_from_venus,
    inference(flip,[status(thm),theory(equality)],[inference(hyper,[status(thm)],[26,4])]),
    [iquote('hyper,26,4,flip.1')] ).

cnf(35,plain,
    statement_by(bog) = ork_is_from_mars,
    inference(flip,[status(thm),theory(equality)],[inference(hyper,[status(thm)],[27,4])]),
    [iquote('hyper,27,4,flip.1')] ).

cnf(39,plain,
    bog_is_male = bog_is_from_venus,
    inference(demod,[status(thm),theory(equality)],[inference(hyper,[status(thm)],[28,4]),31]),
    [iquote('hyper,28,4,demod,31')] ).

cnf(40,plain,
    ( ~ male(bog)
    | a_truth(bog_is_from_venus) ),
    inference(demod,[status(thm),theory(equality)],[inference(back_demod,[status(thm)],[18]),39]),
    [iquote('back_demod,18,demod,39')] ).

cnf(43,plain,
    ork_is_from_mars = ork_is_female,
    inference(flip,[status(thm),theory(equality)],[inference(demod,[status(thm),theory(equality)],[inference(hyper,[status(thm)],[29,4]),35])]),
    [iquote('hyper,29,4,demod,35,flip.1')] ).

cnf(48,plain,
    ( ~ from_mars(ork)
    | a_truth(ork_is_female) ),
    inference(demod,[status(thm),theory(equality)],[inference(back_demod,[status(thm)],[17]),43]),
    [iquote('back_demod,17,demod,43')] ).

cnf(53,plain,
    ( female(A)
    | liar(A)
    | from_mars(A) ),
    inference(hyper,[status(thm)],[23,7,22]),
    [iquote('hyper,23,7,22')] ).

cnf(59,plain,
    a_truth(bog_is_from_venus),
    inference(unit_del,[status(thm)],[inference(hyper,[status(thm)],[40,23]),20]),
    [iquote('hyper,40,23,unit_del,20')] ).

cnf(60,plain,
    from_venus(bog),
    inference(hyper,[status(thm)],[59,12]),
    [iquote('hyper,59,12')] ).

cnf(62,plain,
    liar(bog),
    inference(unit_del,[status(thm)],[inference(hyper,[status(thm)],[60,7,23]),20]),
    [iquote('hyper,60,7,23,unit_del,20')] ).

cnf(86,plain,
    ( female(ork)
    | from_mars(ork) ),
    inference(hyper,[status(thm)],[53,11,26,59]),
    [iquote('hyper,53,11,26,59')] ).

cnf(87,plain,
    ( female(ork)
    | a_truth(ork_is_female) ),
    inference(hyper,[status(thm)],[86,48]),
    [iquote('hyper,86,48')] ).

cnf(90,plain,
    a_truth(ork_is_female),
    inference(factor_simp,[status(thm)],[inference(hyper,[status(thm)],[87,19])]),
    [iquote('hyper,87,19,factor_simp')] ).

cnf(97,plain,
    $false,
    inference(hyper,[status(thm)],[90,11,62,29]),
    [iquote('hyper,90,11,62,29')] ).

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