• 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
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
        • Yul
          • Transformations
          • Language
            • Abstract-syntax
            • Dynamic-semantics
            • Concrete-syntax
            • Static-soundness
            • Static-semantics
              • Static-safety-checking
              • Static-shadowing-checking
              • Mode-set-result
                • Mode-set-result-fix
                • Mode-set-result-equiv
                • Mode-set-result-ok
                • Mode-set-result-err
                • Mode-set-resultp
                  • Mode-set-result-kind
                • Literal-evaluation
                • Static-identifier-checking
                • Static-safety-checking-evm
                • Mode-set
                • Modes
              • Errors
            • Yul-json
          • 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
    • Mode-set-result

    Mode-set-resultp

    Recognizer for mode-set-result structures.

    Signature
    (mode-set-resultp acl2::x) → *

    Definitions and Theorems

    Function: mode-set-resultp

    (defun mode-set-resultp (acl2::x)
      (declare (xargs :guard t))
      (let ((__function__ 'mode-set-resultp))
        (declare (ignorable __function__))
        (cond ((mode-setp acl2::x)
               (b* ((get acl2::x)) (mode-setp get)))
              (t (b* ((get acl2::x)) (reserrp get))))))