
(/VERSIONCHECK 2) 

(DEFUN |STNSR;tensorMap;SMS;1| (|s| |f| $)
  (PROG ()
    (RETURN
     (COND ((SPADCALL |s| (QREFELT $ 9)) (SPADCALL (QREFELT $ 10)))
           ('T
            (SPADCALL
             (SPADCALL (SPADCALL (SPADCALL |s| (QREFELT $ 11)) |f|)
                       (QREFELT $ 13))
             (SPADCALL (CONS #'|STNSR;tensorMap;SMS;1!0| (VECTOR |f| $ |s|))
                       (QREFELT $ 18))
             (QREFELT $ 19))))))) 

(DEFUN |STNSR;tensorMap;SMS;1!0| ($$)
  (PROG (|s| $ |f|)
    (LETT |s| (QREFELT $$ 2) . #1=(|STNSR;tensorMap;SMS;1|))
    (LETT $ (QREFELT $$ 1) . #1#)
    (LETT |f| (QREFELT $$ 0) . #1#)
    (RETURN
     (PROGN (SPADCALL (SPADCALL |s| (QREFELT $ 14)) |f| (QREFELT $ 16)))))) 

(DEFUN |StreamTensor| (#1=#:G1811)
  (PROG ()
    (RETURN
     (PROG (#2=#:G1812)
       (RETURN
        (COND
         ((LETT #2#
                (|lassocShiftWithFunction| (LIST (|devaluate| #1#))
                                           (HGET |$ConstructorCache|
                                                 '|StreamTensor|)
                                           '|domainEqualList|)
                . #3=(|StreamTensor|))
          (|CDRwithIncrement| #2#))
         ('T
          (UNWIND-PROTECT (PROG1 (|StreamTensor;| #1#) (LETT #2# T . #3#))
            (COND
             ((NOT #2#) (HREM |$ConstructorCache| '|StreamTensor|))))))))))) 

(DEFUN |StreamTensor;| (|#1|)
  (PROG (|pv$| $ |dv$| DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|StreamTensor|))
      (LETT |dv$| (LIST '|StreamTensor| DV$1) . #1#)
      (LETT $ (GETREFV 20) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|StreamTensor| (LIST DV$1) (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (SETF |pv$| (QREFELT $ 3))
      $)))) 

(MAKEPROP '|StreamTensor| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|Boolean|) (|Stream| 6)
              (0 . |empty?|) (5 . |empty|) (9 . |first|) (|List| 6)
              (14 . |construct|) (19 . |rest|) (|Mapping| 12 6)
              |STNSR;tensorMap;SMS;1| (|Mapping| $) (24 . |delay|)
              (29 . |concat|))
           '#(|tensorMap| 35) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 19
                                                 '(1 8 7 0 9 0 8 0 10 1 8 6 0
                                                   11 1 8 0 12 13 1 8 0 0 14 1
                                                   8 0 17 18 2 8 0 0 0 19 2 0 8
                                                   8 15 16)))))
           '|lookupComplete|)) 
