
(/VERSIONCHECK 2) 

(DEFUN |UPCDEN;commonDenominator;UPR;1| (|p| $)
  (SPADCALL (SPADCALL |p| (QREFELT $ 10)) (QREFELT $ 12))) 

(DEFUN |UPCDEN;clearDenominator;2UP;2| (|p| $)
  (PROG (|d|)
    (RETURN
      (SEQ (LETT |d| (SPADCALL |p| (QREFELT $ 13))
                 |UPCDEN;clearDenominator;2UP;2|)
           (EXIT (SPADCALL
                     (CONS #'|UPCDEN;clearDenominator;2UP;2!0|
                           (VECTOR $ |d|))
                     |p| (QREFELT $ 18))))))) 

(DEFUN |UPCDEN;clearDenominator;2UP;2!0| (|#1| $$)
  (PROG ($)
    (LETT $ (QREFELT $$ 0) |UPCDEN;clearDenominator;2UP;2|)
    (RETURN
      (PROGN
        (SPADCALL
            (SPADCALL (SPADCALL (QREFELT $$ 1) |#1| (QREFELT $ 14))
                (QREFELT $ 15))
            (QREFELT $ 16)))))) 

(DEFUN |UPCDEN;splitDenominator;UPR;3| (|p| $)
  (PROG (|d|)
    (RETURN
      (SEQ (LETT |d| (SPADCALL |p| (QREFELT $ 13))
                 |UPCDEN;splitDenominator;UPR;3|)
           (EXIT (CONS (SPADCALL
                           (CONS #'|UPCDEN;splitDenominator;UPR;3!0|
                                 (VECTOR $ |d|))
                           |p| (QREFELT $ 18))
                       |d|)))))) 

(DEFUN |UPCDEN;splitDenominator;UPR;3!0| (|#1| $$)
  (PROG ($)
    (LETT $ (QREFELT $$ 0) |UPCDEN;splitDenominator;UPR;3|)
    (RETURN
      (PROGN
        (SPADCALL
            (SPADCALL (SPADCALL (QREFELT $$ 1) |#1| (QREFELT $ 14))
                (QREFELT $ 15))
            (QREFELT $ 16)))))) 

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

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

(MAKEPROP '|UnivariatePolynomialCommonDenominator| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (|local| |#3|) (|List| 7) (0 . |coefficients|)
             (|CommonDenominator| 6 7 9) (5 . |commonDenominator|)
             |UPCDEN;commonDenominator;UPR;1| (10 . *) (16 . |numer|)
             (21 . |coerce|) (|Mapping| 7 7) (26 . |map|)
             |UPCDEN;clearDenominator;2UP;2|
             (|Record| (|:| |num| 8) (|:| |den| 6))
             |UPCDEN;splitDenominator;UPR;3|)
          '#(|splitDenominator| 32 |commonDenominator| 37
             |clearDenominator| 42)
          'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 21
                                '(1 8 9 0 10 1 11 6 9 12 2 7 0 6 0 14 1
                                  7 6 0 15 1 7 0 6 16 2 8 0 17 0 18 1 0
                                  20 8 21 1 0 6 8 13 1 0 8 8 19)))))
          '|lookupComplete|)) 
