• 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
          • Isodata
          • Simplify-defun
          • Tailrec
          • Schemalg
          • Restrict
          • Expdata
            • Expdata-implementation
              • Expdata-event-generation
              • Expdata-fn
              • Expdata-input-processing
                • Expdata-symbol-surjmap-alistp
                • Expdata-surjmapp
                • Expdata-pos-surjmap-alistp
                • Expdata-process-surj
                • Expdata-process-arg/res-list-surj
                • Expdata-process-inputs
                • Expdata-process-surjmaps
                • Expdata-fresh-defsurj-thm-names
                • Expdata-process-arg/res-list
                • Expdata-process-arg/res-list-surj-list
                • Expdata-process-res
                • Expdata-process-newp-of-new-name
                • Expdata-fresh-defsurj-name-with-*s-suffix
                • Expdata-process-surjmaps-ress
                • Expdata-process-surjmaps-args
                • Expdata-process-arg/res-list-surj-add-args
                • Expdata-process-arg/res-list-surj-add-ress
                • Expdata-process-old
                • Expdata-process-arg/res-list-aux
                  • Expdata-surjmap-listp
                  • Expdata-fresh-defsurj-name-with-*s-suffix-aux
                • Expdata-macro-definition
            • Casesplit
            • Simplify-term
            • Simplify-defun-sk
            • Parteval
            • Solve
            • Wrap-output
            • Propagate-iso
            • Simplify
            • Finite-difference
            • Drop-irrelevant-params
            • Copy-function
            • Lift-iso
            • Rename-params
            • Utilities
            • Simplify-term-programmatic
            • Simplify-defun-sk-programmatic
            • Simplify-defun-programmatic
            • Simplify-defun+
            • Common-options
            • Common-concepts
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • C
          • 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
    • Expdata-input-processing

    Expdata-process-arg/res-list-aux

    Signature
    (expdata-process-arg/res-list-aux 
         arg/res-list 
         x1...xn m err-msg-preamble ctx state) 
     
      → 
    (mv erp result state)
    Arguments
    arg/res-list — Guard (symbol-listp arg/res-list).
    x1...xn — Guard (symbol-listp x1...xn).
    m — Guard (posp m).
    err-msg-preamble — Guard (msgp err-msg-preamble).

    Definitions and Theorems

    Function: expdata-process-arg/res-list-aux

    (defun expdata-process-arg/res-list-aux
           (arg/res-list x1...xn m err-msg-preamble ctx state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard (and (symbol-listp arg/res-list)
                                 (symbol-listp x1...xn)
                                 (posp m)
                                 (msgp err-msg-preamble))))
     (let ((__function__ 'expdata-process-arg/res-list-aux))
       (declare (ignorable __function__))
       (b* (((when (endp arg/res-list))
             (value (list nil nil)))
            (arg/res (car arg/res-list))
            ((when (member-eq arg/res x1...xn))
             (b* (((er (list args ress))
                   (expdata-process-arg/res-list-aux
                        (cdr arg/res-list)
                        x1...xn m err-msg-preamble ctx state)))
               (value (list (cons arg/res args) ress))))
            ((er j)
             (expdata-process-res arg/res m err-msg-preamble ctx state))
            ((er (list args ress))
             (expdata-process-arg/res-list-aux
                  (cdr arg/res-list)
                  x1...xn m err-msg-preamble ctx state)))
         (value (list args (cons j ress))))))