• 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

    Honsed-expdata-surjmap

    Raw constructor for honsed expdata-surjmapp structures.

    Syntax:

    (honsed-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 identical to expdata-surjmap, except that we hons the structure we are creating.

    Definition

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

    Function: honsed-expdata-surjmap

    (defun honsed-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))))
     (mbe
      :logic (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)
      :exec
      (hons
       (hons 'surjname surjname)
       (hons
        (hons 'localp localp)
        (hons
         (hons 'oldp oldp)
         (hons
          (hons 'newp newp)
          (hons
           (hons 'forth forth)
           (hons
            (hons 'back back)
            (hons
             (hons 'forth-image forth-image)
             (hons
              (hons 'back-image back-image)
              (hons
               (hons 'back-of-forth back-of-forth)
               (hons
                   (hons 'forth-injective forth-injective)
                   (hons (hons 'oldp-guard oldp-guard)
                         (hons (hons 'newp-guard newp-guard)
                               (hons (hons 'forth-guard forth-guard)
                                     (hons (hons 'back-guard back-guard)
                                           (hons (hons 'hints hints)
                                                 nil)))))))))))))))))