TSTP Solution File: PUZ035-3 by SNARK---20120808r022

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SNARK---20120808r022
% Problem  : PUZ035-3 : TPTP v8.1.0. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run-snark %s %d

% Computer : n021.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:26:47 EDT 2022

% Result   : Unsatisfiable 0.13s 0.44s
% Output   : Refutation 0.13s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    9
%            Number of leaves      :    5
% Syntax   : Number of clauses     :   15 (   6 unt;   8 nHn;  15 RR)
%            Number of literals    :   27 (   0 equ;   5 neg)
%            Maximal clause size   :    3 (   1 avg)
%            Maximal term depth    :    4 (   1 avg)
%            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   :    5 (   4 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(everyone_a_knight_or_knave,axiom,
    ( ~ person(X)
    | truth(isa(X,knight))
    | truth(isa(X,knave)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).

cnf(one_is_knight_answer,axiom,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | says(asked,not(or(isa(asked,knight),isa(other,knight)))) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',one_is_knight_answer) ).

cnf(asked_person,axiom,
    person(asked),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',asked_person) ).

cnf(other_person,axiom,
    person(other),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',other_person) ).

cnf(prove_answer,negated_conjecture,
    ( ~ truth(isa(asked,X))
    | ~ truth(isa(other,Y))
    | ~ says(asked,Z) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).

cnf(17,plain,
    ( truth(isa(other,knight))
    | truth(isa(other,knave)) ),
    inference('HYPERRESOLVE',[status(thm)],[everyone_a_knight_or_knave,other_person]) ).

cnf(18,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knave)) ),
    inference('HYPERRESOLVE',[status(thm)],[everyone_a_knight_or_knave,asked_person]) ).

cnf(21,plain,
    ( truth(isa(asked,knave))
    | truth(isa(other,knave))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,18,17,one_is_knight_answer]) ).

cnf(23,plain,
    ( truth(isa(asked,knave))
    | truth(isa(other,knave)) ),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,21,18,17]) ).

cnf(24,plain,
    ( truth(isa(asked,knave))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,23,18,one_is_knight_answer]) ).

cnf(25,plain,
    truth(isa(asked,knave)),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,24,18,23]) ).

cnf(30,plain,
    ( truth(isa(other,knave))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,25,17,one_is_knight_answer]) ).

cnf(179,plain,
    truth(isa(other,knave)),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,30,25,17]) ).

cnf(180,plain,
    ~ says(asked,X),
    inference('UR-RESOLVE',[status(thm)],[prove_answer,179,25]) ).

