
(/VERSIONCHECK 2) 

(DEFUN |CLIF;characteristic;Nni;1| ($) (SPADCALL (QREFELT $ 24))) 

(DEFUN |CLIF;dimension| ($) (SPADCALL (QREFELT $ 21) (QREFELT $ 27))) 

(DEFUN |CLIF;=;2$B;3| (|x| |y| $)
  (PROG (#1=#:G1837 #2=#:G1838 |i|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (SEQ (LETT |i| 0 . #3=(|CLIF;=;2$B;3|))
             (LETT #2# (- (QREFELT $ 21) 1) . #3#) G190
             (COND ((QSGREATERP |i| #2#) (GO G191)))
             (SEQ
              (EXIT
               (COND
                ((NULL
                  (SPADCALL (QAREF1 |x| |i|) (QAREF1 |y| |i|) (QREFELT $ 28)))
                 (PROGN (LETT #1# 'NIL . #3#) (GO #1#))))))
             (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191 (EXIT NIL))
        (EXIT 'T)))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;+;3$;4| (|x| |y| $)
  (PROG (#1=#:G1842 |i| |z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;+;3$;4|))
      (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |i| #1#) (GO G191)))
           (SEQ
            (EXIT
             (QSETAREF1 |z| |i|
                        (SPADCALL (QAREF1 |x| |i|) (QAREF1 |y| |i|)
                                  (QREFELT $ 31)))))
           (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;-;3$;5| (|x| |y| $)
  (PROG (#1=#:G1846 |i| |z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;-;3$;5|))
      (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |i| #1#) (GO G191)))
           (SEQ
            (EXIT
             (QSETAREF1 |z| |i|
                        (SPADCALL (QAREF1 |x| |i|) (QAREF1 |y| |i|)
                                  (QREFELT $ 33)))))
           (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;-;2$;6| (|x| $)
  (PROG (#1=#:G1850 |i| |z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;-;2$;6|))
      (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |i| #1#) (GO G191)))
           (SEQ
            (EXIT
             (QSETAREF1 |z| |i| (SPADCALL (QAREF1 |x| |i|) (QREFELT $ 35)))))
           (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;*;I2$;7| (|m| |x| $)
  (PROG (#1=#:G1854 |i| |z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;*;I2$;7|))
      (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |i| #1#) (GO G191)))
           (SEQ
            (EXIT
             (QSETAREF1 |z| |i|
                        (SPADCALL |m| (QAREF1 |x| |i|) (QREFELT $ 38)))))
           (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;*;K2$;8| (|c| |x| $)
  (PROG (#1=#:G1858 |i| |z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;*;K2$;8|))
      (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |i| #1#) (GO G191)))
           (SEQ
            (EXIT
             (QSETAREF1 |z| |i|
                        (SPADCALL |c| (QAREF1 |x| |i|) (QREFELT $ 40)))))
           (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;Zero;$;9| ($) (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))) 

(DEFUN |CLIF;One;$;10| ($)
  (PROG (|z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            |CLIF;One;$;10|)
      (QSETAREF1 |z| 0 (|spadConstant| $ 46)) (EXIT |z|))))) 

(DEFUN |CLIF;coerce;I$;11| (|m| $)
  (PROG (|z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            |CLIF;coerce;I$;11|)
      (QSETAREF1 |z| 0 (SPADCALL |m| (QREFELT $ 48))) (EXIT |z|))))) 

(DEFUN |CLIF;coerce;K$;12| (|c| $)
  (PROG (|z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            |CLIF;coerce;K$;12|)
      (QSETAREF1 |z| 0 |c|) (EXIT |z|))))) 

(DEFUN |CLIF;toStringTerm| (|c| |b| $)
  (PROG (|mult| #1=#:G1873 |i|)
    (RETURN
     (SEQ (LETT |mult| (|mathObject2String| |c|) . #2=(|CLIF;toStringTerm|))
          (EXIT
           (COND ((EQL |b| 0) |mult|)
                 ((SPADCALL |c| (|spadConstant| $ 30) (QREFELT $ 28)) "0")
                 ('T
                  (SEQ
                   (COND
                    ((SPADCALL |c| (|spadConstant| $ 46) (QREFELT $ 28))
                     (LETT |mult| "e" . #2#)))
                   (COND
                    ((SPADCALL |c|
                               (SPADCALL (|spadConstant| $ 46) (QREFELT $ 35))
                               (QREFELT $ 28))
                     (LETT |mult| "-e" . #2#)))
                   (COND
                    ((NULL (SPADCALL |c| (|spadConstant| $ 46) (QREFELT $ 28)))
                     (COND
                      ((NULL
                        (SPADCALL |c|
                                  (SPADCALL (|spadConstant| $ 46)
                                            (QREFELT $ 35))
                                  (QREFELT $ 28)))
                       (LETT |mult| (STRCONC |mult| "e") . #2#)))))
                   (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 6) 1) . #2#)
                        G190 (COND ((QSGREATERP |i| #1#) (GO G191)))
                        (SEQ
                         (EXIT
                          (COND
                           ((SPADCALL |b| |i| (QREFELT $ 51))
                            (LETT |mult|
                                  (STRCONC |mult| (STRINGIMAGE (+ |i| 1)))
                                  . #2#)))))
                        (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191
                        (EXIT NIL))
                   (EXIT |mult|))))))))) 

(DEFUN |CLIF;toString| (|m| $)
  (PROG (|res| |neg| |s| #1=#:G1884 |im|)
    (RETURN
     (SEQ (LETT |res| "" . #2=(|CLIF;toString|))
          (SEQ (LETT |im| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
               (COND ((QSGREATERP |im| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((NULL
                    (SPADCALL (QAREF1 |m| |im|) (|spadConstant| $ 30)
                              (QREFELT $ 28)))
                   (SEQ
                    (LETT |s| (|mathObject2String| (QAREF1 |m| |im|)) . #2#)
                    (LETT |neg| 'NIL . #2#)
                    (COND
                     ((< 0 (QCSIZE |s|))
                      (LETT |neg|
                            (SPADCALL (SPADCALL |s| 1 (QREFELT $ 57))
                                      (SPADCALL "-" (QREFELT $ 58))
                                      (QREFELT $ 59))
                            . #2#)))
                    (COND
                     ((NULL (EQUAL |res| ""))
                      (COND
                       ((NULL |neg|)
                        (LETT |res|
                              (SPADCALL
                               (LIST |res| "+"
                                     (|CLIF;toStringTerm| (QAREF1 |m| |im|)
                                      (SPADCALL |im| (QREFELT $ 61)) $))
                               (QREFELT $ 63))
                              . #2#)))))
                    (EXIT
                     (COND
                      ((OR (EQUAL |res| "") |neg|)
                       (LETT |res|
                             (STRCONC |res|
                                      (|CLIF;toStringTerm| (QAREF1 |m| |im|)
                                       (SPADCALL |im| (QREFELT $ 61)) $))
                             . #2#)))))))))
               (LETT |im| (QSADD1 |im|) . #2#) (GO G190) G191 (EXIT NIL))
          (COND ((EQUAL |res| "") (LETT |res| "0" . #2#))) (EXIT |res|))))) 

(DEFUN |CLIF;e;Pi$;15| (|b| $)
  (PROG (|z| |iz| #1=#:G1886)
    (RETURN
     (SEQ
      (COND ((< (QREFELT $ 6) |b|) (|error| "No such basis element"))
            ('T
             (SEQ
              (LETT |iz|
                    (EXPT 2
                          (PROG1 (LETT #1# (- |b| 1) . #2=(|CLIF;e;Pi$;15|))
                            (|check-subtype| (>= #1# 0) '(|NonNegativeInteger|)
                                             #1#)))
                    . #2#)
              (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30)) . #2#)
              (QSETAREF1 |z| |iz| (|spadConstant| $ 46)) (EXIT |z|)))))))) 

(DEFUN |CLIF;ee;L$;16| (|l| $)
  (PROG (|lst| #1=#:G1900 |i| #2=#:G1899)
    (RETURN
     (SEQ
      (LETT |lst|
            (PROGN
             (LETT #2# NIL . #3=(|CLIF;ee;L$;16|))
             (SEQ (LETT |i| NIL . #3#) (LETT #1# |l| . #3#) G190
                  (COND
                   ((OR (ATOM #1#) (PROGN (LETT |i| (CAR #1#) . #3#) NIL))
                    (GO G191)))
                  (SEQ
                   (EXIT
                    (LETT #2# (CONS (SPADCALL |i| (QREFELT $ 64)) #2#) . #3#)))
                  (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                  (EXIT (NREVERSE0 #2#))))
            . #3#)
      (EXIT
       (SPADCALL (ELT $ 65) |lst| (|spadConstant| $ 47) (QREFELT $ 68))))))) 

(DEFUN |CLIF;multivector;L$;17| (|scalar| $)
  (PROG (#1=#:G1912 |i| |z|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;multivector;L$;17|))
      (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |i| #1#) (GO G191)))
           (SEQ
            (EXIT
             (QSETAREF1 |z| |i| (SPADCALL |scalar| (+ |i| 1) (QREFELT $ 72)))))
           (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;eFromBinaryMap;Nni$;18| (|b| $)
  (PROG (|z|)
    (RETURN
     (SEQ
      (COND
       ((< |b| (QREFELT $ 21))
        (SEQ
         (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
               |CLIF;eFromBinaryMap;Nni$;18|)
         (QSETAREF1 |z| |b| (|spadConstant| $ 46)) (EXIT |z|)))
       ('T (|error| "Too big"))))))) 

(DEFUN |CLIF;ePseudoscalar;$;19| ($)
  (PROG (|i| #1=#:G1915 |p|)
    (RETURN
     (SEQ
      (LETT |p| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;ePseudoscalar;$;19|))
      (LETT |i|
            (PROG1 (LETT #1# (- (QREFELT $ 21) 1) . #2#)
              (|check-subtype| (>= #1# 0) '(|NonNegativeInteger|) #1#))
            . #2#)
      (QSETAREF1 |p| |i| (|spadConstant| $ 46)) (EXIT |p|))))) 

(DEFUN |CLIF;toTable;MM;20| (|fn| $)
  (PROG (#1=#:G1930 |j| #2=#:G1929 #3=#:G1928 |k| #4=#:G1927 |l| #5=#:G1926 |i|
         #6=#:G1925)
    (RETURN
     (SEQ
      (LETT |l|
            (PROGN
             (LETT #6# NIL . #7=(|CLIF;toTable;MM;20|))
             (SEQ (LETT |i| 0 . #7#) (LETT #5# (- (QREFELT $ 21) 1) . #7#) G190
                  (COND ((QSGREATERP |i| #5#) #8=(GO G191)))
                  (SEQ
                   (EXIT
                    (LETT #6# (CONS (SPADCALL |i| (QREFELT $ 74)) #6#) . #7#)))
                  (LETT |i| (QSADD1 |i|) . #7#) #9=(GO G190) G191
                  (EXIT (NREVERSE0 #6#))))
            . #7#)
      (EXIT
       (SPADCALL
        (PROGN
         (LETT #4# NIL . #7#)
         (SEQ (LETT |k| NIL . #7#) (LETT #3# |l| . #7#) G190
              (COND
               ((OR (ATOM #3#) (PROGN (LETT |k| (CAR #3#) . #7#) NIL)) #8#))
              (SEQ
               (EXIT
                (LETT #4#
                      (CONS
                       (PROGN
                        (LETT #2# NIL . #7#)
                        (SEQ (LETT |j| NIL . #7#) (LETT #1# |l| . #7#) G190
                             (COND
                              ((OR (ATOM #1#)
                                   (PROGN (LETT |j| (CAR #1#) . #7#) NIL))
                               #8#))
                             (SEQ
                              (EXIT
                               (LETT #2# (CONS (SPADCALL |k| |j| |fn|) #2#)
                                     . #7#)))
                             (LETT #1# (CDR #1#) . #7#) #9# G191
                             (EXIT (NREVERSE0 #2#))))
                       #4#)
                      . #7#)))
              (LETT #3# (CDR #3#) . #7#) #9# G191 (EXIT (NREVERSE0 #4#))))
        (QREFELT $ 78))))))) 

(DEFUN |CLIF;toTable;MM;21| (|fn| $)
  (PROG (#1=#:G1942 |k| #2=#:G1941 #3=#:G1940 |j| #4=#:G1939 |l| #5=#:G1938 |i|
         #6=#:G1937)
    (RETURN
     (SEQ
      (LETT |l|
            (PROGN
             (LETT #6# NIL . #7=(|CLIF;toTable;MM;21|))
             (SEQ (LETT |i| 0 . #7#) (LETT #5# (- (QREFELT $ 21) 1) . #7#) G190
                  (COND ((QSGREATERP |i| #5#) #8=(GO G191)))
                  (SEQ
                   (EXIT
                    (LETT #6# (CONS (SPADCALL |i| (QREFELT $ 74)) #6#) . #7#)))
                  (LETT |i| (QSADD1 |i|) . #7#) #9=(GO G190) G191
                  (EXIT (NREVERSE0 #6#))))
            . #7#)
      (EXIT
       (SPADCALL
        (LIST
         (PROGN
          (LETT #4# NIL . #7#)
          (SEQ (LETT |j| NIL . #7#) (LETT #3# |l| . #7#) G190
               (COND
                ((OR (ATOM #3#) (PROGN (LETT |j| (CAR #3#) . #7#) NIL)) #8#))
               (SEQ (EXIT (LETT #4# (CONS |j| #4#) . #7#)))
               (LETT #3# (CDR #3#) . #7#) #9# G191 (EXIT (NREVERSE0 #4#))))
         (PROGN
          (LETT #2# NIL . #7#)
          (SEQ (LETT |k| NIL . #7#) (LETT #1# |l| . #7#) G190
               (COND
                ((OR (ATOM #1#) (PROGN (LETT |k| (CAR #1#) . #7#) NIL)) #8#))
               (SEQ (EXIT (LETT #2# (CONS (SPADCALL |k| |fn|) #2#) . #7#)))
               (LETT #1# (CDR #1#) . #7#) #9# G191 (EXIT (NREVERSE0 #2#)))))
        (QREFELT $ 78))))))) 

(DEFUN |CLIF;gradeTerm| (|b| $)
  (PROG (|grade| #1=#:G1947 |i|)
    (RETURN
     (SEQ (LETT |grade| 0 . #2=(|CLIF;gradeTerm|))
          (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 6) 1) . #2#) G190
               (COND ((QSGREATERP |i| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((SPADCALL |b| |i| (QREFELT $ 51))
                   (LETT |grade| (+ |grade| 1) . #2#)))))
               (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT |grade|))))) 

(DEFUN |CLIF;grade;$Nni;23| (|x| $)
  (PROG (|gr| #1=#:G1952 |ix|)
    (RETURN
     (SEQ (LETT |gr| 0 . #2=(|CLIF;grade;$Nni;23|))
          (SEQ (LETT |ix| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
               (COND ((QSGREATERP |ix| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((NULL
                    (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                              (QREFELT $ 28)))
                   (LETT |gr|
                         (MAX |gr|
                              (|CLIF;gradeTerm| (SPADCALL |ix| (QREFELT $ 61))
                               $))
                         . #2#)))))
               (LETT |ix| (QSADD1 |ix|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT |gr|))))) 

(DEFUN |CLIF;gradeInvolutionTerm| (|mult| |type1| $)
  (PROG (|resul| |sign| |g|)
    (RETURN
     (SEQ
      (LETT |resul| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #1=(|CLIF;gradeInvolutionTerm|))
      (QSETAREF1 |resul| |type1| |mult|)
      (LETT |g| (|CLIF;gradeTerm| |type1| $) . #1#)
      (LETT |sign| (COND ((ODDP |g|) -1) ('T 1)) . #1#)
      (LETT |resul| (SPADCALL |sign| |resul| (QREFELT $ 39)) . #1#)
      (EXIT |resul|))))) 

(DEFUN |CLIF;gradeInvolution;2$;25| (|x| $)
  (PROG (|z| #1=#:G1960 |ix|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;gradeInvolution;2$;25|))
      (SEQ (LETT |ix| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |ix| #1#) (GO G191)))
           (SEQ
            (EXIT
             (COND
              ((NULL
                (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                          (QREFELT $ 28)))
               (LETT |z|
                     (SPADCALL |z|
                               (|CLIF;gradeInvolutionTerm| (QAREF1 |x| |ix|)
                                (SPADCALL |ix| (QREFELT $ 61)) $)
                               (QREFELT $ 32))
                     . #2#)))))
           (LETT |ix| (QSADD1 |ix|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;reverseTerm| (|mult| |type1| $)
  (PROG (|resul| |sign| |g|)
    (RETURN
     (SEQ
      (LETT |resul| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #1=(|CLIF;reverseTerm|))
      (QSETAREF1 |resul| |type1| |mult|)
      (LETT |g| (SPADCALL (|CLIF;gradeTerm| |type1| $) (QREFELT $ 61)) . #1#)
      (LETT |sign| (COND ((QSODDP (QSLEFTSHIFT |g| -1)) -1) ('T 1)) . #1#)
      (LETT |resul| (SPADCALL |sign| |resul| (QREFELT $ 39)) . #1#)
      (EXIT |resul|))))) 

(DEFUN |CLIF;reverse;2$;27| (|x| $)
  (PROG (|z| #1=#:G1968 |ix|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;reverse;2$;27|))
      (SEQ (LETT |ix| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |ix| #1#) (GO G191)))
           (SEQ
            (EXIT
             (COND
              ((NULL
                (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                          (QREFELT $ 28)))
               (LETT |z|
                     (SPADCALL |z|
                               (|CLIF;reverseTerm| (QAREF1 |x| |ix|)
                                (SPADCALL |ix| (QREFELT $ 61)) $)
                               (QREFELT $ 32))
                     . #2#)))))
           (LETT |ix| (QSADD1 |ix|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;conjTerm| (|mult| |type1| $)
  (PROG (|resul| |sign| |g|)
    (RETURN
     (SEQ
      (LETT |resul| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #1=(|CLIF;conjTerm|))
      (QSETAREF1 |resul| |type1| |mult|)
      (LETT |g| (SPADCALL (|CLIF;gradeTerm| |type1| $) (QREFELT $ 61)) . #1#)
      (LETT |sign| (COND ((QSODDP (QSLEFTSHIFT (QSPLUS |g| 1) -1)) -1) ('T 1))
            . #1#)
      (LETT |resul| (SPADCALL |sign| |resul| (QREFELT $ 39)) . #1#)
      (EXIT |resul|))))) 

(DEFUN |CLIF;conj;2$;29| (|x| $)
  (PROG (|z| #1=#:G1976 |ix|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #2=(|CLIF;conj;2$;29|))
      (SEQ (LETT |ix| 0 . #2#) (LETT #1# (- (QREFELT $ 21) 1) . #2#) G190
           (COND ((QSGREATERP |ix| #1#) (GO G191)))
           (SEQ
            (EXIT
             (COND
              ((NULL
                (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                          (QREFELT $ 28)))
               (LETT |z|
                     (SPADCALL |z|
                               (|CLIF;conjTerm| (QAREF1 |x| |ix|)
                                (SPADCALL |ix| (QREFELT $ 61)) $)
                               (QREFELT $ 32))
                     . #2#)))))
           (LETT |ix| (QSADD1 |ix|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;setMode;S2B;30| (|s| |val| $)
  (PROG (#1=#:G1980)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (COND
         ((EQUAL |s| "orthogonal")
          (SEQ (SETELT $ 17 |val|)
               (EXIT
                (PROGN (LETT #1# 'T . #2=(|CLIF;setMode;S2B;30|)) (GO #1#))))))
        (COND
         ((EQUAL |s| "debug")
          (SEQ (SETELT $ 18 |val|)
               (EXIT (PROGN (LETT #1# 'T . #2#) (GO #1#))))))
        (EXIT 'NIL)))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;baseVect| (|b| $)
  (PROG (#1=#:G1984 #2=#:G1985 |i|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (SEQ (LETT |i| 0 . #3=(|CLIF;baseVect|))
             (LETT #2# (- (QREFELT $ 6) 1) . #3#) G190
             (COND ((QSGREATERP |i| #2#) (GO G191)))
             (SEQ
              (EXIT
               (COND
                ((SPADCALL |b| |i| (QREFELT $ 51))
                 (PROGN (LETT #1# (+ |i| 1) . #3#) (GO #1#))))))
             (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191 (EXIT NIL))
        (EXIT 0)))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;bilinear| (|b1| |b2| $)
  (PROG (#1=#:G1987 |bv2| |bv1|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ (LETT |bv1| (|CLIF;baseVect| |b1| $) . #2=(|CLIF;bilinear|))
            (LETT |bv2| (|CLIF;baseVect| |b2| $) . #2#)
            (COND
             ((EQL |bv1| 0)
              (PROGN (LETT #1# (|spadConstant| $ 30) . #2#) (GO #1#))))
            (COND
             ((EQL |bv2| 0)
              (PROGN (LETT #1# (|spadConstant| $ 30) . #2#) (GO #1#))))
            (EXIT (SPADCALL (QREFELT $ 8) |bv1| |bv2| (QREFELT $ 89)))))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;leftMostBase| (|b| $)
  (PROG (|mask| #1=#:G1992 #2=#:G1993 |i|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ (LETT |mask| 1 . #3=(|CLIF;leftMostBase|))
            (SEQ (LETT |i| 0 . #3#) (LETT #2# (- (QREFELT $ 6) 1) . #3#) G190
                 (COND ((QSGREATERP |i| #2#) (GO G191)))
                 (SEQ
                  (COND
                   ((NULL (EQL (LOGAND |mask| |b|) 0))
                    (PROGN (LETT #1# |mask| . #3#) (GO #1#))))
                  (EXIT (LETT |mask| (QSLEFTSHIFT |mask| 1) . #3#)))
                 (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191 (EXIT NIL))
            (EXIT 0)))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;rightMostBase| (|b| $)
  (PROG (|mask| #1=#:G1998 #2=#:G1999 |i|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (LETT |mask|
              (QSLEFTSHIFT 1 (SPADCALL (- (QREFELT $ 6) 1) (QREFELT $ 61)))
              . #3=(|CLIF;rightMostBase|))
        (SEQ (LETT |i| 0 . #3#) (LETT #2# (- (QREFELT $ 6) 1) . #3#) G190
             (COND ((QSGREATERP |i| #2#) (GO G191)))
             (SEQ
              (COND
               ((NULL (EQL (LOGAND |mask| |b|) 0))
                (PROGN (LETT #1# |mask| . #3#) (GO #1#))))
              (EXIT (LETT |mask| (QSLEFTSHIFT |mask| -1) . #3#)))
             (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191 (EXIT NIL))
        (EXIT 0)))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;exteriorProdTerm| (|op1mult| |op1type| |op2mult| |op2type| $)
  (PROG (|c| |k| #1=#:G2009 |j| #2=#:G2008 #3=#:G2007 |i| |bz| |resul|)
    (RETURN
     (SEQ
      (LETT |resul| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #4=(|CLIF;exteriorProdTerm|))
      (COND ((NULL (EQL (LOGAND |op1type| |op2type|) 0)) (EXIT |resul|)))
      (LETT |c| (SPADCALL |op1mult| |op2mult| (QREFELT $ 40)) . #4#)
      (LETT |bz| (LOGIOR |op1type| |op2type|) . #4#)
      (SEQ (LETT |i| 0 . #4#) (LETT #3# (- (QREFELT $ 6) 1) . #4#) G190
           (COND ((QSGREATERP |i| #3#) #5=(GO G191)))
           (SEQ
            (EXIT
             (COND
              ((SPADCALL |op1type| |i| (QREFELT $ 51))
               (SEQ (LETT |k| 0 . #4#)
                    (SEQ (LETT |j| (+ |i| 1) . #4#)
                         (LETT #2# (- (QREFELT $ 6) 1) . #4#) G190
                         (COND ((> |j| #2#) #5#))
                         (SEQ
                          (EXIT
                           (COND
                            ((SPADCALL |op1type| |j| (QREFELT $ 51))
                             (LETT |k| (+ |k| 1) . #4#)))))
                         (LETT |j| (+ |j| 1) . #4#) #6=(GO G190) G191
                         (EXIT NIL))
                    (SEQ (LETT |j| 0 . #4#) (LETT #1# (- |i| 1) . #4#) G190
                         (COND ((QSGREATERP |j| #1#) #5#))
                         (SEQ
                          (EXIT
                           (COND
                            ((SPADCALL |bz| |j| (QREFELT $ 51))
                             (LETT |k| (+ |k| 1) . #4#)))))
                         (LETT |j| (QSADD1 |j|) . #4#) #6# G191 (EXIT NIL))
                    (EXIT
                     (COND
                      ((ODDP |k|)
                       (LETT |c| (SPADCALL |c| (QREFELT $ 35)) . #4#)))))))))
           (LETT |i| (QSADD1 |i|) . #4#) #6# G191 (EXIT NIL))
      (QSETAREF1 |resul| |bz|
                 (SPADCALL (QAREF1 |resul| |bz|) |c| (QREFELT $ 31)))
      (EXIT |resul|))))) 

(DEFUN |CLIF;regressiveProdTerm| (|op1mult| |op1type| |op2mult| |op2type| $)
  (PROG (|res| |op2| |op1|)
    (RETURN
     (SEQ
      (LETT |op1| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #1=(|CLIF;regressiveProdTerm|))
      (QSETAREF1 |op1| |op1type| (|spadConstant| $ 46))
      (LETT |op2| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30)) . #1#)
      (QSETAREF1 |op2| |op2type| (|spadConstant| $ 46))
      (LETT |res|
            (SPADCALL
             (SPADCALL
              (SPADCALL |op2| (SPADCALL (QREFELT $ 75)) (QREFELT $ 90))
              (SPADCALL |op1| (SPADCALL (QREFELT $ 75)) (QREFELT $ 90))
              (QREFELT $ 65))
             (SPADCALL (QREFELT $ 75)) (QREFELT $ 90))
            . #1#)
      (LETT |res|
            (SPADCALL (SPADCALL |op1mult| |op2mult| (QREFELT $ 40)) |res|
                      (QREFELT $ 41))
            . #1#)
      (EXIT |res|))))) 

(DEFUN |CLIF;/\\;3$;37| (|x| |y| $)
  (PROG (|z| #1=#:G2019 |iy| #2=#:G2018 |ix|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #3=(|CLIF;/\\;3$;37|))
      (SEQ (LETT |ix| 0 . #3#) (LETT #2# (- (QREFELT $ 21) 1) . #3#) G190
           (COND ((QSGREATERP |ix| #2#) #4=(GO G191)))
           (SEQ
            (EXIT
             (COND
              ((NULL
                (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                          (QREFELT $ 28)))
               (SEQ (LETT |iy| 0 . #3#) (LETT #1# (- (QREFELT $ 21) 1) . #3#)
                    G190 (COND ((QSGREATERP |iy| #1#) #4#))
                    (SEQ
                     (EXIT
                      (COND
                       ((NULL
                         (SPADCALL (QAREF1 |y| |iy|) (|spadConstant| $ 30)
                                   (QREFELT $ 28)))
                        (LETT |z|
                              (SPADCALL |z|
                                        (|CLIF;exteriorProdTerm|
                                         (QAREF1 |x| |ix|)
                                         (SPADCALL |ix| (QREFELT $ 61))
                                         (QAREF1 |y| |iy|)
                                         (SPADCALL |iy| (QREFELT $ 61)) $)
                                        (QREFELT $ 32))
                              . #3#)))))
                    (LETT |iy| (QSADD1 |iy|) . #3#) #5=(GO G190) G191
                    (EXIT NIL))))))
           (LETT |ix| (QSADD1 |ix|) . #3#) #5# G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;\\/;3$;38| (|x| |y| $)
  (PROG (|z| #1=#:G2027 |iy| #2=#:G2026 |ix|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #3=(|CLIF;\\/;3$;38|))
      (SEQ (LETT |ix| 0 . #3#) (LETT #2# (- (QREFELT $ 21) 1) . #3#) G190
           (COND ((QSGREATERP |ix| #2#) #4=(GO G191)))
           (SEQ
            (EXIT
             (COND
              ((NULL
                (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                          (QREFELT $ 28)))
               (SEQ (LETT |iy| 0 . #3#) (LETT #1# (- (QREFELT $ 21) 1) . #3#)
                    G190 (COND ((QSGREATERP |iy| #1#) #4#))
                    (SEQ
                     (EXIT
                      (COND
                       ((NULL
                         (SPADCALL (QAREF1 |y| |iy|) (|spadConstant| $ 30)
                                   (QREFELT $ 28)))
                        (LETT |z|
                              (SPADCALL |z|
                                        (|CLIF;regressiveProdTerm|
                                         (QAREF1 |x| |ix|)
                                         (SPADCALL |ix| (QREFELT $ 61))
                                         (QAREF1 |y| |iy|)
                                         (SPADCALL |iy| (QREFELT $ 61)) $)
                                        (QREFELT $ 32))
                              . #3#)))))
                    (LETT |iy| (QSADD1 |iy|) . #3#) #5=(GO G190) G191
                    (EXIT NIL))))))
           (LETT |ix| (QSADD1 |ix|) . #3#) #5# G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;lcProdTerm| (|op1mult| |op1type| |op2mult| |op2type| $)
  (PROG (|resul| |inner2| |vType| |uType| #1=#:G2033 |inner4| |left| |grade2|
         |grade1|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (LETT |resul| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
              . #2=(|CLIF;lcProdTerm|))
        (LETT |grade1| (|CLIF;gradeTerm| |op1type| $) . #2#)
        (LETT |grade2| (|CLIF;gradeTerm| |op2type| $) . #2#)
        (COND
         ((EQL |grade1| 0)
          (SEQ
           (QSETAREF1 |resul| |op2type|
                      (SPADCALL (QAREF1 |resul| |op2type|)
                                (SPADCALL |op1mult| |op2mult| (QREFELT $ 40))
                                (QREFELT $ 31)))
           (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))
        (EXIT
         (COND ((EQL |grade2| 0) |resul|)
               ('T
                (SEQ
                 (COND
                  ((EQL |grade1| 1)
                   (COND
                    ((EQL |grade2| 1)
                     (SEQ
                      (QSETAREF1 |resul| 0
                                 (SPADCALL (QAREF1 |resul| 0)
                                           (SPADCALL
                                            (SPADCALL |op1mult| |op2mult|
                                                      (QREFELT $ 40))
                                            (|CLIF;bilinear| |op1type|
                                             |op2type| $)
                                            (QREFELT $ 40))
                                           (QREFELT $ 31)))
                      (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))))
                 (COND
                  ((EQL |grade1| 1)
                   (SEQ (LETT |uType| (|CLIF;leftMostBase| |op2type| $) . #2#)
                        (LETT |vType| (LOGXOR |op2type| |uType|) . #2#)
                        (LETT |inner2|
                              (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                              . #2#)
                        (QSETAREF1 |inner2| |vType| (|spadConstant| $ 46))
                        (LETT |left|
                              (SPADCALL
                               (|CLIF;lcProdTerm| |op1mult| |op1type| |op2mult|
                                |uType| $)
                               |inner2| (QREFELT $ 65))
                              . #2#)
                        (LETT |inner4|
                              (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                              . #2#)
                        (QSETAREF1 |inner4| |uType| (|spadConstant| $ 46))
                        (LETT |resul|
                              (SPADCALL
                               (SPADCALL |resul| |left| (QREFELT $ 32))
                               (SPADCALL |inner4|
                                         (|CLIF;lcProdTerm|
                                          (SPADCALL |op1mult| (QREFELT $ 35))
                                          |op1type| |op2mult| |vType| $)
                                         (QREFELT $ 65))
                               (QREFELT $ 32))
                              . #2#)
                        (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))
                 (LETT |uType| (|CLIF;leftMostBase| |op1type| $) . #2#)
                 (LETT |vType| (LOGXOR |op1type| |uType|) . #2#)
                 (LETT |inner2| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                       . #2#)
                 (QSETAREF1 |inner2| |uType| (|spadConstant| $ 46))
                 (LETT |resul|
                       (SPADCALL |resul|
                                 (SPADCALL |inner2|
                                           (|CLIF;lcProdTerm| |op1mult| |vType|
                                            |op2mult| |op2type| $)
                                           (QREFELT $ 92))
                                 (QREFELT $ 32))
                       . #2#)
                 (EXIT |resul|)))))))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;rcProdTerm| (|op1mult| |op1type| |op2mult| |op2type| $)
  (PROG (|s4| |s3| |s2| |s1| |resul| |inner2| |vType| |uType| #1=#:G2041
         |inner4| |right| |grade2| |grade1|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (LETT |resul| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
              . #2=(|CLIF;rcProdTerm|))
        (LETT |grade1| (|CLIF;gradeTerm| |op1type| $) . #2#)
        (LETT |grade2| (|CLIF;gradeTerm| |op2type| $) . #2#)
        (COND
         ((EQL |grade2| 0)
          (SEQ
           (QSETAREF1 |resul| |op1type|
                      (SPADCALL (QAREF1 |resul| |op1type|)
                                (SPADCALL |op1mult| |op2mult| (QREFELT $ 40))
                                (QREFELT $ 31)))
           (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))
        (EXIT
         (COND ((EQL |grade1| 0) |resul|)
               ('T
                (SEQ
                 (COND
                  ((EQL |grade1| 1)
                   (COND
                    ((EQL |grade2| 1)
                     (SEQ
                      (QSETAREF1 |resul| 0
                                 (SPADCALL (QAREF1 |resul| 0)
                                           (SPADCALL
                                            (SPADCALL |op1mult| |op2mult|
                                                      (QREFELT $ 40))
                                            (|CLIF;bilinear| |op1type|
                                             |op2type| $)
                                            (QREFELT $ 40))
                                           (QREFELT $ 31)))
                      (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))))
                 (COND
                  ((EQL |grade2| 1)
                   (SEQ (LETT |uType| (|CLIF;rightMostBase| |op1type| $) . #2#)
                        (LETT |vType| (LOGXOR |op1type| |uType|) . #2#)
                        (LETT |inner2|
                              (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                              . #2#)
                        (QSETAREF1 |inner2| |vType| (|spadConstant| $ 46))
                        (LETT |right|
                              (SPADCALL |inner2|
                                        (|CLIF;rcProdTerm| |op1mult| |uType|
                                         |op2mult| |op2type| $)
                                        (QREFELT $ 65))
                              . #2#)
                        (LETT |inner4|
                              (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                              . #2#)
                        (QSETAREF1 |inner4| |uType| (|spadConstant| $ 46))
                        (LETT |resul|
                              (SPADCALL
                               (SPADCALL |resul|
                                         (SPADCALL
                                          (|CLIF;rcProdTerm| |op1mult| |vType|
                                           (SPADCALL |op2mult| (QREFELT $ 35))
                                           |op2type| $)
                                          |inner4| (QREFELT $ 65))
                                         (QREFELT $ 32))
                               |right| (QREFELT $ 32))
                              . #2#)
                        (COND
                         ((QREFELT $ 18)
                          (SEQ
                           (LETT |s1|
                                 (SPADCALL
                                  (LIST
                                   (|CLIF;toStringTerm| |op1mult| |op1type| $)
                                   "L"
                                   (|CLIF;toStringTerm| |op2mult| |op2type| $))
                                  (QREFELT $ 63))
                                 . #2#)
                           (LETT |s2|
                                 (SPADCALL
                                  (LIST "= "
                                        (|CLIF;toStringTerm| |op1mult| |vType|
                                         $)
                                        "L"
                                        (|CLIF;toStringTerm|
                                         (SPADCALL |op2mult| (QREFELT $ 35))
                                         |op2type| $))
                                  (QREFELT $ 63))
                                 . #2#)
                           (LETT |s3|
                                 (SPADCALL
                                  (LIST "/\\" (|CLIF;toString| |inner4| $) "+"
                                        (|CLIF;toString| |right| $))
                                  (QREFELT $ 63))
                                 . #2#)
                           (LETT |s4| (STRCONC "=" (|CLIF;toString| |resul| $))
                                 . #2#)
                           (EXIT
                            (|sayTeX|
                             (SPADCALL
                              (LIST "rcProdTerm: " |s1| |s2| |s3| |s4|)
                              (QREFELT $ 63)))))))
                        (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))
                 (LETT |uType| (|CLIF;rightMostBase| |op2type| $) . #2#)
                 (LETT |vType| (LOGXOR |op2type| |uType|) . #2#)
                 (LETT |inner2| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                       . #2#)
                 (QSETAREF1 |inner2| |uType| (|spadConstant| $ 46))
                 (LETT |resul|
                       (SPADCALL |resul|
                                 (SPADCALL
                                  (|CLIF;rcProdTerm| |op1mult| |op1type|
                                   |op2mult| |vType| $)
                                  |inner2| (QREFELT $ 93))
                                 (QREFELT $ 32))
                       . #2#)
                 (COND
                  ((QREFELT $ 18)
                   (SEQ
                    (LETT |s1|
                          (SPADCALL
                           (LIST (|CLIF;toStringTerm| |op1mult| |op1type| $)
                                 "L"
                                 (|CLIF;toStringTerm| |op2mult| |op2type| $))
                           (QREFELT $ 63))
                          . #2#)
                    (LETT |s2|
                          (SPADCALL
                           (LIST "= ("
                                 (|CLIF;toStringTerm| |op1mult| |op1type| $)
                                 "L" (|CLIF;toStringTerm| |op2mult| |vType| $))
                           (QREFELT $ 63))
                          . #2#)
                    (LETT |s3| (STRCONC ") L" (|CLIF;toString| |inner2| $))
                          . #2#)
                    (LETT |s4| (STRCONC "=" (|CLIF;toString| |resul| $)) . #2#)
                    (EXIT
                     (|sayTeX|
                      (SPADCALL (LIST "rcProdTerm: " |s1| |s2| |s3| |s4|)
                                (QREFELT $ 63)))))))
                 (EXIT |resul|)))))))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;lc;3$;41| (|x| |y| $)
  (PROG (|z| #1=#:G2049 |iy| #2=#:G2048 |ix|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #3=(|CLIF;lc;3$;41|))
      (SEQ (LETT |ix| 0 . #3#) (LETT #2# (- (QREFELT $ 21) 1) . #3#) G190
           (COND ((QSGREATERP |ix| #2#) #4=(GO G191)))
           (SEQ
            (EXIT
             (COND
              ((NULL
                (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                          (QREFELT $ 28)))
               (SEQ (LETT |iy| 0 . #3#) (LETT #1# (- (QREFELT $ 21) 1) . #3#)
                    G190 (COND ((QSGREATERP |iy| #1#) #4#))
                    (SEQ
                     (EXIT
                      (COND
                       ((NULL
                         (SPADCALL (QAREF1 |y| |iy|) (|spadConstant| $ 30)
                                   (QREFELT $ 28)))
                        (LETT |z|
                              (SPADCALL |z|
                                        (|CLIF;lcProdTerm| (QAREF1 |x| |ix|)
                                         (SPADCALL |ix| (QREFELT $ 61))
                                         (QAREF1 |y| |iy|)
                                         (SPADCALL |iy| (QREFELT $ 61)) $)
                                        (QREFELT $ 32))
                              . #3#)))))
                    (LETT |iy| (QSADD1 |iy|) . #3#) #5=(GO G190) G191
                    (EXIT NIL))))))
           (LETT |ix| (QSADD1 |ix|) . #3#) #5# G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;rc;3$;42| (|x| |y| $)
  (PROG (|z| #1=#:G2057 |iy| #2=#:G2056 |ix|)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #3=(|CLIF;rc;3$;42|))
      (SEQ (LETT |ix| 0 . #3#) (LETT #2# (- (QREFELT $ 21) 1) . #3#) G190
           (COND ((QSGREATERP |ix| #2#) #4=(GO G191)))
           (SEQ
            (EXIT
             (COND
              ((NULL
                (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                          (QREFELT $ 28)))
               (SEQ (LETT |iy| 0 . #3#) (LETT #1# (- (QREFELT $ 21) 1) . #3#)
                    G190 (COND ((QSGREATERP |iy| #1#) #4#))
                    (SEQ
                     (EXIT
                      (COND
                       ((NULL
                         (SPADCALL (QAREF1 |y| |iy|) (|spadConstant| $ 30)
                                   (QREFELT $ 28)))
                        (LETT |z|
                              (SPADCALL |z|
                                        (|CLIF;rcProdTerm| (QAREF1 |x| |ix|)
                                         (SPADCALL |ix| (QREFELT $ 61))
                                         (QAREF1 |y| |iy|)
                                         (SPADCALL |iy| (QREFELT $ 61)) $)
                                        (QREFELT $ 32))
                              . #3#)))))
                    (LETT |iy| (QSADD1 |iy|) . #3#) #5=(GO G190) G191
                    (EXIT NIL))))))
           (LETT |ix| (QSADD1 |ix|) . #3#) #5# G191 (EXIT NIL))
      (EXIT |z|))))) 

(DEFUN |CLIF;cliffordProdTerm| (|op1mult| |op1type| |op2mult| |op2type| $)
  (PROG (|resul| |s4| |s3| |s2| |s1| |factor2| |factor1| |vt| |ut| |uType|
         |xType| #1=#:G2065 |xt| |vType| |grade2| |grade1|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (LETT |resul| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
              . #2=(|CLIF;cliffordProdTerm|))
        (LETT |grade1| (|CLIF;gradeTerm| |op1type| $) . #2#)
        (LETT |grade2| (|CLIF;gradeTerm| |op2type| $) . #2#)
        (COND
         ((EQL |grade1| 0)
          (SEQ
           (QSETAREF1 |resul| |op2type|
                      (SPADCALL (QAREF1 |resul| |op2type|)
                                (SPADCALL |op1mult| |op2mult| (QREFELT $ 40))
                                (QREFELT $ 31)))
           (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))
        (COND
         ((EQL |grade2| 0)
          (SEQ
           (QSETAREF1 |resul| |op1type|
                      (SPADCALL (QAREF1 |resul| |op1type|)
                                (SPADCALL |op1mult| |op2mult| (QREFELT $ 40))
                                (QREFELT $ 31)))
           (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))
        (COND
         ((EQL |grade1| 1)
          (COND
           ((EQL |grade2| 1)
            (SEQ
             (QSETAREF1 |resul| 0
                        (SPADCALL (QAREF1 |resul| 0)
                                  (SPADCALL
                                   (SPADCALL |op1mult| |op2mult|
                                             (QREFELT $ 40))
                                   (|CLIF;bilinear| |op1type| |op2type| $)
                                   (QREFELT $ 40))
                                  (QREFELT $ 31)))
             (LETT |resul|
                   (SPADCALL |resul|
                             (|CLIF;exteriorProdTerm| |op1mult| |op1type|
                              |op2mult| |op2type| $)
                             (QREFELT $ 32))
                   . #2#)
             (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))))
        (COND
         ((EQL |grade1| 1)
          (SEQ (LETT |uType| (|CLIF;leftMostBase| |op2type| $) . #2#)
               (LETT |vType| (LOGXOR |op2type| |uType|) . #2#)
               (LETT |xt| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                     . #2#)
               (QSETAREF1 |xt| |op1type| (|spadConstant| $ 46))
               (LETT |ut| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                     . #2#)
               (QSETAREF1 |ut| |uType| (|spadConstant| $ 46))
               (LETT |vt| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                     . #2#)
               (QSETAREF1 |vt| |vType| (|spadConstant| $ 46))
               (LETT |resul|
                     (SPADCALL
                      (SPADCALL
                       (SPADCALL |xt|
                                 (|CLIF;exteriorProdTerm| (|spadConstant| $ 46)
                                  |uType| (|spadConstant| $ 46) |vType| $)
                                 (QREFELT $ 65))
                       (SPADCALL
                        (|CLIF;lcProdTerm| (|spadConstant| $ 46) |op1type|
                         (|spadConstant| $ 46) |uType| $)
                        |vt| (QREFELT $ 65))
                       (QREFELT $ 32))
                      (SPADCALL
                       (|CLIF;gradeInvolutionTerm| (|spadConstant| $ 46)
                        |uType| $)
                       (|CLIF;lcProdTerm| (|spadConstant| $ 46) |op1type|
                        (|spadConstant| $ 46) |vType| $)
                       (QREFELT $ 65))
                      (QREFELT $ 32))
                     . #2#)
               (LETT |resul|
                     (SPADCALL (SPADCALL |op1mult| |op2mult| (QREFELT $ 40))
                               |resul| (QREFELT $ 41))
                     . #2#)
               (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))
        (COND
         ((EQL |grade2| 1)
          (SEQ (LETT |uType| (|CLIF;rightMostBase| |op1type| $) . #2#)
               (LETT |vType| (LOGXOR |op1type| |uType|) . #2#)
               (LETT |xt| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                     . #2#)
               (QSETAREF1 |xt| |op2type| (|spadConstant| $ 46))
               (LETT |ut| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                     . #2#)
               (QSETAREF1 |ut| |uType| (|spadConstant| $ 46))
               (LETT |vt| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
                     . #2#)
               (QSETAREF1 |vt| |vType| (|spadConstant| $ 46))
               (LETT |resul|
                     (SPADCALL
                      (SPADCALL
                       (SPADCALL
                        (|CLIF;exteriorProdTerm| (|spadConstant| $ 46) |vType|
                         (|spadConstant| $ 46) |uType| $)
                        |xt| (QREFELT $ 65))
                       (SPADCALL |vt|
                                 (|CLIF;rcProdTerm| (|spadConstant| $ 46)
                                  |uType| (|spadConstant| $ 46) |op2type| $)
                                 (QREFELT $ 65))
                       (QREFELT $ 32))
                      (SPADCALL
                       (|CLIF;rcProdTerm| (|spadConstant| $ 46) |vType|
                        (|spadConstant| $ 46) |op2type| $)
                       (|CLIF;gradeInvolutionTerm| (|spadConstant| $ 46)
                        |uType| $)
                       (QREFELT $ 65))
                      (QREFELT $ 32))
                     . #2#)
               (LETT |resul|
                     (SPADCALL (SPADCALL |op1mult| |op2mult| (QREFELT $ 40))
                               |resul| (QREFELT $ 41))
                     . #2#)
               (EXIT (PROGN (LETT #1# |resul| . #2#) (GO #1#))))))
        (LETT |xType| (|CLIF;rightMostBase| |op1type| $) . #2#)
        (LETT |uType| (LOGXOR |op1type| |xType|) . #2#)
        (LETT |ut| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30)) . #2#)
        (QSETAREF1 |ut| |uType| (|spadConstant| $ 46))
        (LETT |vt| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30)) . #2#)
        (QSETAREF1 |vt| |op2type| (|spadConstant| $ 46))
        (LETT |factor1|
              (SPADCALL
               (|CLIF;lcProdTerm| (|spadConstant| $ 46) |xType|
                (|spadConstant| $ 46) |op2type| $)
               (|CLIF;exteriorProdTerm| (|spadConstant| $ 46) |xType|
                (|spadConstant| $ 46) |op2type| $)
               (QREFELT $ 32))
              . #2#)
        (LETT |factor2|
              (|CLIF;rcProdTerm| (|spadConstant| $ 46) |uType|
               (|spadConstant| $ 46) |xType| $)
              . #2#)
        (LETT |resul|
              (SPADCALL (SPADCALL |ut| |factor1| (QREFELT $ 90))
                        (SPADCALL |factor2| |vt| (QREFELT $ 90))
                        (QREFELT $ 34))
              . #2#)
        (COND
         ((QREFELT $ 18)
          (SEQ
           (LETT |s1|
                 (SPADCALL
                  (LIST (|CLIF;toStringTerm| |op1mult| |op1type| $) "*"
                        (|CLIF;toStringTerm| |op2mult| |op2type| $))
                  (QREFELT $ 63))
                 . #2#)
           (LETT |s2|
                 (SPADCALL
                  (LIST "=" (|CLIF;toString| |ut| $) "*"
                        (|CLIF;toString| |factor1| $))
                  (QREFELT $ 63))
                 . #2#)
           (LETT |s3|
                 (SPADCALL
                  (LIST "-" (|CLIF;toString| |factor2| $) "*"
                        (|CLIF;toString| |vt| $))
                  (QREFELT $ 63))
                 . #2#)
           (LETT |s4|
                 (SPADCALL (LIST "=" (|CLIF;toString| |resul| $))
                           (QREFELT $ 63))
                 . #2#)
           (EXIT
            (|sayTeX|
             (SPADCALL (LIST "cliffordProdTerm: " |s1| |s2| |s3| |s4|)
                       (QREFELT $ 63)))))))
        (LETT |resul|
              (SPADCALL (SPADCALL |op1mult| |op2mult| (QREFELT $ 40)) |resul|
                        (QREFELT $ 41))
              . #2#)
        (EXIT |resul|)))
      #1# (EXIT #1#))))) 

(DEFUN |CLIF;cliffordDiagonalTerm| (|op1mult| |op1type| |op2mult| |op2type| $)
  (PROG (|result| |bz| |c| |k| #1=#:G2076 |j| #2=#:G2075 #3=#:G2074 |i|)
    (RETURN
     (SEQ
      (LETT |c| (SPADCALL |op1mult| |op2mult| (QREFELT $ 40))
            . #4=(|CLIF;cliffordDiagonalTerm|))
      (LETT |bz| |op2type| . #4#)
      (SEQ (LETT |i| 0 . #4#) (LETT #3# (- (QREFELT $ 6) 1) . #4#) G190
           (COND ((QSGREATERP |i| #3#) #5=(GO G191)))
           (SEQ
            (EXIT
             (COND
              ((SPADCALL |op1type| |i| (QREFELT $ 51))
               (SEQ (LETT |k| 0 . #4#)
                    (SEQ (LETT |j| (+ |i| 1) . #4#)
                         (LETT #2# (- (QREFELT $ 6) 1) . #4#) G190
                         (COND ((> |j| #2#) #5#))
                         (SEQ
                          (EXIT
                           (COND
                            ((SPADCALL |op1type| |j| (QREFELT $ 51))
                             (LETT |k| (+ |k| 1) . #4#)))))
                         (LETT |j| (+ |j| 1) . #4#) #6=(GO G190) G191
                         (EXIT NIL))
                    (SEQ (LETT |j| 0 . #4#) (LETT #1# (- |i| 1) . #4#) G190
                         (COND ((QSGREATERP |j| #1#) #5#))
                         (SEQ
                          (EXIT
                           (COND
                            ((SPADCALL |bz| |j| (QREFELT $ 51))
                             (LETT |k| (+ |k| 1) . #4#)))))
                         (LETT |j| (QSADD1 |j|) . #4#) #6# G191 (EXIT NIL))
                    (COND
                     ((ODDP |k|)
                      (LETT |c| (SPADCALL |c| (QREFELT $ 35)) . #4#)))
                    (EXIT
                     (COND
                      ((SPADCALL |bz| |i| (QREFELT $ 51))
                       (SEQ
                        (LETT |c|
                              (SPADCALL |c|
                                        (SPADCALL (QREFELT $ 14) (+ |i| 1)
                                                  (QREFELT $ 94))
                                        (QREFELT $ 40))
                              . #4#)
                        (EXIT
                         (LETT |bz|
                               (QSDIFFERENCE |bz|
                                             (SPADCALL 2 |i| (QREFELT $ 95)))
                               . #4#))))
                      ('T
                       (LETT |bz| (QSPLUS |bz| (SPADCALL 2 |i| (QREFELT $ 95)))
                             . #4#)))))))))
           (LETT |i| (QSADD1 |i|) . #4#) #6# G191 (EXIT NIL))
      (LETT |result| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30)) . #4#)
      (QSETAREF1 |result| |bz| |c|) (EXIT |result|))))) 

(DEFUN |CLIF;*;3$;45| (|x| |y| $)
  (PROG (|z| #1=#:G2090 |iy| #2=#:G2089 |ix| #3=#:G2088 #4=#:G2087)
    (RETURN
     (SEQ
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30))
            . #5=(|CLIF;*;3$;45|))
      (COND
       ((QREFELT $ 17)
        (SEQ (LETT |ix| 0 . #5#) (LETT #4# (- (QREFELT $ 21) 1) . #5#) G190
             (COND ((QSGREATERP |ix| #4#) #6=(GO G191)))
             (SEQ
              (EXIT
               (COND
                ((NULL
                  (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                            (QREFELT $ 28)))
                 (SEQ (LETT |iy| 0 . #5#) (LETT #3# (- (QREFELT $ 21) 1) . #5#)
                      G190 (COND ((QSGREATERP |iy| #3#) #6#))
                      (SEQ
                       (EXIT
                        (COND
                         ((NULL
                           (SPADCALL (QAREF1 |y| |iy|) (|spadConstant| $ 30)
                                     (QREFELT $ 28)))
                          (LETT |z|
                                (SPADCALL |z|
                                          (|CLIF;cliffordDiagonalTerm|
                                           (QAREF1 |x| |ix|)
                                           (SPADCALL |ix| (QREFELT $ 61))
                                           (QAREF1 |y| |iy|)
                                           (SPADCALL |iy| (QREFELT $ 61)) $)
                                          (QREFELT $ 32))
                                . #5#)))))
                      (LETT |iy| (QSADD1 |iy|) . #5#) #7=(GO G190) G191
                      (EXIT NIL))))))
             (LETT |ix| (QSADD1 |ix|) . #5#) #7# G191 (EXIT NIL))))
      (COND
       ((NULL (QREFELT $ 17))
        (SEQ (LETT |ix| 0 . #5#) (LETT #2# (- (QREFELT $ 21) 1) . #5#) G190
             (COND ((QSGREATERP |ix| #2#) #6#))
             (SEQ
              (EXIT
               (COND
                ((NULL
                  (SPADCALL (QAREF1 |x| |ix|) (|spadConstant| $ 30)
                            (QREFELT $ 28)))
                 (SEQ (LETT |iy| 0 . #5#) (LETT #1# (- (QREFELT $ 21) 1) . #5#)
                      G190 (COND ((QSGREATERP |iy| #1#) #6#))
                      (SEQ
                       (EXIT
                        (COND
                         ((NULL
                           (SPADCALL (QAREF1 |y| |iy|) (|spadConstant| $ 30)
                                     (QREFELT $ 28)))
                          (LETT |z|
                                (SPADCALL |z|
                                          (|CLIF;cliffordProdTerm|
                                           (QAREF1 |x| |ix|)
                                           (SPADCALL |ix| (QREFELT $ 61))
                                           (QAREF1 |y| |iy|)
                                           (SPADCALL |iy| (QREFELT $ 61)) $)
                                          (QREFELT $ 32))
                                . #5#)))))
                      (LETT |iy| (QSADD1 |iy|) . #5#) #7# G191 (EXIT NIL))))))
             (LETT |ix| (QSADD1 |ix|) . #5#) #7# G191 (EXIT NIL))))
      (EXIT |z|))))) 

(DEFUN |CLIF;~;2$;46| (|x| $)
  (SPADCALL |x| (SPADCALL (QREFELT $ 75)) (QREFELT $ 90))) 

(DEFUN |CLIF;canonMonom| (|c| |lb| $)
  (PROG (|bz| #1=#:G2101 |bn| #2=#:G2100 #3=#:G2109 |b| |wasordered|
         |exchanges| |t| #4=#:G2108 |i| #5=#:G2093 #6=#:G2107)
    (RETURN
     (SEQ
      (SEQ
       (EXIT
        (SEQ (LETT |b| NIL . #7=(|CLIF;canonMonom|)) (LETT #6# |lb| . #7#) G190
             (COND
              ((OR (ATOM #6#) (PROGN (LETT |b| (CAR #6#) . #7#) NIL))
               #8=(GO G191)))
             (SEQ
              (EXIT
               (COND
                ((< (QREFELT $ 6) |b|)
                 (PROGN
                  (LETT #5# (|error| "No such basis element") . #7#)
                  (GO #5#))))))
             (LETT #6# (CDR #6#) . #7#) #9=(GO G190) G191 (EXIT NIL)))
       #5# (EXIT #5#))
      (LETT |wasordered| 'NIL . #7#) (LETT |exchanges| 0 . #7#)
      (SEQ G190 (COND ((NULL (COND (|wasordered| 'NIL) ('T 'T))) #8#))
           (SEQ (LETT |wasordered| 'T . #7#)
                (EXIT
                 (SEQ (LETT |i| 1 . #7#) (LETT #4# (- (LENGTH |lb|) 1) . #7#)
                      G190 (COND ((QSGREATERP |i| #4#) #8#))
                      (SEQ
                       (EXIT
                        (COND
                         ((< (SPADCALL |lb| (+ |i| 1) (QREFELT $ 97))
                             (SPADCALL |lb| |i| (QREFELT $ 97)))
                          (SEQ
                           (LETT |t| (SPADCALL |lb| |i| (QREFELT $ 97)) . #7#)
                           (SPADCALL |lb| |i|
                                     (SPADCALL |lb| (+ |i| 1) (QREFELT $ 97))
                                     (QREFELT $ 98))
                           (SPADCALL |lb| (+ |i| 1) |t| (QREFELT $ 98))
                           (LETT |exchanges| (+ |exchanges| 1) . #7#)
                           (EXIT (LETT |wasordered| 'NIL . #7#)))))))
                      (LETT |i| (QSADD1 |i|) . #7#) #9# G191 (EXIT NIL))))
           NIL #9# G191 (EXIT NIL))
      (COND
       ((ODDP |exchanges|) (LETT |c| (SPADCALL |c| (QREFELT $ 35)) . #7#)))
      (LETT |bz| 0 . #7#)
      (SEQ (LETT |b| NIL . #7#) (LETT #3# |lb| . #7#) G190
           (COND ((OR (ATOM #3#) (PROGN (LETT |b| (CAR #3#) . #7#) NIL)) #8#))
           (SEQ
            (LETT |bn|
                  (PROG1 (LETT #2# (- |b| 1) . #7#)
                    (|check-subtype| (>= #2# 0) '(|NonNegativeInteger|) #2#))
                  . #7#)
            (EXIT
             (COND
              ((SPADCALL |bz| |bn| (QREFELT $ 51))
               (SEQ
                (LETT |c|
                      (SPADCALL |c|
                                (SPADCALL (QREFELT $ 14) |bn| (QREFELT $ 94))
                                (QREFELT $ 40))
                      . #7#)
                (EXIT
                 (LETT |bz|
                       (PROG1 (LETT #1# (- |bz| (EXPT 2 |bn|)) . #7#)
                         (|check-subtype| (>= #1# 0) '(|NonNegativeInteger|)
                                          #1#))
                       . #7#))))
              ('T (LETT |bz| (+ |bz| (EXPT 2 |bn|)) . #7#)))))
           (LETT #3# (CDR #3#) . #7#) #9# G191 (EXIT NIL))
      (EXIT (CONS |c| |bz|)))))) 

(DEFUN |CLIF;monomial;KL$;48| (|c| |lb| $)
  (PROG (|z| |r|)
    (RETURN
     (SEQ
      (LETT |r| (|CLIF;canonMonom| |c| |lb| $) . #1=(|CLIF;monomial;KL$;48|))
      (LETT |z| (MAKEARR1 (QREFELT $ 21) (|spadConstant| $ 30)) . #1#)
      (QSETAREF1 |z| (QCDR |r|) (QCAR |r|)) (EXIT |z|))))) 

(DEFUN |CLIF;coefficient;$LK;49| (|z| |lb| $)
  (PROG (|r|)
    (RETURN
     (SEQ
      (LETT |r| (|CLIF;canonMonom| (|spadConstant| $ 46) |lb| $)
            |CLIF;coefficient;$LK;49|)
      (EXIT
       (COND
        ((SPADCALL (QCAR |r|) (|spadConstant| $ 30) (QREFELT $ 28))
         (|error| "Cannot take coef of 0"))
        ('T (SPADCALL (QAREF1 |z| (QCDR |r|)) (QCAR |r|) (QREFELT $ 100))))))))) 

(DEFUN |CLIF;coerceMonom| (|c| |b| $)
  (PROG (|be| |ml| #1=#:G2127 |i| #2=#:G2126)
    (RETURN
     (SEQ
      (COND ((EQL |b| 0) (SPADCALL |c| (QREFELT $ 103)))
            (#3='T
             (SEQ
              (LETT |ml|
                    (PROGN
                     (LETT #2# NIL . #4=(|CLIF;coerceMonom|))
                     (SEQ (LETT |i| 1 . #4#) (LETT #1# (QREFELT $ 6) . #4#)
                          G190 (COND ((QSGREATERP |i| #1#) (GO G191)))
                          (SEQ
                           (EXIT
                            (COND
                             ((SPADCALL |b| (- |i| 1) (QREFELT $ 51))
                              (LETT #2#
                                    (CONS
                                     (SPADCALL "e"
                                               (SPADCALL |i| (QREFELT $ 104))
                                               (QREFELT $ 105))
                                     #2#)
                                    . #4#)))))
                          (LETT |i| (QSADD1 |i|) . #4#) (GO G190) G191
                          (EXIT (NREVERSE0 #2#))))
                    . #4#)
              (LETT |be| (SPADCALL (ELT $ 106) |ml| (QREFELT $ 109)) . #4#)
              (EXIT
               (COND ((SPADCALL |c| (|spadConstant| $ 46) (QREFELT $ 28)) |be|)
                     (#3#
                      (SPADCALL (SPADCALL |c| (QREFELT $ 103)) |be|
                                (QREFELT $ 106)))))))))))) 

(DEFUN |CLIF;coerce;$Of;51| (|x| $)
  (PROG (|tl| #1=#:G2135 |i| #2=#:G2134)
    (RETURN
     (SEQ
      (LETT |tl|
            (PROGN
             (LETT #2# NIL . #3=(|CLIF;coerce;$Of;51|))
             (SEQ (LETT |i| 0 . #3#) (LETT #1# (- (QREFELT $ 21) 1) . #3#) G190
                  (COND ((QSGREATERP |i| #1#) (GO G191)))
                  (SEQ
                   (EXIT
                    (COND
                     ((COND
                       ((SPADCALL (QAREF1 |x| |i|) (|spadConstant| $ 30)
                                  (QREFELT $ 28))
                        'NIL)
                       (#4='T 'T))
                      (LETT #2#
                            (CONS (|CLIF;coerceMonom| (QAREF1 |x| |i|) |i| $)
                                  #2#)
                            . #3#)))))
                  (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191
                  (EXIT (NREVERSE0 #2#))))
            . #3#)
      (EXIT
       (COND ((NULL |tl|) "0")
             (#4# (SPADCALL (ELT $ 110) |tl| (QREFELT $ 109))))))))) 

(DEFUN |CLIF;localPowerSets| (|j| $)
  (PROG (|Sn| #1=#:G2141 |x| |Sm| #2=#:G2136 |l|)
    (RETURN
     (SEQ
      (LETT |l| (SPADCALL NIL (QREFELT $ 113)) . #3=(|CLIF;localPowerSets|))
      (EXIT
       (COND ((EQL |j| 0) |l|)
             ('T
              (SEQ
               (LETT |Sm|
                     (|CLIF;localPowerSets|
                      (PROG1 (LETT #2# (- |j| 1) . #3#)
                        (|check-subtype| (>= #2# 0) '(|NonNegativeInteger|)
                                         #2#))
                      $)
                     . #3#)
               (LETT |Sn| NIL . #3#)
               (SEQ (LETT |x| NIL . #3#) (LETT #1# |Sm| . #3#) G190
                    (COND
                     ((OR (ATOM #1#) (PROGN (LETT |x| (CAR #1#) . #3#) NIL))
                      (GO G191)))
                    (SEQ (EXIT (LETT |Sn| (CONS (CONS |j| |x|) |Sn|) . #3#)))
                    (LETT #1# (CDR #1#) . #3#) (GO G190) G191 (EXIT NIL))
               (EXIT (APPEND |Sn| |Sm|)))))))))) 

(DEFUN |CLIF;powerSets| (|j| $)
  (SPADCALL (ELT $ 114) (|CLIF;localPowerSets| |j| $) (QREFELT $ 116))) 

(DEFUN |CLIF;recip;$U;54| (|x| $)
  (PROG (|ansC| |ansP| |cj| #1=#:G2168 |pj| |ans| |lhsEqs| |lhsEqi| #2=#:G2167
         |rhsEqs| #3=#:G2166 |pi| |one|)
    (RETURN
     (SEQ (LETT |one| (|spadConstant| $ 47) . #4=(|CLIF;recip;$U;54|))
          (LETT |rhsEqs| NIL . #4#) (LETT |lhsEqs| NIL . #4#)
          (SEQ (LETT |pi| NIL . #4#) (LETT #3# (QREFELT $ 117) . #4#) G190
               (COND
                ((OR (ATOM #3#) (PROGN (LETT |pi| (CAR #3#) . #4#) NIL))
                 #5=(GO G191)))
               (SEQ
                (LETT |rhsEqs|
                      (CONS (SPADCALL |one| |pi| (QREFELT $ 101)) |rhsEqs|)
                      . #4#)
                (LETT |lhsEqi| NIL . #4#)
                (SEQ (LETT |pj| NIL . #4#) (LETT #2# (QREFELT $ 117) . #4#)
                     G190
                     (COND
                      ((OR (ATOM #2#) (PROGN (LETT |pj| (CAR #2#) . #4#) NIL))
                       #5#))
                     (SEQ
                      (EXIT
                       (LETT |lhsEqi|
                             (CONS
                              (SPADCALL
                               (SPADCALL |x|
                                         (SPADCALL (|spadConstant| $ 46) |pj|
                                                   (QREFELT $ 99))
                                         (QREFELT $ 90))
                               |pi| (QREFELT $ 101))
                              |lhsEqi|)
                             . #4#)))
                     (LETT #2# (CDR #2#) . #4#) #6=(GO G190) G191 (EXIT NIL))
                (EXIT
                 (LETT |lhsEqs| (CONS (REVERSE |lhsEqi|) |lhsEqs|) . #4#)))
               (LETT #3# (CDR #3#) . #4#) #6# G191 (EXIT NIL))
          (LETT |ans|
                (SPADCALL (SPADCALL |lhsEqs| (QREFELT $ 120))
                          (SPADCALL |rhsEqs| (QREFELT $ 121)) (QREFELT $ 124))
                . #4#)
          (EXIT
           (COND ((QEQCAR |ans| 1) (CONS 1 "failed"))
                 ('T
                  (SEQ
                   (LETT |ansP| (SPADCALL (QCDR |ans|) (QREFELT $ 125)) . #4#)
                   (LETT |ansC| (|spadConstant| $ 42) . #4#)
                   (SEQ (LETT |pj| NIL . #4#) (LETT #1# (QREFELT $ 117) . #4#)
                        G190
                        (COND
                         ((OR (ATOM #1#)
                              (PROGN (LETT |pj| (CAR #1#) . #4#) NIL))
                          #5#))
                        (SEQ (LETT |cj| (|SPADfirst| |ansP|) . #4#)
                             (LETT |ansP| (CDR |ansP|) . #4#)
                             (EXIT
                              (LETT |ansC|
                                    (SPADCALL |ansC|
                                              (SPADCALL |cj|
                                                        (SPADCALL
                                                         (|spadConstant| $ 46)
                                                         |pj| (QREFELT $ 99))
                                                        (QREFELT $ 41))
                                              (QREFELT $ 32))
                                    . #4#)))
                        (LETT #1# (CDR #1#) . #4#) #6# G191 (EXIT NIL))
                   (EXIT (CONS 0 |ansC|)))))))))) 

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

(DEFUN |CliffordAlgebra;| (|#1| |#2| |#3|)
  (PROG (|pv$| $ |dv$| DV$3 DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|CliffordAlgebra|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT DV$3 (|devaluate| |#3|) . #1#)
      (LETT |dv$| (LIST '|CliffordAlgebra| DV$1 DV$2 DV$3) . #1#)
      (LETT $ (GETREFV 128) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|CliffordAlgebra| (LIST DV$1 DV$2 DV$3)
                  (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (QSETREFV $ 8 |#3|)
      (SETF |pv$| (QREFELT $ 3))
      (QSETREFV $ 14 (SPADCALL (SPADCALL |#3| (QREFELT $ 11)) (QREFELT $ 13)))
      (QSETREFV $ 17 (SPADCALL |#3| (QREFELT $ 16)))
      (QSETREFV $ 18 'NIL)
      (QSETREFV $ 21 (SPADCALL 2 |#1| (QREFELT $ 20)))
      (QSETREFV $ 22 (|PrimitiveArray| |#2|))
      (QSETREFV $ 117 (|CLIF;powerSets| |#1| $))
      $)))) 

(MAKEPROP '|CliffordAlgebra| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|local| |#3|) (|DirectProduct| 6 7) (|SquareMatrix| 6 7)
              (0 . |diagonal|) (|Vector| 7) (5 . |coerce|) '|Qeelist|
              (|Boolean|) (10 . |diagonal?|) '|orthogonal| '|debug|
              (|PositiveInteger|) (15 . ^) '|dim| '|Rep| (|NonNegativeInteger|)
              (21 . |characteristic|) |CLIF;characteristic;Nni;1|
              (|CardinalNumber|) (25 . |coerce|) (30 . =) |CLIF;=;2$B;3|
              (36 . |Zero|) (40 . +) |CLIF;+;3$;4| (46 . -) |CLIF;-;3$;5|
              (52 . -) |CLIF;-;2$;6| (|Integer|) (57 . *) |CLIF;*;I2$;7|
              (63 . *) |CLIF;*;K2$;8|
              (CONS IDENTITY (FUNCALL (|dispatchFunction| |CLIF;Zero;$;9|) $))
              (69 . |Zero|) (73 . |Zero|) (77 . |Zero|) (81 . |One|)
              (CONS IDENTITY (FUNCALL (|dispatchFunction| |CLIF;One;$;10|) $))
              (85 . |coerce|) |CLIF;coerce;I$;11| |CLIF;coerce;K$;12|
              (90 . |bit?|) (96 . |One|) (100 . |One|) (104 . |One|)
              (|Character|) (|String|) (108 . |elt|) (114 . |char|) (119 . =)
              (|SingleInteger|) (125 . |coerce|) (|List| $) (130 . |concat|)
              |CLIF;e;Pi$;15| |CLIF;/\\;3$;37| (|Mapping| $$ $$ $$) (|List| $$)
              (135 . |reduce|) (|List| 19) |CLIF;ee;L$;16| (|List| 7)
              (142 . |elt|) |CLIF;multivector;L$;17|
              |CLIF;eFromBinaryMap;Nni$;18| |CLIF;ePseudoscalar;$;19|
              (|List| 67) (|Matrix| $$) (148 . |matrix|) (|Matrix| $)
              (|Mapping| $ $ $) |CLIF;toTable;MM;20| (|Mapping| $ $)
              |CLIF;toTable;MM;21| |CLIF;grade;$Nni;23|
              |CLIF;gradeInvolution;2$;25| |CLIF;reverse;2$;27|
              |CLIF;conj;2$;29| |CLIF;setMode;S2B;30| (153 . |elt|)
              |CLIF;*;3$;45| |CLIF;\\/;3$;38| |CLIF;lc;3$;41| |CLIF;rc;3$;42|
              (160 . |elt|) (166 . ^) |CLIF;~;2$;46| (172 . |elt|)
              (178 . |setelt|) |CLIF;monomial;KL$;48| (185 . /)
              |CLIF;coefficient;$LK;49| (|OutputForm|) (191 . |coerce|)
              (196 . |coerce|) (201 . |sub|) (207 . *) (|Mapping| 102 102 102)
              (|List| 102) (213 . |reduce|) (219 . +) |CLIF;coerce;$Of;51|
              (|List| 69) (225 . |list|) (230 . |reverse|) (|Mapping| 69 69)
              (235 . |map|) '|Pn| (|List| 71) (|Matrix| 7) (241 . |matrix|)
              (246 . |vector|) (|Union| 12 '"failed")
              (|LinearSystemMatrixPackage| 7 12 12 119)
              (251 . |particularSolution|) (257 . |parts|)
              (|Union| $ '"failed") |CLIF;recip;$U;54|)
           '#(~= 262 ~ 268 |zero?| 273 |toTable| 278 |subtractIfCan| 288
              |setMode| 294 |sample| 300 |reverse| 304 |recip| 309 |rc| 314
              |one?| 320 |multivector| 325 |monomial| 330 |lc| 336 |latex| 342
              |hash| 347 |gradeInvolution| 352 |grade| 357 |ee| 362
              |ePseudoscalar| 367 |eFromBinaryMap| 371 |e| 376 |conj| 381
              |coerce| 386 |coefficient| 401 |characteristic| 407 ^ 411 |\\/|
              423 |Zero| 429 |One| 433 = 437 |/\\| 443 - 449 + 460 * 466)
           'NIL
           (CONS
            (|makeByteWordVec2| 1 '(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0))
            (CONS
             '#(|Algebra&| |Module&| NIL |Ring&| NIL NIL NIL NIL
                |AbelianGroup&| NIL NIL |AbelianMonoid&| |Monoid&| NIL
                |SemiGroup&| |AbelianSemiGroup&| |SetCategory&| NIL
                |BasicType&| NIL)
             (CONS
              '#((|Algebra| 7) (|Module| 7) (|BiModule| 7 7) (|Ring|)
                 (|RightModule| 7) (|LeftModule| 7) (|Rng|) (|LeftModule| $$)
                 (|AbelianGroup|) (|CancellationAbelianMonoid|) (|SemiRing|)
                 (|AbelianMonoid|) (|Monoid|) (|SemiRng|) (|SemiGroup|)
                 (|AbelianSemiGroup|) (|SetCategory|) (|unitsKnown|)
                 (|BasicType|) (|CoercibleTo| 102))
              (|makeByteWordVec2| 127
                                  '(1 10 9 0 11 1 9 12 0 13 1 10 15 0 16 2 19 0
                                    0 19 20 0 7 23 24 1 26 0 23 27 2 7 15 0 0
                                    28 0 7 0 30 2 7 0 0 0 31 2 7 0 0 0 33 1 7 0
                                    0 35 2 7 0 37 0 38 2 7 0 0 0 40 0 10 0 43 0
                                    9 0 44 0 26 0 45 0 7 0 46 1 7 0 37 48 2 37
                                    15 0 0 51 0 10 0 52 0 9 0 53 0 26 0 54 2 56
                                    55 0 37 57 1 55 0 56 58 2 55 15 0 0 59 1 60
                                    0 37 61 1 56 0 62 63 3 67 2 66 0 2 68 2 71
                                    7 0 37 72 1 77 0 76 78 3 10 7 0 37 37 89 2
                                    12 7 0 37 94 2 60 0 0 23 95 2 69 19 0 37 97
                                    3 69 19 0 37 19 98 2 7 0 0 0 100 1 7 102 0
                                    103 1 23 102 0 104 2 102 0 0 0 105 2 102 0
                                    0 0 106 2 108 102 107 0 109 2 102 0 0 0 110
                                    1 112 0 69 113 1 69 0 0 114 2 112 0 115 0
                                    116 1 119 0 118 120 1 12 0 71 121 2 123 122
                                    119 12 124 1 12 71 0 125 2 0 15 0 0 1 1 0 0
                                    0 96 1 0 15 0 1 1 0 79 80 81 1 0 79 82 83 2
                                    0 126 0 0 1 2 0 15 56 15 88 0 0 0 1 1 0 0 0
                                    86 1 0 126 0 127 2 0 0 0 0 93 1 0 15 0 1 1
                                    0 0 71 73 2 0 0 7 69 99 2 0 0 0 0 92 1 0 56
                                    0 1 1 0 60 0 1 1 0 0 0 85 1 0 23 0 84 1 0 0
                                    69 70 0 0 0 75 1 0 0 23 74 1 0 0 19 64 1 0
                                    0 0 87 1 0 0 7 50 1 0 0 37 49 1 0 102 0 111
                                    2 0 7 0 69 101 0 0 23 25 2 0 0 0 23 1 2 0 0
                                    0 19 1 2 0 0 0 0 91 0 0 0 42 0 0 0 47 2 0
                                    15 0 0 29 2 0 0 0 0 65 1 0 0 0 36 2 0 0 0 0
                                    34 2 0 0 0 0 32 2 0 0 0 7 1 2 0 0 7 0 41 2
                                    0 0 0 0 90 2 0 0 37 0 39 2 0 0 23 0 1 2 0 0
                                    19 0 1)))))
           '|lookupComplete|)) 
