
(/VERSIONCHECK 2) 

(DEFUN |ALGFF;branchPointAtInfinity?;B;1| ($)
  (SEQ
   (COND ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
   (EXIT (SPADCALL (QREFELT $ 14) (QREFELT $ 36))))) 

(DEFUN |ALGFF;discriminant;F;2| ($)
  (SEQ
   (COND ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
   (EXIT (SPADCALL (QREFELT $ 21) (QREFELT $ 38))))) 

(DEFUN |ALGFF;integralBasis;V;3| ($)
  (SEQ
   (COND ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
   (EXIT (|ALGFF;vect| (QREFELT $ 30) $)))) 

(DEFUN |ALGFF;integralBasisAtInfinity;V;4| ($)
  (SEQ
   (COND ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
   (EXIT (|ALGFF;vect| (QREFELT $ 33) $)))) 

(DEFUN |ALGFF;integralMatrix;M;5| ($)
  (SEQ
   (COND ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
   (EXIT (QREFELT $ 30)))) 

(DEFUN |ALGFF;inverseIntegralMatrix;M;6| ($)
  (SEQ
   (COND ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
   (EXIT (QREFELT $ 32)))) 

(DEFUN |ALGFF;integralMatrixAtInfinity;M;7| ($)
  (SEQ
   (COND ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
   (EXIT (QREFELT $ 33)))) 

(DEFUN |ALGFF;branchPoint?;FB;8| (|a| $)
  (SPADCALL
   (SPADCALL (SPADCALL (SPADCALL (QREFELT $ 39)) (QREFELT $ 46)) |a|
             (QREFELT $ 47))
   (QREFELT $ 48))) 

(DEFUN |ALGFF;definingPolynomial;UPUP;9| ($) (QREFELT $ 9)) 

(DEFUN |ALGFF;inverseIntegralMatrixAtInfinity;M;10| ($)
  (SEQ
   (COND ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
   (EXIT (QREFELT $ 34)))) 

(DEFUN |ALGFF;vect| (|m| $)
  (PROG (#1=#:G1838 |i| #2=#:G1837 #3=#:G1836)
    (RETURN
     (SEQ
      (PROGN
       (LETT #3# (GETREFV #4=(SPADCALL |m| (QREFELT $ 53)))
             . #5=(|ALGFF;vect|))
       (SEQ (LETT #2# 0 . #5#) (LETT |i| 1 . #5#) (LETT #1# #4# . #5#) G190
            (COND ((QSGREATERP |i| #1#) (GO G191)))
            (SEQ
             (EXIT
              (SETELT #3# #2#
                      (SPADCALL (SPADCALL |m| |i| (QREFELT $ 55))
                                (QREFELT $ 56)))))
            (LETT |i| (PROG1 (QSADD1 |i|) (LETT #2# (QSADD1 #2#) . #5#)) . #5#)
            (GO G190) G191 (EXIT NIL))
       #3#))))) 

(DEFUN |ALGFF;integralCoordinates;$R;12| (|f| $)
  (SPADCALL
   (SPADCALL (SPADCALL |f| (QREFELT $ 57)) (SPADCALL (QREFELT $ 44))
             (QREFELT $ 58))
   (QREFELT $ 61))) 

(DEFUN |ALGFF;knownInfBasis;NniV;13| (|d| $)
  (PROG (#1=#:G1857 |j| #2=#:G1856 |i| |invib| |ib| #3=#:G1855 #4=#:G1854
         #5=#:G1853 |alpha| #6=#:G1852 #7=#:G1851)
    (RETURN
     (SEQ
      (COND
       ((SPADCALL (QREFELT $ 13) (QREFELT $ 35))
        (SEQ
         (LETT |alpha|
               (PROGN
                (LETT #7# (GETREFV (QSADD1 #8=(QREFELT $ 27)))
                      . #9=(|ALGFF;knownInfBasis;NniV;13|))
                (SEQ (LETT |i| 0 . #9#) (LETT #6# #8# . #9#) G190
                     (COND ((QSGREATERP |i| #6#) #10=(GO G191)))
                     (SEQ
                      (EXIT
                       (SETELT #7# |i|
                               (SPADCALL
                                (SPADCALL (|spadConstant| $ 63) (* |d| |i|)
                                          (QREFELT $ 64))
                                (QREFELT $ 65)))))
                     (LETT |i| (QSADD1 |i|) . #9#) #11=(GO G190) G191
                     (EXIT NIL))
                #7#)
               . #9#)
         (LETT |ib|
               (SPADCALL
                (PROGN
                 (LETT #5#
                       (GETREFV
                        (QSADD1
                         (- #12=(QVSIZE |alpha|)
                            #13=(SPADCALL |alpha| (QREFELT $ 66)))))
                       . #9#)
                 (SEQ (LETT #4# 0 . #9#) (LETT |i| #13# . #9#)
                      (LETT #3# #12# . #9#) G190 (COND ((> |i| #3#) #10#))
                      (SEQ
                       (EXIT
                        (SETELT #5# #4#
                                (SPADCALL (QAREF1O |alpha| |i| 1)
                                          (QREFELT $ 67)))))
                      (LETT |i| (PROG1 (+ |i| 1) (LETT #4# (QSADD1 #4#) . #9#))
                            . #9#)
                      #11# G191 (EXIT NIL))
                 #5#)
                (QREFELT $ 68))
               . #9#)
         (LETT |invib| (SPADCALL |alpha| (QREFELT $ 68)) . #9#)
         (EXIT
          (SEQ (LETT |i| 1 . #9#)
               (LETT #2# (SPADCALL |ib| (QREFELT $ 53)) . #9#) G190
               (COND ((QSGREATERP |i| #2#) #10#))
               (SEQ
                (EXIT
                 (SEQ (LETT |j| 1 . #9#)
                      (LETT #1# (SPADCALL |ib| (QREFELT $ 69)) . #9#) G190
                      (COND ((QSGREATERP |j| #1#) #10#))
                      (SEQ
                       (SPADCALL (QREFELT $ 33) |i| |j|
                                 (QAREF2O |ib| |i| |j| 1 1) (QREFELT $ 70))
                       (EXIT
                        (SPADCALL (QREFELT $ 34) |i| |j|
                                  (SPADCALL |invib| |i| |j| (QREFELT $ 71))
                                  (QREFELT $ 70))))
                      (LETT |j| (QSADD1 |j|) . #9#) #11# G191 (EXIT NIL))))
               (LETT |i| (QSADD1 |i|) . #9#) #11# G191 (EXIT NIL))))))
      (EXIT (SPADCALL (QREFELT $ 73))))))) 

(DEFUN |ALGFF;getInfBasis| ($)
  (PROG (#1=#:G1891 |j| #2=#:G1890 |i| |invib2| |ib2| #3=#:G1889 #4=#:G1888
         |invib| |invalpha| #5=#:G1887 #6=#:G1886 #7=#:G1885 |alpha| #8=#:G1884
         #9=#:G1883 |ninvmod| |r| |invmod| |x|)
    (RETURN
     (SEQ
      (LETT |x|
            (SPADCALL
             (SPADCALL (SPADCALL (|spadConstant| $ 63) 1 (QREFELT $ 64))
                       (QREFELT $ 65))
             (QREFELT $ 67))
            . #10=(|ALGFF;getInfBasis|))
      (LETT |invmod|
            (SPADCALL (CONS #'|ALGFF;getInfBasis!0| (VECTOR $ |x|))
                      (QREFELT $ 9) (QREFELT $ 78))
            . #10#)
      (LETT |r| (SPADCALL |invmod| (QREFELT $ 81)) . #10#)
      (COND
       ((NULL (EQL (SPADCALL (QCDR |r|) (QREFELT $ 23)) (QREFELT $ 24)))
        (EXIT (|error| "Should not happen"))))
      (LETT |ninvmod| (SPADCALL (ELT $ 46) (QCDR |r|) (QREFELT $ 85)) . #10#)
      (LETT |alpha|
            (PROGN
             (LETT #9# (GETREFV (QSADD1 #11=(QREFELT $ 27))) . #10#)
             (SEQ (LETT |i| 0 . #10#) (LETT #8# #11# . #10#) G190
                  (COND ((QSGREATERP |i| #8#) #12=(GO G191)))
                  (SEQ
                   (EXIT
                    (SETELT #9# |i|
                            (SPADCALL (SPADCALL (QCAR |r|) |i| (QREFELT $ 86))
                                      |x| (QREFELT $ 76)))))
                  (LETT |i| (QSADD1 |i|) . #10#) #13=(GO G190) G191 (EXIT NIL))
             #9#)
            . #10#)
      (LETT |invalpha|
            (PROGN
             (LETT #7#
                   (GETREFV
                    (QSADD1
                     (- #14=(QVSIZE |alpha|)
                        #15=(SPADCALL |alpha| (QREFELT $ 66)))))
                   . #10#)
             (SEQ (LETT #6# 0 . #10#) (LETT |i| #15# . #10#)
                  (LETT #5# #14# . #10#) G190 (COND ((> |i| #5#) #12#))
                  (SEQ
                   (EXIT
                    (SETELT #7# #6#
                            (SPADCALL (QAREF1O |alpha| |i| 1)
                                      (QREFELT $ 67)))))
                  (LETT |i| (PROG1 (+ |i| 1) (LETT #6# (QSADD1 #6#) . #10#))
                        . #10#)
                  #13# G191 (EXIT NIL))
             #7#)
            . #10#)
      (LETT |invib|
            (SPADCALL
             (|compiledLookupCheck| '|integralBasis|
                                    (LIST
                                     (LIST '|Record|
                                           (LIST '|:| '|basis|
                                                 (LIST '|Matrix|
                                                       (|devaluate|
                                                        (ELT $ 7))))
                                           (LIST '|:| '|basisDen|
                                                 (|devaluate| (ELT $ 7)))
                                           (LIST '|:| '|basisInv|
                                                 (LIST '|Matrix|
                                                       (|devaluate|
                                                        (ELT $ 7))))))
                                    (|FunctionFieldIntegralBasis| (ELT $ 7)
                                                                  (|SparseUnivariatePolynomial|
                                                                   (ELT $ 7))
                                                                  (|SimpleAlgebraicExtension|
                                                                   (ELT $ 7)
                                                                   (|SparseUnivariatePolynomial|
                                                                    (ELT $ 7))
                                                                   |ninvmod|))))
            . #10#)
      (SEQ (LETT |i| 1 . #10#)
           (LETT #4# (SPADCALL (QREFELT $ 30) (QREFELT $ 53)) . #10#) G190
           (COND ((QSGREATERP |i| #4#) #12#))
           (SEQ
            (EXIT
             (SEQ (LETT |j| 1 . #10#)
                  (LETT #3# (SPADCALL (QREFELT $ 30) (QREFELT $ 69)) . #10#)
                  G190 (COND ((QSGREATERP |j| #3#) #12#))
                  (SEQ
                   (SPADCALL (QREFELT $ 33) |i| |j|
                             (SPADCALL
                              (SPADCALL
                               (SPADCALL (QVELT |invib| 0) |i| |j|
                                         (QREFELT $ 89))
                               (QVELT |invib| 1) (QREFELT $ 90))
                              |x| (QREFELT $ 76))
                             (QREFELT $ 70))
                   (EXIT
                    (SPADCALL (QREFELT $ 34) |i| |j|
                              (SPADCALL
                               (SPADCALL (QVELT |invib| 2) |i| |j|
                                         (QREFELT $ 89))
                               |x| (QREFELT $ 91))
                              (QREFELT $ 70))))
                  (LETT |j| (QSADD1 |j|) . #10#) #13# G191 (EXIT NIL))))
           (LETT |i| (QSADD1 |i|) . #10#) #13# G191 (EXIT NIL))
      (LETT |ib2|
            (SPADCALL (QREFELT $ 33) (SPADCALL |alpha| (QREFELT $ 68))
                      (QREFELT $ 92))
            . #10#)
      (LETT |invib2|
            (SPADCALL (SPADCALL |invalpha| (QREFELT $ 68)) (QREFELT $ 34)
                      (QREFELT $ 92))
            . #10#)
      (SEQ (LETT |i| 1 . #10#)
           (LETT #2# (SPADCALL |ib2| (QREFELT $ 53)) . #10#) G190
           (COND ((QSGREATERP |i| #2#) #12#))
           (SEQ
            (EXIT
             (SEQ (LETT |j| 1 . #10#)
                  (LETT #1# (SPADCALL (QREFELT $ 30) (QREFELT $ 69)) . #10#)
                  G190 (COND ((QSGREATERP |j| #1#) #12#))
                  (SEQ
                   (SPADCALL (QREFELT $ 33) |i| |j| (QAREF2O |ib2| |i| |j| 1 1)
                             (QREFELT $ 70))
                   (EXIT
                    (SPADCALL (QREFELT $ 34) |i| |j|
                              (SPADCALL |invib2| |i| |j| (QREFELT $ 71))
                              (QREFELT $ 70))))
                  (LETT |j| (QSADD1 |j|) . #10#) #13# G191 (EXIT NIL))))
           (LETT |i| (QSADD1 |i|) . #10#) #13# G191 (EXIT NIL))
      (EXIT (SPADCALL (QREFELT $ 73))))))) 

(DEFUN |ALGFF;getInfBasis!0| (|s| $$)
  (PROG (|x| $)
    (LETT |x| (QREFELT $$ 1) . #1=(|ALGFF;getInfBasis|))
    (LETT $ (QREFELT $$ 0) . #1#)
    (RETURN (PROGN (SPADCALL |s| |x| (QREFELT $ 76)))))) 

(DEFUN |ALGFF;startUp| (|b| $)
  (PROG (|dsc| |dsc0| #1=#:G1912 |j| #2=#:G1911 |i| |invib2| #3=#:G1901 |ib2|
         #4=#:G1910 #5=#:G1909 |ib| |nmod|)
    (RETURN
     (SEQ (SPADCALL (QREFELT $ 13) |b| (QREFELT $ 93))
          (LETT |nmod| (SPADCALL (ELT $ 46) (QREFELT $ 9) (QREFELT $ 85))
                . #6=(|ALGFF;startUp|))
          (LETT |ib|
                (SPADCALL
                 (|compiledLookupCheck| '|integralBasis|
                                        (LIST
                                         (LIST '|Record|
                                               (LIST '|:| '|basis|
                                                     (LIST '|Matrix|
                                                           (|devaluate|
                                                            (ELT $ 7))))
                                               (LIST '|:| '|basisDen|
                                                     (|devaluate| (ELT $ 7)))
                                               (LIST '|:| '|basisInv|
                                                     (LIST '|Matrix|
                                                           (|devaluate|
                                                            (ELT $ 7))))))
                                        (|FunctionFieldIntegralBasis| (ELT $ 7)
                                                                      (|SparseUnivariatePolynomial|
                                                                       (ELT $
                                                                            7))
                                                                      (|SimpleAlgebraicExtension|
                                                                       (ELT $
                                                                            7)
                                                                       (|SparseUnivariatePolynomial|
                                                                        (ELT $
                                                                             7))
                                                                       |nmod|))))
                . #6#)
          (SEQ (LETT |i| 1 . #6#)
               (LETT #5# (SPADCALL (QREFELT $ 30) (QREFELT $ 53)) . #6#) G190
               (COND ((QSGREATERP |i| #5#) #7=(GO G191)))
               (SEQ
                (EXIT
                 (SEQ (LETT |j| 1 . #6#)
                      (LETT #4# (SPADCALL (QREFELT $ 30) (QREFELT $ 69)) . #6#)
                      G190 (COND ((QSGREATERP |j| #4#) #7#))
                      (SEQ
                       (QSETAREF2O (QREFELT $ 30) |i| |j|
                                   (SPADCALL
                                    (SPADCALL (QVELT |ib| 0) |i| |j|
                                              (QREFELT $ 89))
                                    (QVELT |ib| 1) (QREFELT $ 90))
                                   1 1)
                       (EXIT
                        (SPADCALL (QREFELT $ 32) |i| |j|
                                  (SPADCALL
                                   (SPADCALL (QVELT |ib| 2) |i| |j|
                                             (QREFELT $ 89))
                                   (QREFELT $ 65))
                                  (QREFELT $ 70))))
                      (LETT |j| (QSADD1 |j|) . #6#) #8=(GO G190) G191
                      (EXIT NIL))))
               (LETT |i| (QSADD1 |i|) . #6#) #8# G191 (EXIT NIL))
          (COND
           ((SPADCALL (SPADCALL (QREFELT $ 33) 1 1 (QREFELT $ 71))
                      (QREFELT $ 94))
            (|ALGFF;getInfBasis| $)))
          (LETT |ib2|
                (SPADCALL
                 (SPADCALL (|ALGFF;vect| (QREFELT $ 30) $) (QREFELT $ 95))
                 (QREFELT $ 96))
                . #6#)
          (LETT |invib2|
                (PROG2
                    (LETT #3# (SPADCALL |ib2| (QREFELT $ 98)) . #6#)
                    (QCDR #3#)
                  (|check-union| (QEQCAR #3# 0)
                                 (|Matrix| (|Fraction| (QREFELT $ 7))) #3#))
                . #6#)
          (SEQ (LETT |i| 1 . #6#)
               (LETT #2# (SPADCALL |ib2| (QREFELT $ 53)) . #6#) G190
               (COND ((QSGREATERP |i| #2#) #7#))
               (SEQ
                (EXIT
                 (SEQ (LETT |j| 1 . #6#)
                      (LETT #1# (SPADCALL |ib2| (QREFELT $ 69)) . #6#) G190
                      (COND ((QSGREATERP |j| #1#) #7#))
                      (SEQ
                       (SPADCALL (QREFELT $ 30) |i| |j|
                                 (QAREF2O |ib2| |i| |j| 1 1) (QREFELT $ 70))
                       (EXIT
                        (SPADCALL (QREFELT $ 32) |i| |j|
                                  (SPADCALL |invib2| |i| |j| (QREFELT $ 71))
                                  (QREFELT $ 70))))
                      (LETT |j| (QSADD1 |j|) . #6#) #8# G191 (EXIT NIL))))
               (LETT |i| (QSADD1 |i|) . #6#) #8# G191 (EXIT NIL))
          (LETT |dsc|
                (SPADCALL (QREFELT $ 9) (SPADCALL (QREFELT $ 9) (QREFELT $ 99))
                          (QREFELT $ 100))
                . #6#)
          (LETT |dsc0|
                (SPADCALL |dsc|
                          (SPADCALL (SPADCALL (QREFELT $ 33) (QREFELT $ 101)) 2
                                    (QREFELT $ 86))
                          (QREFELT $ 102))
                . #6#)
          (EXIT
           (COND
            ((< (SPADCALL (SPADCALL |dsc0| (QREFELT $ 103)) (QREFELT $ 104))
                (SPADCALL (SPADCALL |dsc0| (QREFELT $ 105)) (QREFELT $ 104)))
             (|error| "Shouldn't happen"))
            ('T
             (SEQ
              (SPADCALL (QREFELT $ 14)
                        (<
                         (SPADCALL (SPADCALL |dsc0| (QREFELT $ 105))
                                   (QREFELT $ 104))
                         (SPADCALL (SPADCALL |dsc0| (QREFELT $ 103))
                                   (QREFELT $ 104)))
                        (QREFELT $ 93))
              (LETT |dsc|
                    (SPADCALL |dsc|
                              (SPADCALL
                               (SPADCALL (QREFELT $ 30) (QREFELT $ 101)) 2
                               (QREFELT $ 86))
                              (QREFELT $ 102))
                    . #6#)
              (SPADCALL (QREFELT $ 21)
                        (SPADCALL
                         (SPADCALL (SPADCALL |dsc| (QREFELT $ 105))
                                   (QREFELT $ 106))
                         (SPADCALL |dsc| (QREFELT $ 103)) (QREFELT $ 90))
                        (QREFELT $ 107))
              (EXIT (SPADCALL (QREFELT $ 73))))))))))) 

(DEFUN |ALGFF;integralDerivationMatrix;MR;16| (|d| $)
  (PROG (#1=#:G1924 |i| #2=#:G1923 #3=#:G1922 |w|)
    (RETURN
     (SEQ
      (LETT |w| (SPADCALL (QREFELT $ 41))
            . #4=(|ALGFF;integralDerivationMatrix;MR;16|))
      (EXIT
       (SPADCALL
        (SPADCALL
         (SPADCALL
          (PROGN
           (LETT #3#
                 (GETREFV
                  (QSADD1
                   (- #5=(SPADCALL |w| (QREFELT $ 110))
                      #6=(SPADCALL |w| (QREFELT $ 109)))))
                 . #4#)
           (SEQ (LETT #2# 0 . #4#) (LETT |i| #6# . #4#) (LETT #1# #5# . #4#)
                G190 (COND ((> |i| #1#) (GO G191)))
                (SEQ
                 (EXIT
                  (SETELT #3# #2#
                          (SPADCALL (SPADCALL |w| |i| (QREFELT $ 111)) |d|
                                    (QREFELT $ 113)))))
                (LETT |i| (PROG1 (+ |i| 1) (LETT #2# (QSADD1 #2#) . #4#))
                      . #4#)
                (GO G190) G191 (EXIT NIL))
           #3#)
          (QREFELT $ 96))
         (SPADCALL (QREFELT $ 44)) (QREFELT $ 92))
        (QREFELT $ 116))))))) 

(DEFUN |ALGFF;integralRepresents;VUP$;17| (|v| |d| $)
  (SPADCALL
   (SPADCALL (SPADCALL (SPADCALL |v| |d| (QREFELT $ 119)) (QREFELT $ 57))
             (SPADCALL (QREFELT $ 43)) (QREFELT $ 58))
   (QREFELT $ 56))) 

(DEFUN |ALGFF;branchPoint?;UPB;18| (|p| $)
  (PROG (|r|)
    (RETURN
     (SEQ
      (COND
       ((SPADCALL (QREFELT $ 13) (QREFELT $ 35)) (|ALGFF;startUp| 'NIL $)))
      (LETT |r| (SPADCALL |p| (QREFELT $ 122)) |ALGFF;branchPoint?;UPB;18|)
      (EXIT
       (COND ((QEQCAR |r| 0) (SPADCALL (QCDR |r|) (QREFELT $ 49)))
             ((SPADCALL
               (SPADCALL (SPADCALL (SPADCALL (QREFELT $ 39)) (QREFELT $ 46))
                         |p| (QREFELT $ 123))
               (QREFELT $ 124))
              'NIL)
             ('T 'T))))))) 

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

(DEFUN |AlgebraicFunctionField;| (|#1| |#2| |#3| |#4|)
  (PROG (#1=#:G1805 |pv$| #2=#:G1989 #3=#:G1990 #4=#:G1991 $ |dv$| DV$4 DV$3
         DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #5=(|AlgebraicFunctionField|))
      (LETT DV$2 (|devaluate| |#2|) . #5#)
      (LETT DV$3 (|devaluate| |#3|) . #5#)
      (LETT DV$4 (|devaluate| |#4|) . #5#)
      (LETT |dv$| (LIST '|AlgebraicFunctionField| DV$1 DV$2 DV$3 DV$4) . #5#)
      (LETT $ (GETREFV 163) . #5#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| (|Fraction| |#2|)
                                                         '(|CharacteristicNonZero|))
                                          (|HasCategory| (|Fraction| |#2|)
                                                         '(|CharacteristicZero|))
                                          (|HasCategory| (|Fraction| |#2|)
                                                         '(|FiniteFieldCategory|))
                                          (LETT #4#
                                                (|HasCategory|
                                                 (|Fraction| |#2|) '(|Field|))
                                                . #5#)
                                          (OR #4#
                                              (|HasCategory| (|Fraction| |#2|)
                                                             '(|FiniteFieldCategory|)))
                                          (|HasCategory| (|Fraction| |#2|)
                                                         '(|Finite|))
                                          (|HasCategory| (|Fraction| |#2|)
                                                         '(|LinearlyExplicitRingOver|
                                                           (|Integer|)))
                                          (|HasCategory| (|Fraction| |#2|)
                                                         '(|RetractableTo|
                                                           (|Fraction|
                                                            (|Integer|))))
                                          (|HasCategory| (|Fraction| |#2|)
                                                         '(|RetractableTo|
                                                           (|Integer|)))
                                          (|HasCategory| |#1| '(|Field|))
                                          (|HasCategory| |#1| '(|Finite|))
                                          (OR
                                           (|HasCategory| (|Fraction| |#2|)
                                                          '(|RetractableTo|
                                                            (|Fraction|
                                                             (|Integer|))))
                                           #4#)
                                          (LETT #3#
                                                (AND
                                                 (|HasCategory|
                                                  (|Fraction| |#2|)
                                                  '(|PartialDifferentialRing|
                                                    (|Symbol|)))
                                                 (|HasCategory|
                                                  (|Fraction| |#2|)
                                                  '(|Field|)))
                                                . #5#)
                                          (OR #3#
                                              (AND
                                               (|HasCategory| (|Fraction| |#2|)
                                                              '(|PartialDifferentialRing|
                                                                (|Symbol|)))
                                               (|HasCategory| (|Fraction| |#2|)
                                                              '(|FiniteFieldCategory|))))
                                          (LETT #2#
                                                (AND
                                                 (|HasCategory|
                                                  (|Fraction| |#2|)
                                                  '(|DifferentialRing|))
                                                 (|HasCategory|
                                                  (|Fraction| |#2|)
                                                  '(|Field|)))
                                                . #5#)
                                          (OR #2#
                                              (|HasCategory| (|Fraction| |#2|)
                                                             '(|FiniteFieldCategory|)))))
                      . #5#))
      (|haddProp| |$ConstructorCache| '|AlgebraicFunctionField|
                  (LIST DV$1 DV$2 DV$3 DV$4) (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (QSETREFV $ 8 |#3|)
      (QSETREFV $ 9 |#4|)
      (QSETREFV $ 13 (SPADCALL 'T (QREFELT $ 12)))
      (QSETREFV $ 14 (SPADCALL 'T (QREFELT $ 12)))
      (QSETREFV $ 21 (SPADCALL (|spadConstant| $ 18) (QREFELT $ 20)))
      (QSETREFV $ 24 (SPADCALL |#4| (QREFELT $ 23)))
      (QSETREFV $ 27
                (PROG1 (LETT #1# (- (QREFELT $ 24) 1) . #5#)
                  (|check-subtype| (>= #1# 0) '(|NonNegativeInteger|) #1#)))
      (QSETREFV $ 30 (SPADCALL (QREFELT $ 24) (QREFELT $ 24) (QREFELT $ 29)))
      (QSETREFV $ 32 (SPADCALL (QREFELT $ 30) (QREFELT $ 31)))
      (QSETREFV $ 33 (SPADCALL (QREFELT $ 30) (QREFELT $ 31)))
      (QSETREFV $ 34 (SPADCALL (QREFELT $ 30) (QREFELT $ 31)))
      $)))) 

(MAKEPROP '|AlgebraicFunctionField| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL (|SimpleAlgebraicExtension| 17 8 9)
              (|local| |#1|) (|local| |#2|) (|local| |#3|) (|local| |#4|)
              (|Boolean|) (|Reference| 10) (0 . |ref|) '|brandNew?| '|infBr?|
              (5 . |Zero|) (9 . |Zero|) (|Fraction| 7) (13 . |Zero|)
              (|Reference| 17) (17 . |ref|) '|discPoly| (|NonNegativeInteger|)
              (22 . |degree|) '|n| (27 . |One|) (31 . |One|) '|n1|
              (|Matrix| 17) (35 . |zero|) '|ibasis| (41 . |copy|) '|invibasis|
              '|infbasis| '|invinfbasis| (46 . |deref|) (51 . |elt|)
              |ALGFF;branchPointAtInfinity?;B;1| (56 . |elt|)
              |ALGFF;discriminant;F;2| (|Vector| $) |ALGFF;integralBasis;V;3|
              |ALGFF;integralBasisAtInfinity;V;4| |ALGFF;integralMatrix;M;5|
              |ALGFF;inverseIntegralMatrix;M;6|
              |ALGFF;integralMatrixAtInfinity;M;7| (61 . |retract|)
              (66 . |elt|) (72 . |zero?|) |ALGFF;branchPoint?;FB;8|
              |ALGFF;definingPolynomial;UPUP;9|
              |ALGFF;inverseIntegralMatrixAtInfinity;M;10| (|Integer|)
              (77 . |maxRowIndex|) (|Vector| 17) (82 . |row|)
              (88 . |represents|) (93 . |coordinates|) (98 . *)
              (|Record| (|:| |num| 118) (|:| |den| 7))
              (|InnerCommonDenominator| 7 17 118 54) (104 . |splitDenominator|)
              |ALGFF;integralCoordinates;$R;12| (109 . |One|)
              (113 . |monomial|) (119 . |coerce|) (124 . |minIndex|)
              (129 . |inv|) (134 . |diagonalMatrix|) (139 . |maxColIndex|)
              (144 . |setelt|) (152 . |elt|) (|Void|) (159 . |void|)
              |ALGFF;knownInfBasis;NniV;13| (|Fraction| $) (163 . |elt|)
              (|Mapping| 17 17) (169 . |map|)
              (|Record| (|:| |coef| 17) (|:| |poly| 8))
              (|ChangeOfVariable| 6 7 8) (175 . |mkIntegral|)
              (|SparseUnivariatePolynomial| 7) (|Mapping| 7 17)
              (|UnivariatePolynomialCategoryFunctions2| 17 8 7 82)
              (180 . |map|) (186 . ^) (192 . |basis|) (|Matrix| 7)
              (196 . |elt|) (203 . /) (209 . |elt|) (215 . *) (221 . |setelt|)
              (227 . |zero?|) (232 . |normalizeAtInfinity|)
              (237 . |coordinates|) (|Union| $ '"failed") (242 . |inverse|)
              (247 . |differentiate|) (252 . |resultant|) (258 . |determinant|)
              (263 . *) (269 . |denom|) (274 . |degree|) (279 . |numer|)
              (284 . |primitivePart|) (289 . |setelt|) (|Vector| $$)
              (295 . |minIndex|) (300 . |maxIndex|) (305 . |elt|)
              (|Mapping| 7 7) (311 . |differentiate|)
              (|Record| (|:| |num| 88) (|:| |den| 7))
              (|MatrixCommonDenominator| 7 17) (317 . |splitDenominator|)
              |ALGFF;integralDerivationMatrix;MR;16| (|Vector| 7)
              (322 . |represents|) |ALGFF;integralRepresents;VUP$;17|
              (|Union| 6 '#1="failed") (328 . |retractIfCan|) (333 . |gcd|)
              (339 . |ground?|) |ALGFF;branchPoint?;UPB;18| (|List| 127)
              (|Symbol|) (|List| 22) (|Fraction| 52)
              (|Record| (|:| |unit| $) (|:| |canonical| $) (|:| |associate| $))
              (|List| $) (|SparseUnivariatePolynomial| $)
              (|Record| (|:| |coef| 131) (|:| |generator| $))
              (|Union| 131 '"failed")
              (|Record| (|:| |quotient| $) (|:| |remainder| $))
              (|Record| (|:| |coef1| $) (|:| |coef2| $))
              (|Union| 136 '"failed")
              (|Record| (|:| |coef1| $) (|:| |coef2| $) (|:| |generator| $))
              (|Factored| $) (|Fraction| 8) (|PositiveInteger|)
              (|OnePointCompletion| 141) (|Union| 22 '"failed")
              (|Union| 40 '"failed") (|Matrix| $)
              (|Record| (|:| |factor| 52) (|:| |exponent| 52)) (|List| 146)
              (|Table| 141 22)
              (|Union| '"prime" '"polynomial" '"normal" '"cyclic")
              (|Matrix| 52)
              (|Record| (|:| |mat| 150) (|:| |vec| (|Vector| 52)))
              (|Union| 129 '#1#) (|Union| 52 '#1#) (|List| (|Polynomial| 6))
              (|List| (|List| 6))
              (|Record| (|:| |num| $) (|:| |den| 7) (|:| |derivden| 7)
                        (|:| |gd| 7))
              (|Union| 7 '"failed") (|Record| (|:| |mat| 28) (|:| |vec| 54))
              (|Union| 17 '#1#) (|SingleInteger|) (|String|) (|OutputForm|))
           '#(|represents| 344 |normalizeAtInfinity| 355 |knownInfBasis| 360
              |inverseIntegralMatrixAtInfinity| 365 |inverseIntegralMatrix| 369
              |integralRepresents| 373 |integralMatrixAtInfinity| 379
              |integralMatrix| 383 |integralDerivationMatrix| 387
              |integralCoordinates| 392 |integralBasisAtInfinity| 397
              |integralBasis| 401 |discriminant| 405 |differentiate| 409
              |definingPolynomial| 415 |coordinates| 419
              |branchPointAtInfinity?| 429 |branchPoint?| 433 |basis| 443
              |Zero| 447 |One| 451)
           'NIL
           (CONS
            (|makeByteWordVec2| 16
                                '(0 0 3 3 5 5 5 4 0 5 0 5 4 0 0 4 4 4 0 0 0 1 2
                                  4 4 4 16 14 7 0 0 0 4 0 0 0 0 0 4 4 0 0 0 0 0
                                  0 0 0 6 3 0 0 0 0 0 0 0 0 4 4 4 8 9))
            (CONS
             '#(|FunctionFieldCategory&| |MonogenicAlgebra&|
                |FiniteFieldCategory&| |FieldOfPrimeCharacteristic&| |Field&|
                |EuclideanDomain&| NIL |UniqueFactorizationDomain&|
                |FramedAlgebra&| |GcdDomain&| |FiniteRankAlgebra&|
                |IntegralDomain&| |DivisionRing&| |Algebra&|
                |FullyLinearlyExplicitRingOver&| |Algebra&| |Algebra&|
                |DifferentialExtension&| NIL NIL |Module&| NIL NIL |Module&|
                NIL |Module&| |DifferentialRing&| |PartialDifferentialRing&|
                NIL NIL |Ring&| NIL NIL NIL NIL NIL NIL NIL NIL NIL
                |AbelianGroup&| NIL NIL |AbelianMonoid&| |Monoid&| NIL
                |SemiGroup&| |AbelianSemiGroup&| |Finite&| NIL
                |FullyRetractableTo&| |SetCategory&| |RetractableTo&| NIL NIL
                NIL |BasicType&| NIL NIL NIL NIL |RetractableTo&|
                |RetractableTo&|)
             (CONS
              '#((|FunctionFieldCategory| 6 7 8)
                 (|MonogenicAlgebra| (|Fraction| 7) 8) (|FiniteFieldCategory|)
                 (|FieldOfPrimeCharacteristic|) (|Field|) (|EuclideanDomain|)
                 (|PrincipalIdealDomain|) (|UniqueFactorizationDomain|)
                 (|FramedAlgebra| (|Fraction| 7) 8) (|GcdDomain|)
                 (|FiniteRankAlgebra| (|Fraction| 7) 8) (|IntegralDomain|)
                 (|DivisionRing|) (|Algebra| (|Fraction| 7))
                 (|FullyLinearlyExplicitRingOver| (|Fraction| 7))
                 (|Algebra| $$) (|Algebra| 129)
                 (|DifferentialExtension| (|Fraction| 7))
                 (|LinearlyExplicitRingOver| (|Fraction| 7))
                 (|CommutativeRing|) (|Module| (|Fraction| 7))
                 (|CharacteristicNonZero|) (|CharacteristicZero|) (|Module| $$)
                 (|EntireRing|) (|Module| 129) (|DifferentialRing|)
                 (|PartialDifferentialRing| 127)
                 (|LinearlyExplicitRingOver| 52) (|BiModule| $$ $$) (|Ring|)
                 (|BiModule| (|Fraction| 7) (|Fraction| 7))
                 (|BiModule| 129 129) (|RightModule| $$) (|Rng|)
                 (|RightModule| (|Fraction| 7)) (|LeftModule| (|Fraction| 7))
                 (|LeftModule| $$) (|LeftModule| 129) (|RightModule| 129)
                 (|AbelianGroup|) (|CancellationAbelianMonoid|) (|SemiRing|)
                 (|AbelianMonoid|) (|Monoid|) (|SemiRng|) (|SemiGroup|)
                 (|AbelianSemiGroup|) (|Finite|) (|StepThrough|)
                 (|FullyRetractableTo| (|Fraction| 7)) (|SetCategory|)
                 (|RetractableTo| (|Fraction| 7)) (|ConvertibleTo| 8)
                 (|CommutativeStar|) (|unitsKnown|) (|BasicType|)
                 (|CoercibleTo| 162) (|noZeroDivisors|) (|canonicalUnitNormal|)
                 (|canonicalsClosed|) (|RetractableTo| 129)
                 (|RetractableTo| 52))
              (|makeByteWordVec2| 125
                                  '(1 11 0 10 12 0 8 0 15 0 0 0 16 0 17 0 18 1
                                    19 0 17 20 1 8 22 0 23 0 8 0 25 0 0 0 26 2
                                    28 0 22 22 29 1 28 0 0 31 1 11 10 0 35 1 11
                                    10 0 36 1 19 17 0 38 1 17 7 0 46 2 7 6 0 6
                                    47 1 6 10 0 48 1 28 52 0 53 2 28 54 0 52 55
                                    1 0 0 54 56 1 0 54 0 57 2 28 54 54 0 58 1
                                    60 59 54 61 0 6 0 63 2 7 0 6 22 64 1 17 0 7
                                    65 1 54 52 0 66 1 17 0 0 67 1 28 0 54 68 1
                                    28 52 0 69 4 28 17 0 52 52 17 70 3 28 17 0
                                    52 52 71 0 72 0 73 2 7 75 75 75 76 2 8 0 77
                                    0 78 1 80 79 8 81 2 84 82 83 8 85 2 17 0 0
                                    52 86 0 0 40 87 3 88 7 0 52 52 89 2 17 0 7
                                    7 90 2 7 75 0 75 91 2 28 0 0 0 92 2 11 10 0
                                    10 93 1 17 10 0 94 1 0 40 40 95 1 0 28 40
                                    96 1 28 97 0 98 1 8 0 0 99 2 8 17 0 0 100 1
                                    28 17 0 101 2 17 0 0 0 102 1 17 7 0 103 1 7
                                    22 0 104 1 17 7 0 105 1 7 0 0 106 2 19 17 0
                                    17 107 1 108 52 0 109 1 108 52 0 110 2 108
                                    2 0 52 111 2 0 0 0 112 113 1 115 114 28 116
                                    2 0 0 118 7 119 1 7 121 0 122 2 7 0 0 0 123
                                    1 7 10 0 124 2 0 0 118 7 119 1 0 0 54 56 1
                                    0 40 40 95 1 0 72 22 74 0 0 28 51 0 0 28 44
                                    2 0 0 118 7 120 0 0 28 45 0 0 28 43 1 0 114
                                    112 117 1 0 59 0 62 0 0 40 42 0 0 40 41 0 0
                                    17 39 2 0 0 0 112 113 0 0 8 50 1 0 28 40 96
                                    1 0 54 0 57 0 0 10 37 1 0 10 7 125 1 0 10 6
                                    49 0 0 40 87 0 0 0 16 0 0 0 26)))))
           '|lookupIncomplete|)) 
