• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • 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
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • Riscv
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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)