TSTP Solution File: PUZ035-7 by SPASS---3.9

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SPASS---3.9
% Problem  : PUZ035-7 : TPTP v8.1.0. Released v2.0.0.
% Transfm  : none
% Format   : tptp
% Command  : run_spass %d %s

% Computer : n024.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:27:21 EDT 2022

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

% Comments : 
%------------------------------------------------------------------------------
cnf(1,axiom,
    ( truth(isa(u,knave))
    | truth(isa(u,knight)) ),
    file('PUZ035-7.p',unknown),
    [] ).

cnf(7,axiom,
    ( reply(u,v,no)
    | reply(u,v,yes) ),
    file('PUZ035-7.p',unknown),
    [] ).

cnf(14,axiom,
    ( ~ truth(isa(other,u))
    | ~ truth(isa(asked,v))
    | ~ reply(asked,or__dfg(isa(asked,knight),isa(other,knight)),w) ),
    file('PUZ035-7.p',unknown),
    [] ).

cnf(45,plain,
    ( ~ truth(isa(other,u))
    | ~ truth(isa(asked,v))
    | reply(asked,or__dfg(isa(asked,knight),isa(other,knight)),no) ),
    inference(res,[status(thm),theory(equality)],[7,14]),
    [iquote('0:Res:7.1,14.2')] ).

cnf(49,plain,
    ( ~ truth(isa(other,u))
    | ~ truth(isa(asked,v)) ),
    inference(mrr,[status(thm)],[45,14]),
    [iquote('0:MRR:45.2,14.2')] ).

cnf(52,plain,
    ( ~ truth(isa(asked,u))
    | truth(isa(other,knave)) ),
    inference(res,[status(thm),theory(equality)],[1,49]),
    [iquote('0:Res:1.1,49.0')] ).

cnf(53,plain,
    ~ truth(isa(asked,u)),
    inference(mrr,[status(thm)],[52,49]),
    [iquote('0:MRR:52.1,49.0')] ).

cnf(54,plain,
    truth(isa(asked,knave)),
    inference(res,[status(thm),theory(equality)],[1,53]),
    [iquote('0:Res:1.1,53.0')] ).

cnf(55,plain,
    $false,
    inference(mrr,[status(thm)],[54,53]),
    [iquote('0:MRR:54.0,53.0')] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.11  % Problem  : PUZ035-7 : TPTP v8.1.0. Released v2.0.0.
% 0.10/0.12  % Command  : run_spass %d %s
% 0.12/0.33  % Computer : n024.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  : 600
% 0.12/0.33  % DateTime : Sat May 28 20:23:51 EDT 2022
% 0.12/0.33  % CPUTime  : 
% 0.12/0.40  
% 0.12/0.40  SPASS V 3.9 
% 0.12/0.40  SPASS beiseite: Proof found.
% 0.12/0.40  % SZS status Theorem
% 0.12/0.40  Problem: /export/starexec/sandbox/benchmark/theBenchmark.p 
% 0.12/0.40  SPASS derived 24 clauses, backtracked 0 clauses, performed 0 splits and kept 21 clauses.
% 0.12/0.40  SPASS allocated 75616 KBytes.
% 0.12/0.40  SPASS spent	0:00:00.06 on the problem.
% 0.12/0.40  		0:00:00.03 for the input.
% 0.12/0.40  		0:00:00.00 for the FLOTTER CNF translation.
% 0.12/0.40  		0:00:00.00 for inferences.
% 0.12/0.40  		0:00:00.00 for the backtracking.
% 0.12/0.40  		0:00:00.00 for the reduction.
% 0.12/0.40  
% 0.12/0.40  
% 0.12/0.40  Here is a proof with depth 3, length 9 :
% 0.12/0.40  % SZS output start Refutation
% See solution above
% 0.12/0.40  Formulae used in the proof : everyone_a_knight_or_knave yes_or_no prove_answer
% 0.12/0.40  
%------------------------------------------------------------------------------