
(/VERSIONCHECK 2) 

(DEFUN |PMPREDFS;suchThat;FMF;1| (|p| |f| $)
  (SPADCALL |p| (LIST |f|) (QREFELT $ 12))) 

(DEFUN |PMPREDFS;mkk| (|op| $) (SPADCALL |op| NIL (QREFELT $ 16))) 

(DEFUN |PMPREDFS;preds| (|k| $)
  (PROG (|u|)
    (RETURN
     (SEQ
      (LETT |u|
            (SPADCALL (SPADCALL |k| (QREFELT $ 18)) (QREFELT $ 9)
                      (QREFELT $ 21))
            |PMPREDFS;preds|)
      (EXIT (COND ((QEQCAR |u| 1) NIL) ('T (QCDR |u|)))))))) 

(DEFUN |PMPREDFS;st| (|k| |l| $)
  (PROG (|kk|)
    (RETURN
     (SEQ
      (LETT |kk| (SPADCALL (SPADCALL |k| (QREFELT $ 18)) (QREFELT $ 22))
            |PMPREDFS;st|)
      (SPADCALL |kk| (QREFELT $ 9)
                (SPADCALL (|PMPREDFS;preds| |k| $) |l| (QREFELT $ 24))
                (QREFELT $ 26))
      (EXIT (SPADCALL |kk| NIL (QREFELT $ 16))))))) 

(DEFUN |PMPREDFS;suchThat;FLF;5| (|p| |l| $)
  (PROG (#1=#:G1832 |f| #2=#:G1831)
    (RETURN
     (SEQ
      (COND
       ((QEQCAR (SPADCALL |p| (QREFELT $ 28)) 0)
        (|PMPREDFS;st| (SPADCALL |p| (QREFELT $ 30))
         (PROGN
          (LETT #2# NIL . #3=(|PMPREDFS;suchThat;FLF;5|))
          (SEQ (LETT |f| NIL . #3#) (LETT #1# |l| . #3#) G190
               (COND
                ((OR (ATOM #1#) (PROGN (LETT |f| (CAR #1#) . #3#) NIL))
                 (GO G191)))
               (SEQ
                (EXIT
                 (LETT #2# (CONS (SPADCALL |f| (QREFELT $ 33)) #2#) . #3#)))
               (LETT #1# (CDR #1#) . #3#) (GO G190) G191
               (EXIT (NREVERSE #2#))))
         $))
       ('T (|error| "suchThat must be applied to symbols only"))))))) 

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

(DEFUN |FunctionSpaceAttachPredicates;| (|#1| |#2| |#3|)
  (PROG (|pv$| $ |dv$| DV$3 DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|FunctionSpaceAttachPredicates|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT DV$3 (|devaluate| |#3|) . #1#)
      (LETT |dv$| (LIST '|FunctionSpaceAttachPredicates| DV$1 DV$2 DV$3) . #1#)
      (LETT $ (GETREFV 34) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|FunctionSpaceAttachPredicates|
                  (LIST DV$1 DV$2 DV$3) (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (QSETREFV $ 8 |#3|)
      (SETF |pv$| (QREFELT $ 3))
      (QSETREFV $ 9 '|%pmpredicate|)
      $)))) 

(MAKEPROP '|FunctionSpaceAttachPredicates| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|local| |#3|) 'PMPRED (|Mapping| (|Boolean|) 8) (|List| 10)
              |PMPREDFS;suchThat;FLF;5| |PMPREDFS;suchThat;FMF;1|
              (|BasicOperator|) (|List| $) (0 . |kernel|) (|Kernel| 7)
              (6 . |operator|) (|Union| 25 '"failed") (|Symbol|)
              (11 . |property|) (17 . |copy|) (|List| 31) (22 . |concat|)
              (|None|) (28 . |setProperty|) (|Union| 20 '"failed")
              (35 . |retractIfCan|) (|Kernel| $) (40 . |retract|) (|Any|)
              (|AnyFunctions1| 10) (45 . |coerce|))
           '#(|suchThat| 50) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 33
                                                 '(2 7 0 14 15 16 1 17 14 0 18
                                                   2 14 19 0 20 21 1 14 0 0 22
                                                   2 23 0 0 0 24 3 14 0 0 20 25
                                                   26 1 7 27 0 28 1 7 29 0 30 1
                                                   32 31 10 33 2 0 7 7 11 12 2
                                                   0 7 7 10 13)))))
           '|lookupComplete|)) 
