• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
          • Simplify-defun
          • Isodata
          • Tailrec
          • Schemalg
          • Restrict
          • Expdata
          • Casesplit
          • Simplify-term
          • Simplify-defun-sk
          • Parteval
            • Parteval-implementation
              • Parteval-event-generation
              • Parteval-fn
              • Parteval-input-processing
                • Parteval-process-inputs
                • Parteval-unchanging-static-in-rec-calls-p
                • Parteval-process-static-terms
                • Parteval-unchanging-static-in-rec-args-p
                • Parteval-process-thm-name
                • Parteval-process-static
                • Parteval-process-old
                  • Parteval-case-of-old
                • Parteval-macro-definition
            • 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
          • Soft
          • 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
    • Parteval-input-processing

    Parteval-process-old

    Process the old input.

    Signature
    (parteval-process-old old verify-guards ctx state) 
      → 
    (mv erp old$ state)
    Returns
    old$ — The name of the target function of the transformation, denoted by the old input.
        Type (symbolp old$).

    Definitions and Theorems

    Function: parteval-process-old

    (defun parteval-process-old (old verify-guards ctx state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard t))
     (let ((__function__ 'parteval-process-old))
      (declare (ignorable __function__))
      (b*
       (((er old$)
         (ensure-function-name-or-numbered-wildcard$
              old "The first input" t nil))
        (description (msg "The target function ~x0" old$))
        ((er &)
         (ensure-function-is-logic-mode$ old$ description t nil))
        ((er &)
         (ensure-function-is-defined$ old$ description t nil))
        ((er &)
         (ensure-function-number-of-results$ old$ 1 description t nil))
        ((er &)
         (ensure-function-no-stobjs$ old$ description t nil))
        ((er &)
         (if
          (eq verify-guards t)
          (ensure-function-is-guard-verified$
           old$
           (msg
            "Since the :VERIFY-GUARDS input is T, ~
                              the target function ~x0"
            old$)
           t nil)
          (value :this-is-irrelevant))))
       (value old$))))

    Theorem: symbolp-of-parteval-process-old.old$

    (defthm symbolp-of-parteval-process-old.old$
      (b* (((mv ?erp ?old$ acl2::?state)
            (parteval-process-old old verify-guards ctx state)))
        (symbolp old$))
      :rule-classes :rewrite)