TSTP Solution File: DAT095_1 by SNARK---20120808r022

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SNARK---20120808r022
% Problem  : DAT095_1 : TPTP v8.1.0. Released v6.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run-snark %s %d

% Computer : n029.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 : Sat Jul 16 01:27:36 EDT 2022

% Result   : Theorem 1.24s 1.40s
% Output   : Refutation 1.24s
% Verified : 
% SZS Type : ERROR: Analysing output (Could not find formula named 'CODE-FOR-$$SUM')

% Comments : 
%------------------------------------------------------------------------------
tff(9,axiom,
    ! [X: $int,Y: list,Z: $int,U: list] :
      ( in(X,Y)
      | ( Y != cons(Z,U) )
      | ( X != Z ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',in_conv) ).

tff(31,axiom,
    ! [X: $int] : ( count(X,nil) = 0 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a) ).

tff(33,axiom,
    ! [X: $int,Y: $int,Z: list] :
      ( ( count(X,cons(Y,Z)) = $sum(count(X,Z),1) )
      | ( X != Y ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_4) ).

tff(34,plain,
    ! [X: $int,Y: $int,Z: list] :
      ( ( count(X,cons(Y,Z)) = $sum(1,count(X,Z)) )
      | ( X != Y ) ),
    inference('REWRITE',[status(thm)],[33,'CODE-FOR-$$SUM']) ).

tff(35,axiom,
    ! [X: list] : ( append(nil,X) = X ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',l_6) ).

tff(36,axiom,
    ! [X: $int,Y: list,Z: list] : ( append(cons(X,Y),Z) = cons(X,append(Y,Z)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',l_7) ).

tff(39,negated_conjecture,
    ! [X: $int,Y: list,Z: list,U: $int] :
      ( ~ in(X,Y)
      | ( Z != cons(U,Y) )
      | ( count(X,Z) = count(X,Y) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',c) ).

tff(45,plain,
    ! [X: $int,Y: list] : ( append(cons(X,nil),Y) = cons(X,Y) ),
    inference('PARAMODULATE',[status(thm)],[36,35,theory(equality)]) ).

tff(51,plain,
    ! [X: $int,Y: list,Z: list] : ( append(cons(X,Y),Z) = append(cons(X,nil),append(Y,Z)) ),
    inference('REWRITE',[status(thm)],[36,45,theory(equality)]) ).

tff(52,plain,
    ! [X: $int,Y: list] : in(X,cons(X,Y)),
    inference('HYPERRESOLVE',[status(thm)],[9,theory(equality),theory(equality)]) ).

tff(65,plain,
    ! [X: $int,Y: list] : ( count(X,cons(X,Y)) = $sum(1,count(X,Y)) ),
    inference('HYPERRESOLVE',[status(thm)],[34,theory(equality)]) ).

tff(75,plain,
    ! [X: $int,Y: $int,Z: list] : ( count(X,append(cons(Y,nil),cons(X,Z))) = $sum(1,count(X,Z)) ),
    inference('REWRITE',[status(thm)],[inference('HYPERRESOLVE',[status(thm)],[39,52,theory(equality)]),65,45,theory(equality)]) ).

tff(145,plain,
    ! [X: $int,Y: list] : ( count(X,append(cons(X,nil),Y)) = $sum(1,count(X,Y)) ),
    inference('PARAMODULATE',[status(thm)],[65,45,theory(equality)]) ).

tff(316,plain,
    ! [X: $int,Y: list,Z: list] : ( count(X,append(cons(X,Y),Z)) = $sum(1,count(X,append(Y,Z))) ),
    inference('PARAMODULATE',[status(thm)],[145,51,theory(equality)]) ).

tff(759,plain,
    ! [X: $int,Y: list] : ( $sum(2,count(X,Y)) = $sum(1,count(X,Y)) ),
    inference('REWRITE',[status(thm)],[inference('PARAMODULATE',[status(thm)],[75,316,theory(equality)]),'CODE-FOR-$$SUM',65,35,theory(equality)]) ).

cnf(763,plain,
    $false,
    inference('REWRITE',[status(thm)],[inference('PARAMODULATE',[status(thm)],[759,31,theory(equality)]),'CODE-FOR-$$SUM',theory(equality)]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem  : DAT095_1 : TPTP v8.1.0. Released v6.1.0.
% 0.13/0.13  % Command  : run-snark %s %d
% 0.13/0.34  % Computer : n029.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 : Fri Jul  1 19:02:39 EDT 2022
% 0.13/0.34  % CPUTime  : 
% 0.21/0.45  /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.21/0.46  * 
% 0.21/0.46  * 
% 0.21/0.47  #<PACKAGE "SNARK-USER">
% 0.21/0.47  * 
% 0.21/0.47  SNARK-TPTP-OPTIONS
% 0.21/0.47  * 
% 0.21/0.47  ((AGENDA-LENGTH-LIMIT NIL) (AGENDA-LENGTH-BEFORE-SIMPLIFICATION-LIMIT NIL)
% 0.21/0.47   (USE-HYPERRESOLUTION T) (USE-UR-RESOLUTION T) (USE-PARAMODULATION T)
% 0.21/0.47   (USE-FACTORING :POS)
% 0.21/0.47   (USE-LITERAL-ORDERING-WITH-HYPERRESOLUTION 'LITERAL-ORDERING-P)
% 0.21/0.47   (USE-LITERAL-ORDERING-WITH-PARAMODULATION 'LITERAL-ORDERING-P)
% 0.21/0.47   (ORDERING-FUNCTIONS>CONSTANTS T) (ASSERT-CONTEXT :CURRENT)
% 0.21/0.47   (RUN-TIME-LIMIT 300) (LISTEN-FOR-COMMANDS NIL)
% 0.21/0.47   (USE-CLOSURE-WHEN-SATISFIABLE T) (PRINT-ROWS-WHEN-GIVEN NIL)
% 0.21/0.47   (PRINT-ROWS-WHEN-DERIVED NIL) (PRINT-UNORIENTABLE-ROWS NIL)
% 0.21/0.47   (PRINT-ROW-WFFS-PRETTILY NIL) (PRINT-FINAL-ROWS :TPTP)
% 0.21/0.47   (PRINT-OPTIONS-WHEN-STARTING NIL) (USE-VARIABLE-NAME-SORTS NIL)
% 0.21/0.47   (USE-PURITY-TEST T) (USE-RELEVANCE-TEST T) (DECLARE-TPTP-SYMBOLS1)
% 0.21/0.47   (DECLARE-TPTP-SYMBOLS2))
% 0.21/0.47  * 
% 0.21/0.47  "."
% 0.21/0.47  * 
% 0.21/0.47  ; Begin refute-file /export/starexec/sandbox/benchmark/theBenchmark.p 2022-07-01T19:02:39
% 0.21/0.47  ; Running SNARK from /davis/home/graph/tptp/Systems/SNARK---20120808r022/Source/snark-system.lisp in SBCL 1.0.12 on n029.cluster.edu at 2022-07-01T19:02:39
% 1.24/1.40  
% 1.24/1.40  
% 1.24/1.40  #||
% 1.24/1.40  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p
% 1.24/1.40  % SZS output start Refutation
% See solution above
% 1.24/1.42  ||#
% 1.24/1.42  
% 1.24/1.42  ; Summary of computation:
% 1.24/1.42  ;      6075 formulas have been input or derived (from 163 formulas).
% 1.24/1.42  ;       763 (13%) were retained.  Of these,
% 1.24/1.42  ;           84 (11%) were simplified or subsumed later,
% 1.24/1.42  ;          679 (89%) are still being kept.
% 1.24/1.42  ; 
% 1.24/1.42  ; Run time in seconds excluding printing time:
% 1.24/1.42  ;     0.006   1%   Read assertion file          (1 call)
% 1.24/1.42  ;     0.001   0%   Assert                       (15 calls)
% 1.24/1.42  ;     0.099  11%   Process new row              (5,707 calls)
% 1.24/1.42  ;     0.083   9%   Resolution                   (324 calls)
% 1.24/1.42  ;     0.012   1%   Paramodulation               (162 calls)
% 1.24/1.42  ;     0.002   0%   Factoring                    (61 calls)
% 1.24/1.42  ;     0.024   3%   Condensing                   (1,966 calls)
% 1.24/1.42  ;     0.117  13%   Forward subsumption          (1,966 calls)
% 1.24/1.42  ;     0.024   3%   Backward subsumption         (608 calls)
% 1.24/1.42  ;     0.013   1%   Clause clause subsumption    (4,147 calls)
% 1.24/1.42  ;     0.267  29%   Forward simplification       (5,262 calls)
% 1.24/1.42  ;     0.010   1%   Backward simplification      (762 calls)
% 1.24/1.42  ;     0.201  22%   Ordering                     (49,277 calls)
% 1.24/1.42  ;     0.000   0%   Ordering ac                  (4 calls)
% 1.24/1.42  ;     0.019   2%   Sortal reasoning             (18,627 calls)
% 1.24/1.42  ;     0.000   0%   Purity testing               (1 call)
% 1.24/1.42  ;     0.051   5%   Other
% 1.24/1.42  ;     0.929        Total
% 1.24/1.42  ;     0.947        Real time
% 1.24/1.42  ; 
% 1.24/1.42  ; Term-hash-array has 1,805 terms in all.
% 1.24/1.42  ; Feature-vector-row-index has 562 entries (562 at peak, 608 added, 46 deleted).
% 1.24/1.42  ; Feature-vector-row-index has 4,620 nodes (4,620 at peak, 5,017 added, 397 deleted).
% 1.24/1.42  ;  Retrieved 8,859 possibly forward subsuming rows in 1,966 calls.
% 1.24/1.42  ;  Retrieved 499 possibly backward subsumed rows in 608 calls.
% 1.24/1.42  ; Path-index has 1,717 entries (1,717 at peak, 1,941 added, 224 deleted).
% 1.24/1.42  ; Path-index has 5,529 nodes (5,529 at peak, 5,837 added, 308 deleted).
% 1.24/1.42  ; Trie-index has 1,717 entries (1,717 at peak, 1,941 added, 224 deleted).
% 1.24/1.42  ; Trie-index has 7,425 nodes (7,425 at peak, 8,222 added, 797 deleted).
% 1.24/1.42  ; Retrieved 53,088 generalization terms in 52,501 calls.
% 1.24/1.42  ; Retrieved 610 instance terms in 185 calls.
% 1.24/1.42  ; Retrieved 43,710 unifiable terms in 2,189 calls.
% 1.24/1.42  ; 
% 1.24/1.42  ; The agenda of rows to process has 79 entries:
% 1.24/1.42  ;     2 with value 18              8 with value 27               2 with value 43
% 1.24/1.42  ;     2 with value 21              9 with value 28               2 with value 44
% 1.24/1.42  ;     8 with value 22              8 with value 30               2 with value 47
% 1.24/1.42  ;     4 with value 23              4 with value 33               2 with value 48
% 1.24/1.42  ;    16 with value 25              2 with value 39               2 with value 50
% 1.24/1.42  ;     2 with value 26              2 with value 42               2 with value 58
% 1.24/1.42  ; The agenda of rows to give has 530 entries:
% 1.24/1.42  ;     7 with value (4 22)          4 with value (4 43)           4 with value (4 68)
% 1.24/1.42  ;    22 with value (4 23)         10 with value (4 44)           1 with value (4 69)
% 1.24/1.42  ;    32 with value (4 24)         11 with value (4 45)           1 with value (4 70)
% 1.24/1.42  ;    28 with value (4 25)          7 with value (4 46)           1 with value (4 71)
% 1.24/1.42  ;    26 with value (4 26)          5 with value (4 47)           5 with value (4 72)
% 1.24/1.42  ;    25 with value (4 27)          4 with value (4 48)           3 with value (4 73)
% 1.24/1.42  ;    22 with value (4 28)          8 with value (4 49)           2 with value (4 75)
% 1.24/1.42  ;    26 with value (4 29)          1 with value (4 50)           2 with value (4 77)
% 1.24/1.42  ;    17 with value (4 30)          1 with value (4 51)           2 with value (4 79)
% 1.24/1.42  ;    35 with value (4 31)          3 with value (4 52)           1 with value (4 80)
% 1.24/1.42  ;    24 with value (4 32)          2 with value (4 53)           1 with value (4 81)
% 1.24/1.42  ;    21 with value (4 33)          3 with value (4 54)           1 with value (4 83)
% 1.24/1.42  ;    18 with value (4 34)          5 with value (4 55)           1 with value (4 84)
% 1.24/1.42  ;    20 with value (4 35)          5 with value (4 56)           1 with value (4 85)
% 1.24/1.42  ;    21 with value (4 36)          8 with value (4 57)           1 with value (4 86)
% 1.24/1.42  ;     8 with value (4 37)          4 with value (4 59)           1 with value (4 88)
% 1.24/1.42  ;     9 with value (4 38)          7 with value (4 61)           1 with value (4 89)
% 1.24/1.42  ;    15 with value (4 39)          4 with value (4 63)           1 with value (4 92)
% 1.24/1.42  ;     5 with value (4 40)          6 with value (4 64)           2 with value (4 100)
% 1.24/1.42  ;     5 with value (4 41)          4 with value (4 65)           1 with value (4 103)
% 1.24/1.42  ;     7 with value (4 42)          2 with value (4 66)
% 1.24/1.42  Evaluation took:
% 1.24/1.42    0.947 seconds of real time
% 1.24/1.42    0.837987 seconds of user run time
% 1.24/1.42    0.109244 seconds of system run time
% 1.24/1.42    [Run times include 0.039 seconds GC run time.]
% 1.24/1.42    0 calls to %EVAL
% 1.24/1.42    0 page faults and
% 1.24/1.42    64,561,800 bytes consed.
% 1.24/1.42  :PROOF-FOUND
% 1.24/1.42  ; End refute-file /export/starexec/sandbox/benchmark/theBenchmark.p 2022-07-01T19:02:40
% 1.24/1.42  :PROOF-FOUND
% 1.24/1.42  * 
%------------------------------------------------------------------------------