
(SDEFUN |IR2;NLE2F|
        ((|func| |Mapping| F E) (|r| |Record| (|:| |coeff| E) (|:| |logand| E))
         ($ |Record| (|:| |coeff| F) (|:| |logand| F)))
        (CONS (SPADCALL (QCAR |r|) |func|) (SPADCALL (QCDR |r|) |func|))) 

(SDEFUN |IR2;NEE2F|
        ((|func| |Mapping| F E)
         (|n| |Record| (|:| |integrand| E) (|:| |intvar| E))
         ($ |Record| (|:| |integrand| F) (|:| |intvar| F)))
        (CONS (SPADCALL (QCAR |n|) |func|) (SPADCALL (QCDR |n|) |func|))) 

(SDEFUN |IR2;map;MUU;3|
        ((|func| |Mapping| F E) (|u| |Union| E "failed")
         ($ |Union| F "failed"))
        (COND ((QEQCAR |u| 1) (CONS 1 "failed"))
              ('T (CONS 0 (SPADCALL (QCDR |u|) |func|))))) 

(SDEFUN |IR2;map;MIrIr;4|
        ((|func| |Mapping| F E) (|ir| |IntegrationResult| E)
         ($ |IntegrationResult| F))
        (SPROG
         ((#1=#:G726 NIL) (|g| NIL) (#2=#:G725 NIL) (#3=#:G724 NIL) (|f| NIL)
          (#4=#:G723 NIL))
         (SEQ
          (SPADCALL (SPADCALL (SPADCALL |ir| (QREFELT $ 13)) |func|)
                    (PROGN
                     (LETT #4# NIL . #5=(|IR2;map;MIrIr;4|))
                     (SEQ (LETT |f| NIL . #5#)
                          (LETT #3# (SPADCALL |ir| (QREFELT $ 16)) . #5#) G190
                          (COND
                           ((OR (ATOM #3#)
                                (PROGN (LETT |f| (CAR #3#) . #5#) NIL))
                            (GO G191)))
                          (SEQ
                           (EXIT
                            (LETT #4# (CONS (|IR2;LGE2F| |func| |f| $) #4#)
                                  . #5#)))
                          (LETT #3# (CDR #3#) . #5#) (GO G190) G191
                          (EXIT (NREVERSE #4#))))
                    (PROGN
                     (LETT #2# NIL . #5#)
                     (SEQ (LETT |g| NIL . #5#)
                          (LETT #1# (SPADCALL |ir| (QREFELT $ 19)) . #5#) G190
                          (COND
                           ((OR (ATOM #1#)
                                (PROGN (LETT |g| (CAR #1#) . #5#) NIL))
                            (GO G191)))
                          (SEQ
                           (EXIT
                            (LETT #2# (CONS (|IR2;NEE2F| |func| |g| $) #2#)
                                  . #5#)))
                          (LETT #1# (CDR #1#) . #5#) (GO G190) G191
                          (EXIT (NREVERSE #2#))))
                    (QREFELT $ 25))))) 

(SDEFUN |IR2;map;MUU;5|
        ((|func| |Mapping| F E)
         (|u| |Union| (|Record| (|:| |ratpart| E) (|:| |coeff| E)) "failed")
         ($ |Union| (|Record| (|:| |ratpart| F) (|:| |coeff| F)) "failed"))
        (COND ((QEQCAR |u| 1) (CONS 1 "failed"))
              ('T
               (CONS 0
                     (CONS (SPADCALL (QCAR (QCDR |u|)) |func|)
                           (SPADCALL (QCDR (QCDR |u|)) |func|)))))) 

(SDEFUN |IR2;map;MUU;6|
        ((|func| |Mapping| F E)
         (|u| |Union|
          (|Record| (|:| |mainpart| E)
                    (|:| |limitedlogs|
                         (|List| (|Record| (|:| |coeff| E) (|:| |logand| E)))))
          "failed")
         ($ |Union|
          (|Record| (|:| |mainpart| F)
                    (|:| |limitedlogs|
                         (|List| (|Record| (|:| |coeff| F) (|:| |logand| F)))))
          "failed"))
        (SPROG ((#1=#:G768 NIL) (|f| NIL) (#2=#:G767 NIL))
               (SEQ
                (COND ((QEQCAR |u| 1) (CONS 1 "failed"))
                      ('T
                       (CONS 0
                             (CONS (SPADCALL (QCAR (QCDR |u|)) |func|)
                                   (PROGN
                                    (LETT #2# NIL . #3=(|IR2;map;MUU;6|))
                                    (SEQ (LETT |f| NIL . #3#)
                                         (LETT #1# (QCDR (QCDR |u|)) . #3#)
                                         G190
                                         (COND
                                          ((OR (ATOM #1#)
                                               (PROGN
                                                (LETT |f| (CAR #1#) . #3#)
                                                NIL))
                                           (GO G191)))
                                         (SEQ
                                          (EXIT
                                           (LETT #2#
                                                 (CONS
                                                  (|IR2;NLE2F| |func| |f| $)
                                                  #2#)
                                                 . #3#)))
                                         (LETT #1# (CDR #1#) . #3#) (GO G190)
                                         G191 (EXIT (NREVERSE #2#))))))))))) 

(SDEFUN |IR2;LGE2F|
        ((|func| |Mapping| F E)
         (|lg| |Record| (|:| |scalar| (|Fraction| (|Integer|)))
          (|:| |coeff| (|SparseUnivariatePolynomial| E))
          (|:| |logand| (|SparseUnivariatePolynomial| E)))
         ($ |Record| (|:| |scalar| (|Fraction| (|Integer|)))
          (|:| |coeff| (|SparseUnivariatePolynomial| F))
          (|:| |logand| (|SparseUnivariatePolynomial| F))))
        (VECTOR (QVELT |lg| 0) (SPADCALL |func| (QVELT |lg| 1) (QREFELT $ 42))
                (SPADCALL |func| (QVELT |lg| 2) (QREFELT $ 42)))) 

(DECLAIM (NOTINLINE |IntegrationResultFunctions2;|)) 

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

(DEFUN |IntegrationResultFunctions2;| (|#1| |#2|)
  (SPROG ((|pv$| NIL) ($ NIL) (|dv$| NIL) (DV$2 NIL) (DV$1 NIL))
         (PROGN
          (LETT DV$1 (|devaluate| |#1|) . #1=(|IntegrationResultFunctions2|))
          (LETT DV$2 (|devaluate| |#2|) . #1#)
          (LETT |dv$| (LIST '|IntegrationResultFunctions2| DV$1 DV$2) . #1#)
          (LETT $ (GETREFV 43) . #1#)
          (QSETREFV $ 0 |dv$|)
          (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
          (|haddProp| |$ConstructorCache| '|IntegrationResultFunctions2|
                      (LIST DV$1 DV$2) (CONS 1 $))
          (|stuffDomainSlots| $)
          (QSETREFV $ 6 |#1|)
          (QSETREFV $ 7 |#2|)
          (SETF |pv$| (QREFELT $ 3))
          $))) 

(MAKEPROP '|IntegrationResultFunctions2| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|Union| 7 '"failed") (|Mapping| 7 6) (|Union| 6 '"failed")
              |IR2;map;MUU;3| (|IntegrationResult| 6) (0 . |ratpart|)
              (|Record| (|:| |scalar| (|Fraction| (|Integer|)))
                        (|:| |coeff| 40) (|:| |logand| 40))
              (|List| 14) (5 . |logpart|)
              (|Record| (|:| |integrand| 6) (|:| |intvar| 6)) (|List| 17)
              (10 . |notelem|)
              (|Record| (|:| |scalar| (|Fraction| (|Integer|)))
                        (|:| |coeff| 39) (|:| |logand| 39))
              (|List| 20) (|Record| (|:| |integrand| 7) (|:| |intvar| 7))
              (|List| 22) (|IntegrationResult| 7) (15 . |mkAnswer|)
              |IR2;map;MIrIr;4| (|Record| (|:| |ratpart| 7) (|:| |coeff| 7))
              (|Union| 27 '"failed")
              (|Record| (|:| |ratpart| 6) (|:| |coeff| 6))
              (|Union| 29 '"failed") |IR2;map;MUU;5|
              (|Record| (|:| |coeff| 7) (|:| |logand| 7))
              (|Record| (|:| |mainpart| 7) (|:| |limitedlogs| (|List| 32)))
              (|Union| 33 '"failed")
              (|Record| (|:| |coeff| 6) (|:| |logand| 6))
              (|Record| (|:| |mainpart| 6) (|:| |limitedlogs| (|List| 35)))
              (|Union| 36 '"failed") |IR2;map;MUU;6|
              (|SparseUnivariatePolynomial| 7) (|SparseUnivariatePolynomial| 6)
              (|SparseUnivariatePolynomialFunctions2| 6 7) (22 . |map|))
           '#(|map| 28) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 42
                                                 '(1 12 6 0 13 1 12 15 0 16 1
                                                   12 18 0 19 3 24 0 7 21 23 25
                                                   2 41 39 9 40 42 2 0 28 9 30
                                                   31 2 0 24 9 12 26 2 0 34 9
                                                   37 38 2 0 8 9 10 11)))))
           '|lookupComplete|)) 
