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

View Problem - Process Solution

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

% Computer : n022.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.18s 0.52s
% Output   : Refutation 0.18s
% 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/sandbox/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/sandbox/benchmark/theBenchmark.p',one_is_knight_answer) ).

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

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

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

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

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

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

cnf(21,plain,
    ( truth(isa(asked,knave))
    | truth(isa(other,knave)) ),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,19,16,15]) ).

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

cnf(23,plain,
    truth(isa(asked,knave)),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,22,16,21]) ).

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

cnf(174,plain,
    truth(isa(other,knave)),
    inference('HYPERRESOLVE',[status(thm)],[prove_answer,28,23,15]) ).

cnf(175,plain,
    ~ says(asked,X),
    inference('UR-RESOLVE',[status(thm)],[prove_answer,174,23]) ).

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem  : PUZ035-4 : TPTP v8.1.0. Released v2.0.0.
% 0.07/0.12  % Command  : run-snark %s %d
% 0.12/0.33  % Computer : n022.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 23:00:53 EDT 2022
% 0.12/0.33  % CPUTime  : 
% 0.18/0.44  /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.18/0.45  * 
% 0.18/0.45  * 
% 0.18/0.45  #<PACKAGE "SNARK-USER">
% 0.18/0.45  * 
% 0.18/0.45  SNARK-TPTP-OPTIONS
% 0.18/0.45  * 
% 0.18/0.45  ((AGENDA-LENGTH-LIMIT NIL) (AGENDA-LENGTH-BEFORE-SIMPLIFICATION-LIMIT NIL)
% 0.18/0.45   (USE-HYPERRESOLUTION T) (USE-UR-RESOLUTION T) (USE-PARAMODULATION T)
% 0.18/0.45   (USE-FACTORING :POS)
% 0.18/0.45   (USE-LITERAL-ORDERING-WITH-HYPERRESOLUTION 'LITERAL-ORDERING-P)
% 0.18/0.45   (USE-LITERAL-ORDERING-WITH-PARAMODULATION 'LITERAL-ORDERING-P)
% 0.18/0.45   (ORDERING-FUNCTIONS>CONSTANTS T) (ASSERT-CONTEXT :CURRENT)
% 0.18/0.45   (RUN-TIME-LIMIT 300) (LISTEN-FOR-COMMANDS NIL)
% 0.18/0.45   (USE-CLOSURE-WHEN-SATISFIABLE T) (PRINT-ROWS-WHEN-GIVEN NIL)
% 0.18/0.45   (PRINT-ROWS-WHEN-DERIVED NIL) (PRINT-UNORIENTABLE-ROWS NIL)
% 0.18/0.45   (PRINT-ROW-WFFS-PRETTILY NIL) (PRINT-FINAL-ROWS :TPTP)
% 0.18/0.45   (PRINT-OPTIONS-WHEN-STARTING NIL) (USE-VARIABLE-NAME-SORTS NIL)
% 0.18/0.45   (USE-PURITY-TEST T) (USE-RELEVANCE-TEST T) (DECLARE-TPTP-SYMBOLS1)
% 0.18/0.45   (DECLARE-TPTP-SYMBOLS2))
% 0.18/0.45  * 
% 0.18/0.45  "."
% 0.18/0.45  * 
% 0.18/0.45  ; Begin refute-file /export/starexec/sandbox/benchmark/theBenchmark.p 2022-05-28T23:00:53
% 0.18/0.46  ; Running SNARK from /davis/home/graph/tptp/Systems/SNARK---20120808r022/Source/snark-system.lisp in SBCL 1.0.12 on n022.cluster.edu at 2022-05-28T23:00:53
% 0.18/0.52  
% 0.18/0.52  
% 0.18/0.52  #||
% 0.18/0.52  % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.18/0.52  % SZS output start Refutation
% See solution above
% 0.18/0.52  ||#
% 0.18/0.52  
% 0.18/0.52  ; Summary of computation:
% 0.18/0.52  ;       204 formulas have been input or derived (from 36 formulas).
% 0.18/0.52  ;       176 (86%) were retained.  Of these,
% 0.18/0.52  ;           12 ( 7%) were simplified or subsumed later,
% 0.18/0.52  ;          164 (93%) are still being kept.
% 0.18/0.52  ; 
% 0.18/0.52  ; Run time in seconds excluding printing time:
% 0.18/0.52  ;     0.003   5%   Read assertion file          (1 call)
% 0.18/0.52  ;     0.000   0%   Assert                       (14 calls)
% 0.18/0.52  ;     0.019  31%   Process new row              (192 calls)
% 0.18/0.52  ;     0.006  10%   Resolution                   (70 calls)
% 0.18/0.52  ;     0.001   2%   Paramodulation               (35 calls)
% 0.18/0.52  ;     0.000   0%   Factoring                    (7 calls)
% 0.18/0.52  ;     0.000   0%   Condensing                   (22 calls)
% 0.18/0.52  ;     0.003   5%   Forward subsumption          (22 calls)
% 0.18/0.52  ;     0.000   0%   Backward subsumption         (21 calls)
% 0.18/0.52  ;     0.000   0%   Clause clause subsumption    (9 calls)
% 0.18/0.52  ;     0.003   5%   Forward simplification       (186 calls)
% 0.18/0.52  ;     0.004   7%   Backward simplification      (176 calls)
% 0.18/0.52  ;     0.000   0%   Ordering                     (27 calls)
% 0.18/0.52  ;     0.000   0%   Sortal reasoning             (32 calls)
% 0.18/0.52  ;     0.000   0%   Purity testing               (1 call)
% 0.18/0.52  ;     0.022  36%   Other
% 0.18/0.52  ;     0.061        Total
% 0.18/0.52  ;     0.064        Real time
% 0.18/0.52  ; 
% 0.18/0.52  ; Term-hash-array has 350 terms in all.
% 0.18/0.52  ; Feature-vector-row-index has 10 entries (18 at peak, 21 added, 11 deleted).
% 0.18/0.52  ; Feature-vector-row-index has 34 nodes (146 at peak, 188 added, 154 deleted).
% 0.18/0.52  ;  Retrieved 6 possibly forward subsuming rows in 22 calls.
% 0.18/0.52  ;  Retrieved 3 possibly backward subsumed rows in 21 calls.
% 0.18/0.52  ; Path-index has 338 entries (353 at peak, 355 added, 17 deleted).
% 0.18/0.52  ; Path-index has 456 nodes (484 at peak, 484 added, 28 deleted).
% 0.18/0.52  ; Trie-index has 338 entries (353 at peak, 355 added, 17 deleted).
% 0.18/0.52  ; Trie-index has 1,689 nodes (1,741 at peak, 1,742 added, 53 deleted).
% 0.18/0.52  ; Retrieved 10 generalization terms in 162 calls.
% 0.18/0.52  ; Retrieved 158 instance terms in 154 calls.
% 0.18/0.52  ; Retrieved 2,529 unifiable terms in 606 calls.
% 0.18/0.52  ; 
% 0.18/0.52  ; The agenda of backward simplifiable rows to process has 2 entries:
% 0.18/0.52  ;     2 with value 0
% 0.18/0.52  ; The agenda of rows to process has 6 entries:
% 0.18/0.52  ;     1 with value 14              1 with value 16               1 with value 20
% 0.18/0.52  ;     1 with value 15              2 with value 19
% 0.18/0.52  ; The agenda of rows to give has 137 entries:
% 0.18/0.52  ;     1 with value (4 12)          7 with value (4 28)           9 with value (4 33)
% 0.18/0.52  ;     6 with value (4 24)         16 with value (4 29)          16 with value (4 34)
% 0.18/0.52  ;     2 with value (4 25)         16 with value (4 30)           8 with value (4 35)
% 0.18/0.52  ;     8 with value (4 26)          6 with value (4 31)          16 with value (4 36)
% 0.18/0.52  ;     6 with value (4 27)         20 with value (4 32)
% 0.18/0.52  Evaluation took:
% 0.18/0.52    0.065 seconds of real time
% 0.18/0.52    0.063177 seconds of user run time
% 0.18/0.52    0.001021 seconds of system run time
% 0.18/0.52    0 calls to %EVAL
% 0.18/0.52    0 page faults and
% 0.18/0.52    4,160,320 bytes consed.
% 0.18/0.52  :PROOF-FOUND
% 0.18/0.52  ; End refute-file /export/starexec/sandbox/benchmark/theBenchmark.p 2022-05-28T23:00:53
% 0.18/0.52  :PROOF-FOUND
% 0.18/0.52  * 
%------------------------------------------------------------------------------