• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • 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
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • Soft
          • C
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • 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)))))))))))))))))