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

View Problem - Process Solution

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

% Computer : n028.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.19s 0.41s
% Output   : Refutation 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :    5
% Syntax   : Number of clauses     :   12 (   4 unt;   2 nHn;  12 RR)
%            Number of literals    :   26 (   0 equ;  15 neg)
%            Maximal clause size   :    4 (   2 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number of predicates  :    4 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :   10 (  10 usr;   7 con; 0-2 aty)
%            Number of variables   :    0 (   0 sgn)

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

cnf(5,axiom,
    ( says(asked,not__dfg(or__dfg(isa(asked,knight),isa(other,knight))))
    | says(asked,or__dfg(isa(asked,knight),isa(other,knight))) ),
    file('PUZ035-4.p',unknown),
    [] ).

cnf(12,axiom,
    person(asked),
    file('PUZ035-4.p',unknown),
    [] ).

cnf(13,axiom,
    person(other),
    file('PUZ035-4.p',unknown),
    [] ).

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

cnf(29,plain,
    ( ~ person(other)
    | ~ truth(isa(asked,u))
    | ~ says(asked,v)
    | truth(isa(other,knave)) ),
    inference(res,[status(thm),theory(equality)],[1,14]),
    [iquote('0:Res:1.2,14.0')] ).

cnf(30,plain,
    ( ~ truth(isa(asked,u))
    | ~ says(asked,v)
    | truth(isa(other,knave)) ),
    inference(ssi,[status(thm)],[29,13]),
    [iquote('0:SSi:29.0,13.0')] ).

cnf(31,plain,
    ( ~ truth(isa(asked,u))
    | ~ says(asked,v) ),
    inference(mrr,[status(thm)],[30,14]),
    [iquote('0:MRR:30.2,14.0')] ).

cnf(38,plain,
    ( ~ person(asked)
    | ~ says(asked,u)
    | truth(isa(asked,knave)) ),
    inference(res,[status(thm),theory(equality)],[1,31]),
    [iquote('0:Res:1.2,31.0')] ).

cnf(39,plain,
    ( ~ says(asked,u)
    | truth(isa(asked,knave)) ),
    inference(ssi,[status(thm)],[38,12]),
    [iquote('0:SSi:38.0,12.0')] ).

cnf(40,plain,
    ~ says(asked,u),
    inference(mrr,[status(thm)],[39,31]),
    [iquote('0:MRR:39.1,31.0')] ).

cnf(41,plain,
    $false,
    inference(mrr,[status(thm)],[5,40]),
    [iquote('0:MRR:5.1,5.0,40.0')] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem  : PUZ035-4 : TPTP v8.1.0. Released v2.0.0.
% 0.07/0.13  % Command  : run_spass %d %s
% 0.13/0.34  % Computer : n028.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  : 600
% 0.13/0.34  % DateTime : Sat May 28 23:06:03 EDT 2022
% 0.13/0.34  % CPUTime  : 
% 0.19/0.41  
% 0.19/0.41  SPASS V 3.9 
% 0.19/0.41  SPASS beiseite: Proof found.
% 0.19/0.41  % SZS status Theorem
% 0.19/0.41  Problem: /export/starexec/sandbox2/benchmark/theBenchmark.p 
% 0.19/0.41  SPASS derived 12 clauses, backtracked 0 clauses, performed 0 splits and kept 24 clauses.
% 0.19/0.41  SPASS allocated 75623 KBytes.
% 0.19/0.41  SPASS spent	0:00:00.06 on the problem.
% 0.19/0.41  		0:00:00.04 for the input.
% 0.19/0.41  		0:00:00.00 for the FLOTTER CNF translation.
% 0.19/0.41  		0:00:00.00 for inferences.
% 0.19/0.41  		0:00:00.00 for the backtracking.
% 0.19/0.41  		0:00:00.00 for the reduction.
% 0.19/0.41  
% 0.19/0.41  
% 0.19/0.41  Here is a proof with depth 2, length 12 :
% 0.19/0.41  % SZS output start Refutation
% See solution above
% 0.19/0.41  Formulae used in the proof : everyone_a_knight_or_knave one_is_knight_answer asked_person other_person prove_answer
% 0.19/0.41  
%------------------------------------------------------------------------------