• 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

    Declon-to-ident-param-declon-map0

    Signature
    (declon-to-ident-param-declon-map0 declspecs initdeclors) 
      → 
    map
    Arguments
    declspecs — Guard (decl-spec-listp declspecs).
    initdeclors — Guard (init-declor-listp initdeclors).
    Returns
    map — Type (ident-param-declon-mapp map).

    Definitions and Theorems

    Function: declon-to-ident-param-declon-map0

    (defun declon-to-ident-param-declon-map0 (declspecs initdeclors)
     (declare (xargs :guard (and (decl-spec-listp declspecs)
                                 (init-declor-listp initdeclors))))
     (b* (((when (endp initdeclors)) nil)
          ((init-declor initdeclor)
           (first initdeclors))
          (ident (declor->ident initdeclor.declor)))
      (omap::update
       ident
       (make-param-declon
        :specs declspecs
        :declor (make-param-declor-nonabstract :declor initdeclor.declor
                                               :info nil)
        :attribs nil)
       (declon-to-ident-param-declon-map0
            declspecs (rest initdeclors)))))

    Theorem: ident-param-declon-mapp-of-declon-to-ident-param-declon-map0

    (defthm ident-param-declon-mapp-of-declon-to-ident-param-declon-map0
      (b*
       ((map (declon-to-ident-param-declon-map0 declspecs initdeclors)))
       (ident-param-declon-mapp map))
      :rule-classes :rewrite)