TSTP Solution File: PUZ035-3 by Beagle---0.9.51

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Beagle---0.9.51
% Problem  : PUZ035-3 : TPTP v8.1.2. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -Dfile.encoding=UTF-8 -Xms512M -Xmx4G -Xss10M -jar /export/starexec/sandbox/solver/bin/beagle.jar -auto -q -proof -print tff -smtsolver /export/starexec/sandbox/solver/bin/cvc4-1.4-x86_64-linux-opt -liasolver cooper -t %d %s

% Computer : n019.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 : Tue Aug 22 10:54:05 EDT 2023

% Result   : Unsatisfiable 3.07s 1.82s
% Output   : CNFRefutation 3.39s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    6
%            Number of leaves      :   15
% Syntax   : Number of formulae    :   33 (  14 unt;  10 typ;   0 def)
%            Number of atoms       :   36 (   0 equ)
%            Maximal formula atoms :    3 (   1 avg)
%            Number of connectives :   30 (  17   ~;  13   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    9 (   6   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    4 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :    7 (   7 usr;   4 con; 0-2 aty)
%            Number of variables   :   15 (;  15   !;   0   ?;   0   :)

% Comments : 
%------------------------------------------------------------------------------
%$ says > truth > person > or > isa > #nlpp > not > other > knight > knave > asked

%Foreground sorts:

%Background operators:

%Foreground operators:
tff(truth,type,
    truth: $i > $o ).

tff(knight,type,
    knight: $i ).

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

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

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

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

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

tff(person,type,
    person: $i > $o ).

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

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

tff(f_136,axiom,
    ! [P1,P2,S] :
      ( ~ truth(isa(asked,P1))
      | ~ truth(isa(other,P2))
      | ~ says(asked,S) ),
    file(unknown,unknown) ).

tff(f_126,axiom,
    person(asked),
    file(unknown,unknown) ).

tff(f_39,axiom,
    ! [P] :
      ( ~ person(P)
      | truth(isa(P,knight))
      | truth(isa(P,knave)) ),
    file(unknown,unknown) ).

tff(f_127,axiom,
    person(other),
    file(unknown,unknown) ).

tff(f_82,axiom,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | says(asked,not(or(isa(asked,knight),isa(other,knight)))) ),
    file(unknown,unknown) ).

tff(c_32,plain,
    ! [S_24,P2_23,P1_22] :
      ( ~ says(asked,S_24)
      | ~ truth(isa(other,P2_23))
      | ~ truth(isa(asked,P1_22)) ),
    inference(cnfTransformation,[status(thm)],[f_136]) ).

tff(c_52,plain,
    ! [P1_22] : ~ truth(isa(asked,P1_22)),
    inference(splitLeft,[status(thm)],[c_32]) ).

tff(c_28,plain,
    person(asked),
    inference(cnfTransformation,[status(thm)],[f_126]) ).

tff(c_2,plain,
    ! [P_1] :
      ( truth(isa(P_1,knave))
      | truth(isa(P_1,knight))
      | ~ person(P_1) ),
    inference(cnfTransformation,[status(thm)],[f_39]) ).

tff(c_53,plain,
    ! [P1_46] : ~ truth(isa(asked,P1_46)),
    inference(splitLeft,[status(thm)],[c_32]) ).

tff(c_57,plain,
    ( truth(isa(asked,knave))
    | ~ person(asked) ),
    inference(resolution,[status(thm)],[c_2,c_53]) ).

tff(c_60,plain,
    truth(isa(asked,knave)),
    inference(demodulation,[status(thm),theory(equality)],[c_28,c_57]) ).

tff(c_62,plain,
    $false,
    inference(negUnitSimplification,[status(thm)],[c_52,c_60]) ).

tff(c_63,plain,
    ! [S_24,P2_23] :
      ( ~ says(asked,S_24)
      | ~ truth(isa(other,P2_23)) ),
    inference(splitRight,[status(thm)],[c_32]) ).

tff(c_64,plain,
    ! [P2_23] : ~ truth(isa(other,P2_23)),
    inference(splitLeft,[status(thm)],[c_63]) ).

tff(c_30,plain,
    person(other),
    inference(cnfTransformation,[status(thm)],[f_127]) ).

tff(c_65,plain,
    ! [P2_47] : ~ truth(isa(other,P2_47)),
    inference(splitLeft,[status(thm)],[c_63]) ).

tff(c_69,plain,
    ( truth(isa(other,knave))
    | ~ person(other) ),
    inference(resolution,[status(thm)],[c_2,c_65]) ).

tff(c_72,plain,
    truth(isa(other,knave)),
    inference(demodulation,[status(thm),theory(equality)],[c_30,c_69]) ).

tff(c_74,plain,
    $false,
    inference(negUnitSimplification,[status(thm)],[c_64,c_72]) ).

tff(c_75,plain,
    ! [S_24] : ~ says(asked,S_24),
    inference(splitRight,[status(thm)],[c_63]) ).

tff(c_14,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(cnfTransformation,[status(thm)],[f_82]) ).

tff(c_77,plain,
    $false,
    inference(negUnitSimplification,[status(thm)],[c_75,c_75,c_14]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.13  % Problem  : PUZ035-3 : TPTP v8.1.2. Released v2.0.0.
% 0.00/0.14  % Command  : java -Dfile.encoding=UTF-8 -Xms512M -Xmx4G -Xss10M -jar /export/starexec/sandbox/solver/bin/beagle.jar -auto -q -proof -print tff -smtsolver /export/starexec/sandbox/solver/bin/cvc4-1.4-x86_64-linux-opt -liasolver cooper -t %d %s
% 0.14/0.36  % Computer : n019.cluster.edu
% 0.14/0.36  % Model    : x86_64 x86_64
% 0.14/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.36  % Memory   : 8042.1875MB
% 0.14/0.36  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.36  % CPULimit : 300
% 0.14/0.36  % WCLimit  : 300
% 0.14/0.36  % DateTime : Thu Aug  3 17:37:01 EDT 2023
% 0.14/0.36  % CPUTime  : 
% 3.07/1.82  % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p
% 3.07/1.83  
% 3.07/1.83  % SZS output start CNFRefutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 3.39/1.86  
% 3.39/1.86  Inference rules
% 3.39/1.86  ----------------------
% 3.39/1.86  #Ref     : 0
% 3.39/1.86  #Sup     : 4
% 3.39/1.86  #Fact    : 0
% 3.39/1.86  #Define  : 0
% 3.39/1.86  #Split   : 2
% 3.39/1.86  #Chain   : 0
% 3.39/1.86  #Close   : 0
% 3.39/1.86  
% 3.39/1.86  Ordering : KBO
% 3.39/1.86  
% 3.39/1.86  Simplification rules
% 3.39/1.86  ----------------------
% 3.39/1.86  #Subsume      : 0
% 3.39/1.86  #Demod        : 2
% 3.39/1.86  #Tautology    : 1
% 3.39/1.86  #SimpNegUnit  : 3
% 3.39/1.86  #BackRed      : 0
% 3.39/1.86  
% 3.39/1.86  #Partial instantiations: 0
% 3.39/1.86  #Strategies tried      : 1
% 3.39/1.86  
% 3.39/1.86  Timing (in seconds)
% 3.39/1.86  ----------------------
% 3.39/1.86  Preprocessing        : 0.47
% 3.39/1.86  Parsing              : 0.26
% 3.39/1.86  CNF conversion       : 0.03
% 3.39/1.86  Main loop            : 0.24
% 3.39/1.86  Inferencing          : 0.10
% 3.39/1.86  Reduction            : 0.06
% 3.39/1.86  Demodulation         : 0.04
% 3.39/1.86  BG Simplification    : 0.01
% 3.39/1.86  Subsumption          : 0.05
% 3.39/1.86  Abstraction          : 0.01
% 3.39/1.86  MUC search           : 0.00
% 3.39/1.86  Cooper               : 0.00
% 3.39/1.86  Total                : 0.76
% 3.39/1.86  Index Insertion      : 0.00
% 3.39/1.86  Index Deletion       : 0.00
% 3.39/1.86  Index Matching       : 0.00
% 3.39/1.86  BG Taut test         : 0.00
%------------------------------------------------------------------------------