• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
        • Soft
        • C
          • Syntax-for-tools
          • Atc
          • Language
          • Representation
          • Transformation-tools
            • Simpadd0
            • Deftrans
            • Splitgso
              • Splitgso-implementation
                • Replace-field-access-filepath-transunit-map
                • Replace-field-access-transunit-ensemble
                • Replace-field-access-fundef
                • Replace-field-access-extdecl-list
                • Replace-field-access-ident-list
                • Replace-field-access-extdecl
                • Replace-field-access-transunit
                • Splitgso-process-inputs-and-gen-everything
                • Replace-field-access-ident
                • Replace-field-access-const
                • Splitgso-fn
                • Match-simple-declor-ident
                • Splitgso-input-processing
                  • Splitgso-process-inputs
                  • Ident-map
                  • Splitgso-event-generation
                  • Splitgso-macro-definition
              • Constant-propagation
              • Split-fn
              • Copy-fn
              • Specialize
              • Split-all-gso
              • Rename
              • Utilities
            • Insertion-sort
            • Pack
          • 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
    • Splitgso-input-processing

    Ident-map

    Signature
    (ident-map strings) → idents
    Arguments
    strings — Guard (string-listp strings).
    Returns
    idents — Type (ident-listp idents).

    Definitions and Theorems

    Function: ident-map

    (defun ident-map (strings)
      (declare (xargs :guard (string-listp strings)))
      (let ((__function__ 'ident-map))
        (declare (ignorable __function__))
        (if (endp strings)
            nil
          (cons (ident (first strings))
                (ident-map (rest strings))))))

    Theorem: ident-listp-of-ident-map

    (defthm ident-listp-of-ident-map
      (b* ((idents (ident-map strings)))
        (ident-listp idents))
      :rule-classes :rewrite)