• 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
              • Wrap-fn-implementation
                • Initdeclor-list-wrap-fn-add-wrapper-def
                • Declor-wrap-fn-add-wrapper-def
                • Fundef-wrap-fn-add-wrapper-def
                • Extdecl-wrap-fn-add-wrapper-def
                • Decl-wrap-fn-add-wrapper-def
                • Extdecl-list-wrap-fn
                • Wrap-fn-process-param-declon-list-loop
                • Filepath-transunit-map-wrap-fn
                • Wrap-fn-process-param-declon-list
                • Transunit-wrap-fn
                • Transunit-ensemble-wrap-fn
                • Code-ensemble-wrap-fn
                • Code-ensemble-wrap-fn-multiple
                • Declor-wrap-fn-make-wrapper
                • Dirdeclor-wrap-fn-make-wrapper
                  • Wrap-fn-input-processing
                  • Wrap-fn-event-generation
              • Constant-propagation
              • Specialize
              • Split-fn
              • 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
    • Wrap-fn-implementation

    Dirdeclor-wrap-fn-make-wrapper

    Make the wrapper function direct declarator if the parameter list is supported.

    Signature
    (dirdeclor-wrap-fn-make-wrapper 
         dirdeclor 
         wrapper-name arg-base-name blacklist) 
     
      → 
    (mv blacklist found-paramsp can-create-wrapperp dirdeclor$ idents)
    Arguments
    dirdeclor — Guard (dirdeclorp dirdeclor).
    wrapper-name — Guard (identp wrapper-name).
    arg-base-name — Guard (identp arg-base-name).
    blacklist — Guard (ident-setp blacklist).
    Returns
    blacklist — Type (ident-setp blacklist).
    found-paramsp — Type (booleanp found-paramsp).
    can-create-wrapperp — Type (booleanp can-create-wrapperp).
    dirdeclor$ — Type (dirdeclorp dirdeclor$).
    idents — Type (ident-listp idents).

    See declor-wrap-fn-make-wrapper.

    Definitions and Theorems

    Theorem: true-listp-of-dirdeclor-wrap-fn-make-wrapper.idents

    (defthm true-listp-of-dirdeclor-wrap-fn-make-wrapper.idents
      (b* (((mv ?blacklist
                ?found-paramsp ?can-create-wrapperp
                ?dirdeclor$ ?idents)
            (dirdeclor-wrap-fn-make-wrapper
                 dirdeclor
                 wrapper-name arg-base-name blacklist)))
        (true-listp idents))
      :rule-classes :type-prescription)