
(/VERSIONCHECK 2) 

(PUT '|IFARRAY;physicalLength;$Nni;1| '|SPADreplace|
     '(XLAM (|r|) (QVELT |r| 0))) 

(DEFUN |IFARRAY;physicalLength;$Nni;1| (|r| $) (QVELT |r| 0)) 

(DEFUN |IFARRAY;physicalLength!;$I$;2| (|r| |n| $)
  (COND ((EQL (QVELT |r| 0) 0) (|error| "flexible array must be non-empty"))
        ('T (|IFARRAY;growWith| |r| |n| (QAREF1 (QVELT |r| 2) 0) $)))) 

(DEFUN |IFARRAY;empty;$;3| ($) (VECTOR 0 0 (MAKE-ARRAY 0))) 

(DEFUN |IFARRAY;#;$Nni;4| (|r| $)
  (PROG (#1=#:G1821)
    (RETURN
     (PROG1 (LETT #1# (QVELT |r| 1) |IFARRAY;#;$Nni;4|)
       (|check-subtype| (>= #1# 0) '(|NonNegativeInteger|) #1#))))) 

(DEFUN |IFARRAY;fill!;$S$;5| (|r| |x| $)
  (SEQ (SPADCALL (QVELT |r| 2) |x| (QREFELT $ 17)) (EXIT |r|))) 

(DEFUN |IFARRAY;maxIndex;$I;6| (|r| $) (+ (- (QVELT |r| 1) 1) (QREFELT $ 7))) 

(DEFUN |IFARRAY;minIndex;$I;7| (|r| $) (QREFELT $ 7)) 

(DEFUN |IFARRAY;new;NniS$;8| (|n| |a| $) (VECTOR |n| |n| (MAKEARR1 |n| |a|))) 

(DEFUN |IFARRAY;shrinkable;2B;9| (|b| $)
  (PROG (|oldval|)
    (RETURN
     (SEQ (LETT |oldval| (QREFELT $ 9) |IFARRAY;shrinkable;2B;9|)
          (SETELT $ 9 |b|) (EXIT |oldval|))))) 

(DEFUN |IFARRAY;flexibleArray;L$;10| (|l| $)
  (PROG (#1=#:G1852 |i| #2=#:G1853 |y| |a| |x| |n|)
    (RETURN
     (SEQ (LETT |n| (LENGTH |l|) . #3=(|IFARRAY;flexibleArray;L$;10|))
          (EXIT
           (COND ((EQL |n| 0) (SPADCALL (QREFELT $ 14)))
                 ('T
                  (SEQ (LETT |x| (SPADCALL |l| 1 (QREFELT $ 25)) . #3#)
                       (LETT |a| (SPADCALL |n| |x| (QREFELT $ 21)) . #3#)
                       (SEQ (LETT |y| NIL . #3#) (LETT #2# (CDR |l|) . #3#)
                            (LETT |i| (+ (QREFELT $ 7) 1) . #3#)
                            (LETT #1# (- (+ (QREFELT $ 7) |n|) 1) . #3#) G190
                            (COND
                             ((OR (> |i| #1#) (ATOM #2#)
                                  (PROGN (LETT |y| (CAR #2#) . #3#) NIL))
                              (GO G191)))
                            (SEQ (EXIT (SPADCALL |a| |i| |y| (QREFELT $ 26))))
                            (LETT |i|
                                  (PROG1 (+ |i| 1) (LETT #2# (CDR #2#) . #3#))
                                  . #3#)
                            (GO G190) G191 (EXIT NIL))
                       (EXIT |a|))))))))) 

(DEFUN |IFARRAY;newa| (|n| |a| $)
  (COND ((ZEROP |n|) (MAKE-ARRAY 0)) ('T (MAKEARR1 |n| (QAREF1 |a| 0))))) 

(DEFUN |IFARRAY;growAdding| (|r| |b| |s| $)
  (COND ((EQL |b| 0) |r|)
        ((< 0 (SPADCALL |r| (QREFELT $ 15)))
         (|IFARRAY;growAndFill| |r| |b| (QAREF1 (QVELT |r| 2) 0) $))
        ((< 0 (SPADCALL |s| (QREFELT $ 15)))
         (|IFARRAY;growAndFill| |r| |b| (QAREF1 (QVELT |s| 2) 0) $))
        ('T (|error| "no default filler element")))) 

(DEFUN |IFARRAY;growAndFill| (|r| |b| |x| $)
  (PROG (|n|)
    (RETURN
     (SEQ
      (COND
       ((NULL (< (QVELT |r| 0) (QSETVELT |r| 1 (+ (QVELT |r| 1) |b|)))) |r|)
       ('T
        (SEQ
         (LETT |n| (+ (+ (QVELT |r| 0) (QUOTIENT2 (QVELT |r| 0) 2)) 1)
               . #1=(|IFARRAY;growAndFill|))
         (COND ((< |n| (QVELT |r| 1)) (LETT |n| (QVELT |r| 1) . #1#)))
         (EXIT (|IFARRAY;growWith| |r| |n| |x| $))))))))) 

(DEFUN |IFARRAY;growWith| (|r| |n| |x| $)
  (PROG (#1=#:G1869 |k| |a| |y| #2=#:G1864)
    (RETURN
     (SEQ
      (LETT |y|
            (MAKEARR1
             (PROG1 (LETT #2# |n| . #3=(|IFARRAY;growWith|))
               (|check-subtype| (>= #2# 0) '(|NonNegativeInteger|) #2#))
             |x|)
            . #3#)
      (LETT |a| (QVELT |r| 2) . #3#)
      (SEQ (LETT |k| 0 . #3#) (LETT #1# (- (QVELT |r| 0) 1) . #3#) G190
           (COND ((QSGREATERP |k| #1#) (GO G191)))
           (SEQ (EXIT (QSETAREF1 |y| |k| (QAREF1 |a| |k|))))
           (LETT |k| (QSADD1 |k|) . #3#) (GO G190) G191 (EXIT NIL))
      (QSETVELT |r| 0 |n|) (QSETVELT |r| 2 |y|) (EXIT |r|))))) 

(DEFUN |IFARRAY;shrink| (|r| |i| $)
  (PROG (#1=#:G1879 |k| |y| |a| #2=#:G1871 |n|)
    (RETURN
     (SEQ (QSETVELT |r| 1 (- (QVELT |r| 1) |i|))
          (EXIT
           (COND
            ((MINUSP (LETT |n| (QVELT |r| 1) . #3=(|IFARRAY;shrink|)))
             (|error| "internal bug in flexible array"))
            ((OR (< (QVELT |r| 0) (+ (SPADCALL 2 |n| (QREFELT $ 29)) 2))
                 (NULL (QREFELT $ 9)))
             |r|)
            ('T
             (SEQ
              (COND
               ((< |n| (QVELT |r| 1))
                (|error| "cannot shrink flexible array to indicated size")))
              (EXIT
               (COND ((EQL |n| 0) (SPADCALL (QREFELT $ 14)))
                     ('T
                      (SEQ (QSETVELT |r| 0 |n|)
                           (LETT |y|
                                 (|IFARRAY;newa|
                                  (PROG1 (LETT #2# |n| . #3#)
                                    (|check-subtype| (>= #2# 0)
                                                     '(|NonNegativeInteger|)
                                                     #2#))
                                  (LETT |a| (QVELT |r| 2) . #3#) $)
                                 . #3#)
                           (SEQ (LETT |k| 0 . #3#) (LETT #1# (- |n| 1) . #3#)
                                G190 (COND ((QSGREATERP |k| #1#) (GO G191)))
                                (SEQ
                                 (EXIT (QSETAREF1 |y| |k| (QAREF1 |a| |k|))))
                                (LETT |k| (QSADD1 |k|) . #3#) (GO G190) G191
                                (EXIT NIL))
                           (QSETVELT |r| 2 |y|) (EXIT |r|))))))))))))) 

(DEFUN |IFARRAY;copy;2$;16| (|r| $)
  (PROG (#1=#:G1884 |k| |v| |a| |n|)
    (RETURN
     (SEQ (LETT |n| (SPADCALL |r| (QREFELT $ 15)) . #2=(|IFARRAY;copy;2$;16|))
          (LETT |a| (QVELT |r| 2) . #2#)
          (LETT |v| (|IFARRAY;newa| |n| (LETT |a| (QVELT |r| 2) . #2#) $)
                . #2#)
          (SEQ (LETT |k| 0 . #2#) (LETT #1# (- |n| 1) . #2#) G190
               (COND ((QSGREATERP |k| #1#) (GO G191)))
               (SEQ (EXIT (QSETAREF1 |v| |k| (QAREF1 |a| |k|))))
               (LETT |k| (QSADD1 |k|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT (VECTOR |n| |n| |v|)))))) 

(DEFUN |IFARRAY;elt;$IS;17| (|r| |i| $)
  (COND
   ((OR (< |i| (QREFELT $ 7)) (NULL (< |i| (+ (QVELT |r| 1) (QREFELT $ 7)))))
    (|error| "index out of range"))
   ('T (QAREF1 (QVELT |r| 2) (- |i| (QREFELT $ 7)))))) 

(DEFUN |IFARRAY;setelt;$I2S;18| (|r| |i| |x| $)
  (COND
   ((OR (< |i| (QREFELT $ 7)) (NULL (< |i| (+ (QVELT |r| 1) (QREFELT $ 7)))))
    (|error| "index out of range"))
   ('T (QSETAREF1 (QVELT |r| 2) (- |i| (QREFELT $ 7)) |x|)))) 

(DEFUN |IFARRAY;merge;M3$;19| (|g| |a| |b| $)
  (SPADCALL |g| (SPADCALL |a| (QREFELT $ 30)) |b| (QREFELT $ 33))) 

(DEFUN |IFARRAY;concat;S2$;20| (|x| |r| $)
  (SPADCALL |x| |r| (QREFELT $ 7) (QREFELT $ 35))) 

(DEFUN |IFARRAY;concat!;$S$;21| (|r| |x| $)
  (SEQ (|IFARRAY;growAndFill| |r| 1 |x| $)
       (QSETAREF1 (QVELT |r| 2) (- (QVELT |r| 1) 1) |x|) (EXIT |r|))) 

(DEFUN |IFARRAY;concat!;3$;22| (|a| |b| $)
  (PROG (|n|)
    (RETURN
     (SEQ
      (COND
       ((SPADCALL |a| |b| (QREFELT $ 38))
        (LETT |b| (SPADCALL |b| (QREFELT $ 30))
              . #1=(|IFARRAY;concat!;3$;22|))))
      (LETT |n| (SPADCALL |a| (QREFELT $ 15)) . #1#)
      (|IFARRAY;growAdding| |a| (SPADCALL |b| (QREFELT $ 15)) |b| $)
      (EXIT (SPADCALL |a| |b| (+ |n| (QREFELT $ 7)) (QREFELT $ 39))))))) 

(DEFUN |IFARRAY;remove!;M2$;23| (|g| |a| $)
  (PROG (|k| #1=#:G1910 |i|)
    (RETURN
     (SEQ (LETT |k| 0 . #2=(|IFARRAY;remove!;M2$;23|))
          (SEQ (LETT |i| 0 . #2#)
               (LETT #1# (- (SPADCALL |a| (QREFELT $ 19)) (QREFELT $ 7)) . #2#)
               G190 (COND ((QSGREATERP |i| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((NULL (SPADCALL (SPADCALL |a| |i| (QREFELT $ 31)) |g|))
                   (SEQ
                    (SPADCALL |a| |k| (SPADCALL |a| |i| (QREFELT $ 31))
                              (QREFELT $ 26))
                    (EXIT (LETT |k| (+ |k| 1) . #2#)))))))
               (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT
           (|IFARRAY;shrink| |a| (- (SPADCALL |a| (QREFELT $ 15)) |k|) $)))))) 

(DEFUN |IFARRAY;delete!;$I$;24| (|r| |i1| $)
  (PROG (#1=#:G1916 |k| |i|)
    (RETURN
     (SEQ (LETT |i| (- |i1| (QREFELT $ 7)) . #2=(|IFARRAY;delete!;$I$;24|))
          (COND
           ((OR (< |i| 0) (< (QVELT |r| 1) |i|))
            (EXIT (|error| "index out of range"))))
          (SEQ (LETT |k| |i| . #2#) (LETT #1# (- (QVELT |r| 1) 2) . #2#) G190
               (COND ((> |k| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (QSETAREF1 (QVELT |r| 2) |k|
                            (QAREF1 (QVELT |r| 2) (+ |k| 1)))))
               (LETT |k| (+ |k| 1) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT (|IFARRAY;shrink| |r| 1 $)))))) 

(DEFUN |IFARRAY;delete!;$Us$;25| (|r| |i| $)
  (PROG (|j| |k| |h| |m| |l|)
    (RETURN
     (SEQ
      (LETT |l| (- (SPADCALL |i| (QREFELT $ 45)) (QREFELT $ 7))
            . #1=(|IFARRAY;delete!;$Us$;25|))
      (LETT |m| (- (SPADCALL |r| (QREFELT $ 19)) (QREFELT $ 7)) . #1#)
      (LETT |h|
            (COND
             ((SPADCALL |i| (QREFELT $ 46))
              (- (SPADCALL |i| (QREFELT $ 47)) (QREFELT $ 7)))
             ('T |m|))
            . #1#)
      (COND ((OR (< |l| 0) (< |m| |h|)) (EXIT (|error| "index out of range"))))
      (SEQ (LETT |k| (+ |h| 1) . #1#) (LETT |j| |l| . #1#) G190
           (COND ((> |k| |m|) (GO G191)))
           (SEQ
            (EXIT (QSETAREF1 (QVELT |r| 2) |j| (QAREF1 (QVELT |r| 2) |k|))))
           (LETT |j| (PROG1 (+ |j| 1) (LETT |k| (+ |k| 1) . #1#)) . #1#)
           (GO G190) G191 (EXIT NIL))
      (EXIT (|IFARRAY;shrink| |r| (MAX 0 (+ (- |h| |l|) 1)) $)))))) 

(DEFUN |IFARRAY;insert!;S$I$;26| (|x| |r| |i1| $)
  (PROG (|k| |n| |i|)
    (RETURN
     (SEQ (LETT |i| (- |i1| (QREFELT $ 7)) . #1=(|IFARRAY;insert!;S$I$;26|))
          (LETT |n| (QVELT |r| 1) . #1#)
          (COND
           ((OR (< |i| 0) (< |n| |i|)) (EXIT (|error| "index out of range"))))
          (|IFARRAY;growAndFill| |r| 1 |x| $)
          (SEQ (LETT |k| (- |n| 1) . #1#) G190 (COND ((< |k| |i|) (GO G191)))
               (SEQ
                (EXIT
                 (QSETAREF1 (QVELT |r| 2) (+ |k| 1)
                            (QAREF1 (QVELT |r| 2) |k|))))
               (LETT |k| (+ |k| -1) . #1#) (GO G190) G191 (EXIT NIL))
          (QSETAREF1 (QVELT |r| 2) |i| |x|) (EXIT |r|))))) 

(DEFUN |IFARRAY;insert!;2$I$;27| (|a| |b| |i1| $)
  (PROG (|k| |n| |m| |i|)
    (RETURN
     (SEQ (LETT |i| (- |i1| (QREFELT $ 7)) . #1=(|IFARRAY;insert!;2$I$;27|))
          (COND
           ((SPADCALL |a| |b| (QREFELT $ 38))
            (LETT |b| (SPADCALL |b| (QREFELT $ 30)) . #1#)))
          (LETT |m| (SPADCALL |a| (QREFELT $ 15)) . #1#)
          (LETT |n| (SPADCALL |b| (QREFELT $ 15)) . #1#)
          (COND
           ((OR (< |i| 0) (< |n| |i|)) (EXIT (|error| "index out of range"))))
          (|IFARRAY;growAdding| |b| |m| |a| $)
          (SEQ (LETT |k| (- |n| 1) . #1#) G190
               (COND ((< |k| |i|) #2=(GO G191)))
               (SEQ
                (EXIT
                 (QSETAREF1 (QVELT |b| 2) (+ |m| |k|)
                            (QAREF1 (QVELT |b| 2) |k|))))
               (LETT |k| (+ |k| -1) . #1#) #3=(GO G190) G191 (EXIT NIL))
          (SEQ (LETT |k| (- |m| 1) . #1#) G190 (COND ((< |k| 0) #2#))
               (SEQ
                (EXIT
                 (QSETAREF1 (QVELT |b| 2) (+ |i| |k|)
                            (QAREF1 (QVELT |a| 2) |k|))))
               (LETT |k| (+ |k| -1) . #1#) #3# G191 (EXIT NIL))
          (EXIT |b|))))) 

(DEFUN |IFARRAY;merge!;M3$;28| (|g| |a| |b| $)
  (PROG (|k| #1=#:G1942 |j| |i| |n| |m|)
    (RETURN
     (SEQ
      (LETT |m| (SPADCALL |a| (QREFELT $ 15)) . #2=(|IFARRAY;merge!;M3$;28|))
      (LETT |n| (SPADCALL |b| (QREFELT $ 15)) . #2#)
      (|IFARRAY;growAdding| |a| |n| |b| $)
      (SEQ (LETT |j| (- (+ |m| |n|) 1) . #2#) (LETT |i| (- |m| 1) . #2#) G190
           (COND ((< |i| 0) #3=(GO G191)))
           (SEQ
            (EXIT (QSETAREF1 (QVELT |a| 2) |j| (QAREF1 (QVELT |a| 2) |i|))))
           (LETT |i| (PROG1 (+ |i| -1) (LETT |j| (+ |j| -1) . #2#)) . #2#)
           #4=(GO G190) G191 (EXIT NIL))
      (LETT |i| |n| . #2#) (LETT |j| 0 . #2#)
      (SEQ (LETT |k| 0 . #2#) G190
           (COND
            ((NULL (COND ((< |i| (+ |n| |m|)) (< |j| |n|)) ('T 'NIL))) #3#))
           (SEQ
            (EXIT
             (COND
              ((SPADCALL (QAREF1 (QVELT |a| 2) |i|) (QAREF1 (QVELT |b| 2) |j|)
                         |g|)
               (SEQ (QSETAREF1 (QVELT |a| 2) |k| (QAREF1 (QVELT |a| 2) |i|))
                    (EXIT (LETT |i| (+ |i| 1) . #2#))))
              ('T
               (SEQ (QSETAREF1 (QVELT |a| 2) |k| (QAREF1 (QVELT |b| 2) |j|))
                    (EXIT (LETT |j| (+ |j| 1) . #2#)))))))
           (LETT |k| (QSADD1 |k|) . #2#) #4# G191 (EXIT NIL))
      (SEQ (LETT |j| |j| . #2#) (LETT #1# (- |n| 1) . #2#) (LETT |k| |k| . #2#)
           G190 (COND ((> |j| #1#) #3#))
           (SEQ
            (EXIT (QSETAREF1 (QVELT |a| 2) |k| (QAREF1 (QVELT |b| 2) |j|))))
           (LETT |k| (PROG1 (+ |k| 1) (LETT |j| (+ |j| 1) . #2#)) . #2#) #4#
           G191 (EXIT NIL))
      (EXIT |a|))))) 

(DEFUN |IFARRAY;select!;M2$;29| (|g| |a| $)
  (PROG (|k| #1=#:G1949 |i|)
    (RETURN
     (SEQ (LETT |k| 0 . #2=(|IFARRAY;select!;M2$;29|))
          (SEQ (LETT |i| 0 . #2#)
               (LETT #1# (- (SPADCALL |a| (QREFELT $ 19)) (QREFELT $ 7)) . #2#)
               G190 (COND ((QSGREATERP |i| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((SPADCALL (QAREF1 (QVELT |a| 2) |i|) |g|)
                   (SEQ
                    (QSETAREF1 (QVELT |a| 2) |k| (QAREF1 (QVELT |a| 2) |i|))
                    (EXIT (LETT |k| (+ |k| 1) . #2#)))))))
               (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT
           (|IFARRAY;shrink| |a| (- (SPADCALL |a| (QREFELT $ 15)) |k|) $)))))) 

(DEFUN |IFARRAY;removeDuplicates!;2$;30| (|a| $)
  (PROG (|i| |nlim| |j| #1=#:G1959 |k| |nlim0| |ct|)
    (RETURN
     (SEQ
      (LETT |ct| (SPADCALL |a| (QREFELT $ 15))
            . #2=(|IFARRAY;removeDuplicates!;2$;30|))
      (EXIT
       (COND ((< |ct| 2) |a|)
             (#3='T
              (SEQ (LETT |i| (QREFELT $ 7) . #2#)
                   (LETT |nlim| (+ (QREFELT $ 7) |ct|) . #2#)
                   (LETT |nlim0| |nlim| . #2#)
                   (SEQ G190 (COND ((NULL (< |i| |nlim|)) #4=(GO G191)))
                        (SEQ (LETT |j| (+ |i| 1) . #2#)
                             (SEQ (LETT |k| |j| . #2#)
                                  (LETT #1# (- |nlim| 1) . #2#) G190
                                  (COND ((> |k| #1#) #4#))
                                  (SEQ
                                   (EXIT
                                    (COND
                                     ((COND
                                       ((SPADCALL
                                         (SPADCALL |a| |k| (QREFELT $ 31))
                                         (SPADCALL |a| |i| (QREFELT $ 31))
                                         (QREFELT $ 51))
                                        'NIL)
                                       ('T 'T))
                                      (SEQ
                                       (SPADCALL |a| |j|
                                                 (SPADCALL |a| |k|
                                                           (QREFELT $ 31))
                                                 (QREFELT $ 26))
                                       (EXIT (LETT |j| (+ |j| 1) . #2#)))))))
                                  (LETT |k| (+ |k| 1) . #2#) #5=(GO G190) G191
                                  (EXIT NIL))
                             (LETT |nlim| |j| . #2#)
                             (EXIT (LETT |i| (+ |i| 1) . #2#)))
                        NIL #5# G191 (EXIT NIL))
                   (EXIT
                    (COND ((EQL |nlim| |nlim0|) |a|)
                          (#3#
                           (SPADCALL |a| (SPADCALL |i| (QREFELT $ 52))
                                     (QREFELT $ 48))))))))))))) 

(DEFUN |IndexedFlexibleArray| (&REST #1=#:G1968)
  (PROG ()
    (RETURN
     (PROG (#2=#:G1969)
       (RETURN
        (COND
         ((LETT #2#
                (|lassocShiftWithFunction| (|devaluateList| #1#)
                                           (HGET |$ConstructorCache|
                                                 '|IndexedFlexibleArray|)
                                           '|domainEqualList|)
                . #3=(|IndexedFlexibleArray|))
          (|CDRwithIncrement| #2#))
         ('T
          (UNWIND-PROTECT
              (PROG1 (APPLY (|function| |IndexedFlexibleArray;|) #1#)
                (LETT #2# T . #3#))
            (COND
             ((NOT #2#)
              (HREM |$ConstructorCache| '|IndexedFlexibleArray|))))))))))) 

(DEFUN |IndexedFlexibleArray;| (|#1| |#2|)
  (PROG (#1=#:G1967 |pv$| #2=#:G1966 $ |dv$| DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #3=(|IndexedFlexibleArray|))
      (LETT DV$2 (|devaluate| |#2|) . #3#)
      (LETT |dv$| (LIST '|IndexedFlexibleArray| DV$1 DV$2) . #3#)
      (LETT $ (GETREFV 66) . #3#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| |#1| '(|SetCategory|))
                                          (|HasCategory| |#1|
                                                         '(|ConvertibleTo|
                                                           (|InputForm|)))
                                          (LETT #2#
                                                (|HasCategory| |#1|
                                                               '(|OrderedSet|))
                                                . #3#)
                                          (OR #2#
                                              (|HasCategory| |#1|
                                                             '(|SetCategory|)))
                                          (|HasCategory| (|Integer|)
                                                         '(|OrderedSet|))
                                          (AND
                                           (|HasCategory| |#1|
                                                          (LIST '|Evalable|
                                                                (|devaluate|
                                                                 |#1|)))
                                           (|HasCategory| |#1|
                                                          '(|SetCategory|)))
                                          (OR
                                           (AND
                                            (|HasCategory| |#1|
                                                           (LIST '|Evalable|
                                                                 (|devaluate|
                                                                  |#1|)))
                                            #2#)
                                           (AND
                                            (|HasCategory| |#1|
                                                           (LIST '|Evalable|
                                                                 (|devaluate|
                                                                  |#1|)))
                                            (|HasCategory| |#1|
                                                           '(|SetCategory|))))))
                      . #3#))
      (|haddProp| |$ConstructorCache| '|IndexedFlexibleArray| (LIST DV$1 DV$2)
                  (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (AND (LETT #1# (|HasCategory| $ '(|finiteAggregate|)) . #3#)
           (|augmentPredVector| $ 128))
      (AND (|HasCategory| |#1| '(|SetCategory|)) #1#
           (|augmentPredVector| $ 256))
      (AND (|HasCategory| $ '(|shallowlyMutable|)) (|augmentPredVector| $ 512))
      (AND #2# (|HasCategory| $ '(|shallowlyMutable|))
           (|augmentPredVector| $ 1024))
      (QSETREFV $ 8
                (|Record| (|:| |physLen| (|Integer|))
                          (|:| |logLen| (|Integer|))
                          (|:| |f| (|PrimitiveArray| |#1|))))
      (QSETREFV $ 9 'T)
      (COND
       ((|testBitVector| |pv$| 1)
        (QSETREFV $ 53
                  (CONS (|dispatchFunction| |IFARRAY;removeDuplicates!;2$;30|)
                        $))))
      $)))) 

(MAKEPROP '|IndexedFlexibleArray| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|) '|Rep|
              '|shrinkable?| (|NonNegativeInteger|)
              |IFARRAY;physicalLength;$Nni;1| (|Integer|)
              |IFARRAY;physicalLength!;$I$;2| |IFARRAY;empty;$;3|
              |IFARRAY;#;$Nni;4| (|PrimitiveArray| 6) (0 . |fill!|)
              |IFARRAY;fill!;$S$;5| |IFARRAY;maxIndex;$I;6|
              |IFARRAY;minIndex;$I;7| |IFARRAY;new;NniS$;8| (|Boolean|)
              |IFARRAY;shrinkable;2B;9| (|List| 6) (6 . |elt|)
              |IFARRAY;setelt;$I2S;18| |IFARRAY;flexibleArray;L$;10|
              (|PositiveInteger|) (12 . *) |IFARRAY;copy;2$;16|
              |IFARRAY;elt;$IS;17| (|Mapping| 22 6 6) |IFARRAY;merge!;M3$;28|
              |IFARRAY;merge;M3$;19| |IFARRAY;insert!;S$I$;26|
              |IFARRAY;concat;S2$;20| |IFARRAY;concat!;$S$;21| (18 . |eq?|)
              (24 . |copyInto!|) |IFARRAY;concat!;3$;22| (|Mapping| 22 6)
              |IFARRAY;remove!;M2$;23| |IFARRAY;delete!;$I$;24|
              (|UniversalSegment| 12) (31 . |lo|) (36 . |hasHi|) (41 . |hi|)
              |IFARRAY;delete!;$Us$;25| |IFARRAY;insert!;2$I$;27|
              |IFARRAY;select!;M2$;29| (46 . =) (52 . SEGMENT)
              (57 . |removeDuplicates!|) (|Mapping| 6 6 6) (|Equation| 6)
              (|List| 55) (|Void|) (|Mapping| 6 6) (|InputForm|) (|OutputForm|)
              (|SingleInteger|) (|String|) (|List| $) (|Union| 6 '"failed")
              (|List| 12))
           '#(~= 62 |swap!| 68 |sorted?| 75 |sort!| 86 |sort| 97 |smaller?| 108
              |size?| 114 |shrinkable| 120 |setelt| 125 |select!| 139 |select|
              145 |sample| 151 |reverse!| 155 |reverse| 160 |removeDuplicates!|
              165 |removeDuplicates| 170 |remove!| 175 |remove| 187 |reduce|
              199 |qsetelt!| 220 |qelt| 227 |position| 233 |physicalLength!|
              252 |physicalLength| 258 |parts| 263 |new| 268 |more?| 274
              |minIndex| 280 |min| 285 |merge!| 291 |merge| 304 |members| 317
              |member?| 322 |maxIndex| 328 |max| 333 |map!| 339 |map| 345
              |less?| 358 |latex| 364 |insert!| 369 |insert| 383 |indices| 397
              |index?| 402 |hash| 408 |flexibleArray| 413 |first| 418 |find|
              423 |fill!| 429 |every?| 435 |eval| 441 |eq?| 467 |entry?| 473
              |entries| 479 |empty?| 484 |empty| 489 |elt| 493 |delete!| 512
              |delete| 524 |count| 536 |copyInto!| 548 |copy| 555 |convert| 560
              |construct| 565 |concat!| 570 |concat| 582 |coerce| 605 |any?|
              610 >= 616 > 622 = 628 <= 634 < 640 |#| 646)
           'NIL
           (CONS
            (|makeByteWordVec2| 7 '(0 0 0 0 0 0 3 0 3 0 0 7 4 0 0 0 0 7 1 2 4))
            (CONS
             '#(|OneDimensionalArrayAggregate&| |FiniteLinearAggregate&|
                |ExtensibleLinearAggregate&| |LinearAggregate&|
                |IndexedAggregate&| |Collection&| |OrderedSet&|
                |HomogeneousAggregate&| NIL |Aggregate&| |EltableAggregate&|
                |Evalable&| |SetCategory&| NIL NIL NIL NIL |InnerEvalable&| NIL
                NIL |BasicType&|)
             (CONS
              '#((|OneDimensionalArrayAggregate| 6) (|FiniteLinearAggregate| 6)
                 (|ExtensibleLinearAggregate| 6) (|LinearAggregate| 6)
                 (|IndexedAggregate| 12 6) (|Collection| 6) (|OrderedSet|)
                 (|HomogeneousAggregate| 6) (|Comparable|) (|Aggregate|)
                 (|EltableAggregate| 12 6) (|Evalable| 6) (|SetCategory|)
                 (|shallowlyMutable|) (|finiteAggregate|) (|Type|)
                 (|Eltable| 12 6) (|InnerEvalable| 6 6) (|CoercibleTo| 60)
                 (|ConvertibleTo| 59) (|BasicType|))
              (|makeByteWordVec2| 65
                                  '(2 16 0 0 6 17 2 24 6 0 12 25 2 12 0 28 0 29
                                    2 0 22 0 0 38 3 0 0 0 0 12 39 1 44 12 0 45
                                    1 44 22 0 46 1 44 12 0 47 2 6 22 0 0 51 1
                                    44 0 12 52 1 0 0 0 53 2 1 22 0 0 1 3 10 57
                                    0 12 12 1 1 3 22 0 1 2 0 22 32 0 1 1 11 0 0
                                    1 2 10 0 32 0 1 1 3 0 0 1 2 0 0 32 0 1 2 3
                                    22 0 0 1 2 0 22 0 10 1 1 0 22 22 23 3 10 6
                                    0 44 6 1 3 10 6 0 12 6 26 2 0 0 41 0 50 2 8
                                    0 41 0 1 0 0 0 1 1 10 0 0 1 1 0 0 0 1 1 1 0
                                    0 53 1 9 0 0 1 2 1 0 6 0 1 2 0 0 41 0 42 2
                                    9 0 6 0 1 2 8 0 41 0 1 4 9 6 54 0 6 6 1 2 8
                                    6 54 0 1 3 8 6 54 0 6 1 3 10 6 0 12 6 1 2 0
                                    6 0 12 1 2 1 12 6 0 1 3 1 12 6 0 12 1 2 0
                                    12 41 0 1 2 0 0 0 12 13 1 0 10 0 11 1 8 24
                                    0 1 2 0 0 10 6 21 2 0 22 0 10 1 1 5 12 0 20
                                    2 3 0 0 0 1 2 3 0 0 0 1 3 0 0 32 0 0 33 2 3
                                    0 0 0 1 3 0 0 32 0 0 34 1 8 24 0 1 2 9 22 6
                                    0 1 1 5 12 0 19 2 3 0 0 0 1 2 10 0 58 0 1 3
                                    0 0 54 0 0 1 2 0 0 58 0 1 2 0 22 0 10 1 1 1
                                    62 0 1 3 0 0 6 0 12 35 3 0 0 0 0 12 49 3 0
                                    0 0 0 12 1 3 0 0 6 0 12 1 1 0 65 0 1 2 0 22
                                    12 0 1 1 1 61 0 1 1 0 0 24 27 1 5 6 0 1 2 0
                                    64 41 0 1 2 10 0 0 6 18 2 8 22 41 0 1 3 6 0
                                    0 24 24 1 2 6 0 0 55 1 3 6 0 0 6 6 1 2 6 0
                                    0 56 1 2 0 22 0 0 38 2 9 22 6 0 1 1 0 24 0
                                    1 1 0 22 0 1 0 0 0 14 2 0 0 0 44 1 3 0 6 0
                                    12 6 1 2 0 6 0 12 31 2 0 0 0 12 43 2 0 0 0
                                    44 48 2 0 0 0 44 1 2 0 0 0 12 1 2 9 10 6 0
                                    1 2 8 10 41 0 1 3 10 0 0 0 12 39 1 0 0 0 30
                                    1 2 59 0 1 1 0 0 24 1 2 0 0 0 6 37 2 0 0 0
                                    0 40 1 0 0 63 1 2 0 0 0 0 1 2 0 0 0 6 1 2 0
                                    0 6 0 36 1 1 60 0 1 2 8 22 41 0 1 2 3 22 0
                                    0 1 2 3 22 0 0 1 2 1 22 0 0 1 2 3 22 0 0 1
                                    2 3 22 0 0 1 1 8 10 0 15)))))
           '|lookupComplete|)) 
