• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
          • Syntax-for-tools
          • Atc
          • Transformation-tools
            • Simpadd0
            • Proof-generation
            • Split-gso
            • Wrap-fn
            • Constant-propagation
            • Specialize
            • Split-fn
              • Split-fn-implementation
                • Abstract-fn
                • Split-fn-block-item-list
                • Declon-to-ident-param-declon-map
                • Split-fn-fundef
                • Split-fn-ext-declon
                • Split-fn-filepath-transunit-map
                • Split-fn-ext-declon-list
                • Split-fn-transunit-ensemble
                • Split-fn-code-ensemble
                • Split-fn-transunit
                • Param-declon-to-ident-param-declon-map
                • Declon-to-ident-param-declon-map0
                • Param-declon-list-to-ident-param-declon-map
                • Ident-param-declon-map-filter
                • Declon-list-to-ident-param-declon-map
                • Add-pointer-param-declon
                • Map-address-ident-list
                  • Map-add-pointer-param-declon
                  • Make-deref-subst
                  • Ident-param-declon-map
                  • Split-fn-event-generation
                  • Split-fn-input-processing
              • Split-fn-when
              • Split-all-gso
              • Copy-fn
              • Variables-in-computation-states
              • Rename
              • Utilities
              • Proof-generation-theorems
              • Input-processing
            • Language
            • Representation
            • Insertion-sort
            • Pack
          • Soft
          • Bv
          • Imp-language
          • Ethereum
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Split-fn-implementation

    Map-address-ident-list

    Map c$::expr-unary c$::unop-address over a list of identifiers.

    Signature
    (map-address-ident-list idents) → exprs
    Arguments
    idents — Guard (ident-listp idents).
    Returns
    exprs — Type (expr-listp exprs).

    Definitions and Theorems

    Function: map-address-ident-list

    (defun map-address-ident-list (idents)
     (declare (xargs :guard (ident-listp idents)))
     (if (endp idents)
         nil
      (cons
          (make-expr-unary :op (c$::unop-address)
                           :arg (make-expr-ident :ident (first idents)))
          (map-address-ident-list (rest idents)))))

    Theorem: expr-listp-of-map-address-ident-list

    (defthm expr-listp-of-map-address-ident-list
      (b* ((exprs (map-address-ident-list idents)))
        (expr-listp exprs))
      :rule-classes :rewrite)