
(/VERSIONCHECK 2) 

(DEFUN |KOVACIC;kovacic;3FU;1| (|a0| |a1| |a2| $)
  (SPADCALL |a0| |a1| |a2| (ELT $ 9) (QREFELT $ 13))) 

(DEFUN |KOVACIC;kovacic;3FMU;2| (|a0| |a1| |a2| |ezfactor| $)
  (PROG (|r| |lf|)
    (RETURN
      (SEQ (LETT |r| (SPADCALL |a1| 2 (QREFELT $ 16))
                 . #0=(|KOVACIC;kovacic;3FMU;2|))
           (LETT |r|
                 (SPADCALL |r|
                     (SPADCALL (SPADCALL 2 |a2| (QREFELT $ 17))
                         (SPADCALL |a1| (QREFELT $ 18)) (QREFELT $ 19))
                     (QREFELT $ 20)) . #0#)
           (LETT |r|
                 (SPADCALL |r|
                     (SPADCALL (SPADCALL 2 |a1| (QREFELT $ 17))
                         (SPADCALL |a2| (QREFELT $ 18)) (QREFELT $ 19))
                     (QREFELT $ 21)) . #0#)
           (LETT |r|
                 (SPADCALL |r|
                     (SPADCALL (SPADCALL 4 |a0| (QREFELT $ 17)) |a2|
                         (QREFELT $ 19))
                     (QREFELT $ 21)) . #0#)
           (LETT |r|
                 (SPADCALL |r|
                     (SPADCALL 4 (SPADCALL |a2| 2 (QREFELT $ 16))
                         (QREFELT $ 17))
                     (QREFELT $ 22)) . #0#)
           (LETT |lf|
                 (SPADCALL
                     (SPADCALL (SPADCALL |r| (QREFELT $ 23))
                         (QREFELT $ 9))
                     (QREFELT $ 27)) . #0#)
           (EXIT (|KOVACIC;case2| |r| |lf| |ezfactor| $)))))) 

(DEFUN |KOVACIC;case2| (|r| |lf| |ezfactor| $)
  (PROG (|l2| |sol| |b|)
    (RETURN
      (SEQ (COND
             ((|KOVACIC;cannotCase2?| |lf| $) (CONS 1 "failed"))
             ('T
              (SEQ (LETT |l2|
                         (SPADCALL
                             (SPADCALL
                                 (SPADCALL (|spadConstant| $ 30) 3
                                     (QREFELT $ 33))
                                 (SPADCALL
                                     (SPADCALL 4 |r| (QREFELT $ 17)) 1
                                     (QREFELT $ 33))
                                 (QREFELT $ 34))
                             (SPADCALL 2
                                 (SPADCALL
                                     (SPADCALL |r| (QREFELT $ 18))
                                     (QREFELT $ 35))
                                 (QREFELT $ 36))
                             (QREFELT $ 34))
                         . #0=(|KOVACIC;case2|))
                   (EXIT (COND
                           ((NULL (LETT |sol|
                                        (SPADCALL |l2| |ezfactor|
                                         (QREFELT $ 39)) . #0#))
                            (CONS 1 "failed"))
                           ('T
                            (SEQ (LETT |b| (|SPADfirst| |sol|) . #0#)
                                 (EXIT (CONS 0
                                        (SPADCALL
                                         (SPADCALL
                                          (SPADCALL
                                           (|spadConstant| $ 30) 2
                                           (QREFELT $ 41))
                                          (SPADCALL |b| 1
                                           (QREFELT $ 41))
                                          (QREFELT $ 42))
                                         (SPADCALL
                                          (SPADCALL
                                           (SPADCALL
                                            (SPADCALL
                                             (SPADCALL |b|
                                              (QREFELT $ 18))
                                             (SPADCALL |b| 2
                                              (QREFELT $ 16))
                                             (QREFELT $ 20))
                                            (SPADCALL 2 |r|
                                             (QREFELT $ 17))
                                            (QREFELT $ 21))
                                           (SPADCALL 2 (QREFELT $ 44))
                                           (QREFELT $ 22))
                                          (QREFELT $ 45))
                                         (QREFELT $ 46))))))))))))))) 

(DEFUN |KOVACIC;cannotCase2?| (|lf| $)
  (PROG (|rec| #0=#:G1853 #1=#:G1852 #2=#:G1850)
    (RETURN
      (SEQ (EXIT (SEQ (SEQ (EXIT (SEQ (LETT |rec| NIL
                                       . #3=(|KOVACIC;cannotCase2?|))
                                      (LETT #0# |lf| . #3#) G190
                                      (COND
                                        ((OR (ATOM #0#)
                                          (PROGN
                                            (LETT |rec|
                                             (CAR #0#) . #3#)
                                            NIL))
                                         (GO G191)))
                                      (SEQ
                                       (EXIT
                                        (COND
                                          ((EQL (QCDR |rec|) 2)
                                           (PROGN
                                             (LETT #2#
                                              (PROGN
                                                (LETT #1# 'NIL . #3#)
                                                (GO #1#)) . #3#)
                                             (GO #2#)))
                                          ((ODDP (QCDR |rec|))
                                           (COND
                                             ((< 2 (QCDR |rec|))
                                              (PROGN
                                                (LETT #2#
                                                 (PROGN
                                                   (LETT #1#
                                                    'NIL . #3#)
                                                   (GO #1#)) . #3#)
                                                (GO #2#))))))))
                                      (LETT #0# (CDR #0#) . #3#)
                                      (GO G190) G191 (EXIT NIL)))
                           #2# (EXIT #2#))
                      (EXIT 'T)))
           #1# (EXIT #1#))))) 

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

(DEFUN |Kovacic;| (|#1| |#2|)
  (PROG (DV$1 DV$2 |dv$| $ |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #0=(|Kovacic|))
        (LETT DV$2 (|devaluate| |#2|) . #0#)
        (LETT |dv$| (LIST '|Kovacic| DV$1 DV$2) . #0#)
        (LETT $ (GETREFV 47) . #0#)
        (QSETREFV $ 0 |dv$|)
        (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #0#))
        (|haddProp| |$ConstructorCache| '|Kovacic| (LIST DV$1 DV$2)
            (CONS 1 $))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        (QSETREFV $ 7 |#2|)
        $)))) 

(MAKEPROP '|Kovacic| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (|Factored| $) (0 . |squareFree|) (|Union| 40 '"failed")
             (|Fraction| 7) (|Mapping| 26 7) |KOVACIC;kovacic;3FMU;2|
             |KOVACIC;kovacic;3FU;1| (|PositiveInteger|) (5 . **)
             (11 . *) (17 . |differentiate|) (22 . *) (28 . +) (34 . -)
             (40 . /) (46 . |denom|)
             (|Record| (|:| |factor| 7) (|:| |exponent| 43))
             (|List| 24) (|Factored| 7) (51 . |factors|) (56 . |One|)
             (60 . |One|) (64 . |One|) (|NonNegativeInteger|)
             (|LinearOrdinaryDifferentialOperator1| 11)
             (68 . |monomial|) (74 . -) (80 . |coerce|) (85 . *)
             (|List| 11) (|RationalRicDE| 6 7) (91 . |ricDsolve|)
             (|SparseUnivariatePolynomial| 11) (97 . |monomial|)
             (103 . -) (|Integer|) (109 . |coerce|) (114 . |coerce|)
             (119 . +))
          '#(|kovacic| 125) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 46
                                '(1 7 8 0 9 2 11 0 0 15 16 2 11 0 15 0
                                  17 1 11 0 0 18 2 11 0 0 0 19 2 11 0 0
                                  0 20 2 11 0 0 0 21 2 11 0 0 0 22 1 11
                                  7 0 23 1 26 25 0 27 0 6 0 28 0 7 0 29
                                  0 11 0 30 2 32 0 11 31 33 2 32 0 0 0
                                  34 1 32 0 11 35 2 32 0 15 0 36 2 38
                                  37 32 12 39 2 40 0 11 31 41 2 40 0 0
                                  0 42 1 11 0 43 44 1 40 0 11 45 2 40 0
                                  0 0 46 4 0 10 11 11 11 12 13 3 0 10
                                  11 11 11 14)))))
          '|lookupComplete|)) 
