
(/VERSIONCHECK 2) 

(DEFPARAMETER |Finite;AL| 'NIL) 

(DEFUN |Finite| ()
  (LET (#:G6655)
    (COND (|Finite;AL|) (T (SETQ |Finite;AL| (|Finite;|)))))) 

(DEFUN |Finite;| ()
  (PROG (#1=#:G6653)
    (RETURN
     (PROG1
         (LETT #1#
               (|sublisV| (PAIR '(#2=#:G6652) (LIST '(|InputForm|)))
                          (|Join| (|SetCategory|) (|ConvertibleTo| '#2#)
                                  (|mkCategory| '|domain|
                                                '(((|size|
                                                    ((|NonNegativeInteger|)))
                                                   T)
                                                  ((|index|
                                                    ($ (|PositiveInteger|)))
                                                   T)
                                                  ((|lookup|
                                                    ((|PositiveInteger|) $))
                                                   T)
                                                  ((|random| ($)) T)
                                                  ((|enumerate| ((|List| $)))
                                                   T))
                                                NIL
                                                '((|List| $)
                                                  (|PositiveInteger|)
                                                  (|NonNegativeInteger|))
                                                NIL)))
               |Finite|)
       (SETELT #1# 0 '(|Finite|)))))) 

(MAKEPROP '|Finite| 'NILADIC T) 
