
(/VERSIONCHECK 2) 

(DEFUN |MRF2;map;MMrMr;1| (|fn| |u| $)
  (PROG (|te| #0=#:G1824 |res|)
    (RETURN
      (SEQ (LETT |res| (|spadConstant| $ 10) . #1=(|MRF2;map;MMrMr;1|))
           (SEQ (LETT |te| NIL . #1#)
                (LETT #0# (SPADCALL |u| (QREFELT $ 14)) . #1#) G190
                (COND
                  ((OR (ATOM #0#)
                       (PROGN (LETT |te| (CAR #0#) . #1#) NIL))
                   (GO G191)))
                (SEQ (EXIT (LETT |res|
                                 (SPADCALL |res|
                                     (SPADCALL
                                      (SPADCALL (QCAR |te|) |fn|)
                                      (QCDR |te|) (QREFELT $ 15))
                                     (QREFELT $ 16)) . #1#)))
                (LETT #0# (CDR #0#) . #1#) (GO G190) G191 (EXIT NIL))
           (EXIT |res|))))) 

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

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

(MAKEPROP '|MonoidRingFunctions2| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (|local| |#3|) (|MonoidRing| 7 8) (0 . |Zero|)
             (|Record| (|:| |coef| 6) (|:| |monom| 8)) (|List| 11)
             (|MonoidRing| 6 8) (4 . |terms|) (9 . |monomial|) (15 . +)
             (|Mapping| 7 6) |MRF2;map;MMrMr;1|)
          '#(|map| 21) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 18
                                '(0 9 0 10 1 13 12 0 14 2 9 0 7 8 15 2
                                  9 0 0 0 16 2 0 9 17 13 18)))))
          '|lookupComplete|)) 
