• 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

    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))))))))))))))))