TSTP Solution File: PUZ035-7 by CSE_E---1.5

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : PUZ035-7 : TPTP v8.1.2. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s

% Computer : n026.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 : Thu Aug 31 13:12:17 EDT 2023

% Result   : Unsatisfiable 0.20s 0.58s
% Output   : CNFRefutation 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    4
%            Number of leaves      :   14
% Syntax   : Number of formulae    :   20 (   2 unt;  11 typ;   0 def)
%            Number of atoms       :   18 (   0 equ)
%            Maximal formula atoms :    3 (   2 avg)
%            Number of connectives :   18 (   9   ~;   9   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    4 (   2 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    9 (   5   >;   4   *;   0   +;   0  <<)
%            Number of predicates  :    3 (   2 usr;   1 prp; 0-3 aty)
%            Number of functors    :    9 (   9 usr;   6 con; 0-2 aty)
%            Number of variables   :   15 (   9 sgn;   0   !;   0   ?;   0   :)

% Comments : 
%------------------------------------------------------------------------------
tff(decl_22,type,
    knight: $i ).

tff(decl_23,type,
    isa: ( $i * $i ) > $i ).

tff(decl_24,type,
    truth: $i > $o ).

tff(decl_25,type,
    knave: $i ).

tff(decl_26,type,
    yes: $i ).

tff(decl_27,type,
    reply: ( $i * $i * $i ) > $o ).

tff(decl_28,type,
    no: $i ).

tff(decl_29,type,
    not: $i > $i ).

tff(decl_30,type,
    or: ( $i * $i ) > $i ).

tff(decl_31,type,
    asked: $i ).

tff(decl_32,type,
    other: $i ).

cnf(prove_answer,negated_conjecture,
    ( ~ reply(asked,or(isa(asked,knight),isa(other,knight)),X1)
    | ~ truth(isa(asked,X2))
    | ~ truth(isa(other,X3)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).

cnf(yes_or_no,axiom,
    ( reply(X1,X2,yes)
    | reply(X1,X2,no) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',yes_or_no) ).

cnf(everyone_a_knight_or_knave,axiom,
    ( truth(isa(X1,knight))
    | truth(isa(X1,knave)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).

cnf(c_0_3,negated_conjecture,
    ( ~ reply(asked,or(isa(asked,knight),isa(other,knight)),X1)
    | ~ truth(isa(asked,X2))
    | ~ truth(isa(other,X3)) ),
    prove_answer ).

cnf(c_0_4,axiom,
    ( reply(X1,X2,yes)
    | reply(X1,X2,no) ),
    yes_or_no ).

cnf(c_0_5,negated_conjecture,
    ( ~ truth(isa(asked,X1))
    | ~ truth(isa(other,X2)) ),
    inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_3,c_0_4]),c_0_3]) ).

cnf(c_0_6,axiom,
    ( truth(isa(X1,knight))
    | truth(isa(X1,knave)) ),
    everyone_a_knight_or_knave ).

cnf(c_0_7,negated_conjecture,
    ~ truth(isa(other,X1)),
    inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_5,c_0_6]),c_0_5]) ).

cnf(c_0_8,negated_conjecture,
    $false,
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_7,c_0_6]),c_0_7]),
    [proof] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.13  % Problem    : PUZ035-7 : TPTP v8.1.2. Released v2.0.0.
% 0.00/0.14  % Command    : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s
% 0.13/0.34  % Computer : n026.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   : Sat Aug 26 22:18:18 EDT 2023
% 0.13/0.34  % CPUTime  : 
% 0.20/0.57  start to proof: theBenchmark
% 0.20/0.58  % Version  : CSE_E---1.5
% 0.20/0.58  % Problem  : theBenchmark.p
% 0.20/0.58  % Proof found
% 0.20/0.58  % SZS status Theorem for theBenchmark.p
% 0.20/0.58  % SZS output start Proof
% See solution above
% 0.20/0.58  % Total time : 0.004000 s
% 0.20/0.58  % SZS output end Proof
% 0.20/0.58  % Total time : 0.007000 s
%------------------------------------------------------------------------------