• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
        • Simplify-defun
        • Isodata
        • Tailrec
        • Schemalg
        • Restrict
        • Expdata
          • Expdata-implementation
            • Expdata-event-generation
            • Expdata-fn
            • Expdata-input-processing
              • Expdata-symbol-surjmap-alistp
              • Expdata-surjmapp
                • Expdata-surjmap
                  • Make-expdata-surjmap
                  • Change-expdata-surjmap
                  • Honsed-expdata-surjmap
                  • Make-honsed-expdata-surjmap
                  • Expdata-surjmap->surjname
                  • Expdata-surjmap->oldp-guard
                  • Expdata-surjmap->oldp
                  • Expdata-surjmap->newp-guard
                  • Expdata-surjmap->newp
                  • Expdata-surjmap->localp
                  • Expdata-surjmap->hints
                  • Expdata-surjmap->forth-injective
                  • Expdata-surjmap->forth-image
                  • Expdata-surjmap->forth-guard
                  • Expdata-surjmap->forth
                  • Expdata-surjmap->back-of-forth
                  • Expdata-surjmap->back-image
                  • Expdata-surjmap->back-guard
                  • Expdata-surjmap->back
                • Expdata-pos-surjmap-alistp
                • Expdata-process-surj
                • Expdata-process-arg/res-list-surj
                • Expdata-process-inputs
                • Expdata-process-surjmaps
                • Expdata-fresh-defsurj-thm-names
                • Expdata-process-arg/res-list
                • Expdata-process-arg/res-list-surj-list
                • Expdata-process-res
                • Expdata-process-newp-of-new-name
                • Expdata-fresh-defsurj-name-with-*s-suffix
                • Expdata-process-surjmaps-ress
                • Expdata-process-surjmaps-args
                • Expdata-process-arg/res-list-surj-add-args
                • Expdata-process-arg/res-list-surj-add-ress
                • Expdata-process-old
                • Expdata-process-arg/res-list-aux
                • Expdata-surjmap-listp
                • Expdata-fresh-defsurj-name-with-*s-suffix-aux
              • Expdata-macro-definition
          • Casesplit
          • Simplify-term
          • Simplify-defun-sk
          • Parteval
          • Solve
          • Wrap-output
          • Propagate-iso
          • Simplify
          • Finite-difference
          • Drop-irrelevant-params
          • Copy-function
          • Lift-iso
          • Rename-params
          • Utilities
          • Simplify-term-programmatic
          • Simplify-defun-sk-programmatic
          • Simplify-defun-programmatic
          • Simplify-defun+
          • Common-options
          • Common-concepts
        • Std/util
        • Defdata
        • Defrstobj
        • Seq
        • Match-tree
        • Defrstobj
        • With-supporters
        • Def-partial-measure
        • Template-subst
        • Soft
        • Defthm-domain
        • Event-macros
        • Def-universal-equiv
        • Def-saved-obligs
        • With-supporters-after
        • Definec
        • Sig
        • Outer-local
        • Data-structures
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Expdata-surjmapp

    Expdata-surjmap

    Raw constructor for expdata-surjmapp structures.

    Syntax:

    (expdata-surjmap surjname localp oldp 
                     newp forth back forth-image back-image 
                     back-of-forth forth-injective oldp-guard 
                     newp-guard forth-guard back-guard hints)

    This is the lowest-level constructor for expdata-surjmapp structures. It simply conses together a structure with the specified fields.

    Note: It's generally better to use macros like make-expdata-surjmap or change-expdata-surjmap instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.

    The expdata-surjmapp structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-expdata-surjmap instead.

    Definition

    This is an ordinary constructor function introduced by std::defaggregate.

    Function: expdata-surjmap

    (defun expdata-surjmap
           (surjname localp oldp
                     newp forth back forth-image back-image
                     back-of-forth forth-injective oldp-guard
                     newp-guard forth-guard back-guard hints)
     (declare (xargs :guard (and (symbolp surjname)
                                 (booleanp localp)
                                 (pseudo-termfnp oldp)
                                 (pseudo-termfnp newp)
                                 (pseudo-termfnp forth)
                                 (pseudo-termfnp back)
                                 (symbolp forth-image)
                                 (symbolp back-image)
                                 (symbolp back-of-forth)
                                 (symbolp forth-injective)
                                 (symbolp oldp-guard)
                                 (symbolp newp-guard)
                                 (symbolp forth-guard)
                                 (symbolp back-guard)
                                 (keyword-value-listp hints))))
     (cons
      (cons 'surjname surjname)
      (cons
       (cons 'localp localp)
       (cons
        (cons 'oldp oldp)
        (cons
         (cons 'newp newp)
         (cons
          (cons 'forth forth)
          (cons
           (cons 'back back)
           (cons
            (cons 'forth-image forth-image)
            (cons
             (cons 'back-image back-image)
             (cons
              (cons 'back-of-forth back-of-forth)
              (cons
                   (cons 'forth-injective forth-injective)
                   (cons (cons 'oldp-guard oldp-guard)
                         (cons (cons 'newp-guard newp-guard)
                               (cons (cons 'forth-guard forth-guard)
                                     (cons (cons 'back-guard back-guard)
                                           (cons (cons 'hints hints)
                                                 nil))))))))))))))))