• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • 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
          • Soft-future-work
          • Soft-macros
            • Defun-inst
            • Defequal
              • Defequal-implementation
                • Defequal-fn
                • Defequal-event-generation
                • Defequal-input-processing
                  • Defequal-process-inputs
                  • Defequal-process-left-and-right
                  • Defequal-process-vars
                  • Defequal-process-right-to-left-name
                  • Defequal-process-left-to-right-name
                  • Defequal-process-vars-aux
                    • Defequal-process-name
                  • Defequal-table
                  • Defequal-macro-definition
              • Defsoft
              • Defthm-inst
              • Defun2
              • Defunvar
              • Defun-sk2
              • Defchoose2
              • Defthm-2nd-order
              • Define-sk2
              • Defund-sk2
              • Define2
              • Defund2
            • Updates-to-workshop-material
            • Soft-implementation
            • Soft-notions
          • C
          • 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
    • Defequal-input-processing

    Defequal-process-vars-aux

    Signature
    (defequal-process-vars-aux name n) → x1...xn
    Arguments
    name — Guard (symbolp name).
    n — Guard (natp n).
    Returns
    x1...xn — Type (symbol-listp x1...xn).

    Definitions and Theorems

    Function: defequal-process-vars-aux

    (defun defequal-process-vars-aux (name n)
      (declare (xargs :guard (and (symbolp name) (natp n))))
      (let ((__function__ 'defequal-process-vars-aux))
        (declare (ignorable __function__))
        (cond ((zp n) nil)
              (t (append (defequal-process-vars-aux name (1- n))
                         (list (packn-pos (list "X" n) name)))))))

    Theorem: symbol-listp-of-defequal-process-vars-aux

    (defthm symbol-listp-of-defequal-process-vars-aux
      (b* ((x1...xn (defequal-process-vars-aux name n)))
        (symbol-listp x1...xn))
      :rule-classes :rewrite)