cnf(181,plain,
    $false,
    inference('REWRITE',[status(thm)],[one_is_knight_answer,180]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.08/0.09  % Problem  : PUZ035-3 : TPTP v8.1.0. Released v2.0.0.
% 0.08/0.09  % Command  : run-snark %s %d
% 0.09/0.29  % Computer : n021.cluster.edu
% 0.09/0.29  % Model    : x86_64 x86_64
% 0.09/0.29  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.09/0.29  % Memory   : 8042.1875MB
% 0.09/0.29  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.09/0.29  % CPULimit : 300
% 0.09/0.29  % WCLimit  : 600
% 0.09/0.29  % DateTime : Sat May 28 19:50:57 EDT 2022
% 0.09/0.29  % CPUTime  : 
% 0.13/0.37  /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.13/0.38  * 
% 0.13/0.38  * 
% 0.13/0.38  #<PACKAGE "SNARK-USER">
% 0.13/0.38  * 
% 0.13/0.38  SNARK-TPTP-OPTIONS
% 0.13/0.38  * 
% 0.13/0.38  ((AGENDA-LENGTH-LIMIT NIL) (AGENDA-LENGTH-BEFORE-SIMPLIFICATION-LIMIT NIL)
% 0.13/0.38   (USE-HYPERRESOLUTION T) (USE-UR-RESOLUTION T) (USE-PARAMODULATION T)
% 0.13/0.38   (USE-FACTORING :POS)
% 0.13/0.38   (USE-LITERAL-ORDERING-WITH-HYPERRESOLUTION 'LITERAL-ORDERING-P)
% 0.13/0.38   (USE-LITERAL-ORDERING-WITH-PARAMODULATION 'LITERAL-ORDERING-P)
% 0.13/0.38   (ORDERING-FUNCTIONS>CONSTANTS T) (ASSERT-CONTEXT :CURRENT)
% 0.13/0.38   (RUN-TIME-LIMIT 300) (LISTEN-FOR-COMMANDS NIL)
% 0.13/0.38   (USE-CLOSURE-WHEN-SATISFIABLE T) (PRINT-ROWS-WHEN-GIVEN NIL)
% 0.13/0.38   (PRINT-ROWS-WHEN-DERIVED NIL) (PRINT-UNORIENTABLE-ROWS NIL)
% 0.13/0.38   (PRINT-ROW-WFFS-PRETTILY NIL) (PRINT-FINAL-ROWS :TPTP)
% 0.13/0.38   (PRINT-OPTIONS-WHEN-STARTING NIL) (USE-VARIABLE-NAME-SORTS NIL)
% 0.13/0.38   (USE-PURITY-TEST T) (USE-RELEVANCE-TEST T) (DECLARE-TPTP-SYMBOLS1)
% 0.13/0.38   (DECLARE-TPTP-SYMBOLS2))
% 0.13/0.38  * 
% 0.13/0.38  "."
% 0.13/0.38  * 
% 0.13/0.38  ; Begin refute-file /export/starexec/sandbox2/benchmark/theBenchmark.p 2022-05-28T19:50:57
% 0.13/0.38  ; Running SNARK from /davis/home/graph/tptp/Systems/SNARK---20120808r022/Source/snark-system.lisp in SBCL 1.0.12 on n021.cluster.edu at 2022-05-28T19:50:57
% 0.13/0.44  
% 0.13/0.44  
% 0.13/0.44  #||
% 0.13/0.44  % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.13/0.44  % SZS output start Refutation
% See solution above
% 0.13/0.44  ||#
% 0.13/0.44  
% 0.13/0.44  ; Summary of computation:
% 0.13/0.44  ;       214 formulas have been input or derived (from 40 formulas).
% 0.13/0.44  ;       181 (85%) were retained.  Of these,
% 0.13/0.44  ;           15 ( 8%) were simplified or subsumed later,
% 0.13/0.44  ;          166 (92%) are still being kept.
% 0.13/0.44  ; 
% 0.13/0.44  ; Run time in seconds excluding printing time:
% 0.13/0.44  ;     0.003   5%   Read assertion file          (1 call)
% 0.13/0.44  ;     0.000   0%   Assert                       (16 calls)
% 0.13/0.44  ;     0.025  45%   Process new row              (199 calls)
% 0.13/0.44  ;     0.004   7%   Resolution                   (78 calls)
% 0.13/0.44  ;     0.000   0%   Paramodulation               (39 calls)
% 0.13/0.44  ;     0.000   0%   Factoring                    (7 calls)
% 0.13/0.44  ;     0.000   0%   Condensing                   (25 calls)
% 0.13/0.44  ;     0.001   2%   Forward subsumption          (25 calls)
% 0.13/0.44  ;     0.000   0%   Backward subsumption         (24 calls)
% 0.13/0.44  ;     0.000   0%   Clause clause subsumption    (10 calls)
% 0.13/0.44  ;     0.002   4%   Forward simplification       (192 calls)
% 0.13/0.44  ;     0.002   4%   Backward simplification      (181 calls)
% 0.13/0.44  ;     0.000   0%   Ordering                     (28 calls)
% 0.13/0.44  ;     0.000   0%   Sortal reasoning             (32 calls)
% 0.13/0.44  ;     0.000   0%   Purity testing               (1 call)
% 0.13/0.44  ;     0.018  33%   Other
% 0.13/0.44  ;     0.055        Total
% 0.13/0.44  ;     0.057        Real time
% 0.13/0.44  ; 
% 0.13/0.44  ; Term-hash-array has 356 terms in all.
% 0.13/0.44  ; Feature-vector-row-index has 12 entries (20 at peak, 24 added, 12 deleted).
% 0.13/0.44  ; Feature-vector-row-index has 42 nodes (154 at peak, 214 added, 172 deleted).
% 0.13/0.44  ;  Retrieved 6 possibly forward subsuming rows in 25 calls.
% 0.13/0.44  ;  Retrieved 4 possibly backward subsumed rows in 24 calls.
% 0.13/0.44  ; Path-index has 342 entries (359 at peak, 363 added, 21 deleted).
% 0.13/0.44  ; Path-index has 456 nodes (489 at peak, 497 added, 41 deleted).
% 0.13/0.44  ; Trie-index has 342 entries (359 at peak, 363 added, 21 deleted).
% 0.13/0.44  ; Trie-index has 1,689 nodes (1,747 at peak, 1,764 added, 75 deleted).
% 0.13/0.44  ; Retrieved 11 generalization terms in 166 calls.
% 0.13/0.44  ; Retrieved 162 instance terms in 156 calls.
% 0.13/0.44  ; Retrieved 2,719 unifiable terms in 653 calls.
% 0.13/0.44  ; 
% 0.13/0.44  ; The agenda of backward simplifiable rows to process has 2 entries:
% 0.13/0.44  ;     2 with value 0
% 0.13/0.44  ; The agenda of rows to process has 9 entries:
% 0.13/0.44  ;     1 with value 14              1 with value 16               2 with value 19
% 0.13/0.44  ;     2 with value 15              2 with value 18               1 with value 20
% 0.13/0.44  ; The agenda of rows to give has 137 entries:
% 0.13/0.44  ;     1 with value (4 12)          7 with value (4 28)           9 with value (4 33)
% 0.13/0.44  ;     6 with value (4 24)         16 with value (4 29)          16 with value (4 34)
% 0.13/0.44  ;     2 with value (4 25)         16 with value (4 30)           8 with value (4 35)
% 0.13/0.44  ;     8 with value (4 26)          6 with value (4 31)          16 with value (4 36)
% 0.13/0.44  ;     6 with value (4 27)         20 with value (4 32)
% 0.13/0.44  Evaluation took:
% 0.13/0.44    0.058 seconds of real time
% 0.13/0.44    0.051887 seconds of user run time
% 0.13/0.44    0.005912 seconds of system run time
% 0.13/0.44    0 calls to %EVAL
% 0.13/0.44    0 page faults and
% 0.13/0.44    4,261,792 bytes consed.
% 0.13/0.44  :PROOF-FOUND
% 0.13/0.44  ; End refute-file /export/starexec/sandbox2/benchmark/theBenchmark.p 2022-05-28T19:50:57
% 0.13/0.44  :PROOF-FOUND
% 0.13/0.44  * 
%------------------------------------------------------------------------------