• 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
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Riscv
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
        • Transformations
        • Language
          • Abstract-syntax
          • Dynamic-semantics
          • Concrete-syntax
          • Static-soundness
          • Static-semantics
            • Static-safety-checking
              • Check-safe-statements/blocks/cases/fundefs
              • Check-safe-expressions
              • Check-safe-fundef-list
              • Check-safe-variable-multi
              • Check-safe-variable-single
              • Check-safe-assign-multi
              • Check-safe-assign-single
              • Check-safe-path
              • Check-safe-extends-varset
              • Vars+modes
              • Add-vars
              • Add-var
              • Add-funtypes
              • Check-safe-literal
              • Funtype
              • Get-funtype
              • Check-var
              • Check-safe-top-block
              • Check-safe-path-list
              • Vars+modes-result
                • Vars+modes-result-fix
                • Vars+modes-result-equiv
                • Vars+modes-result-ok
                • Vars+modes-result-err
                • Vars+modes-resultp
                  • Vars+modes-result-kind
                • Funtype-result
                • Funtable-result
                • Funtable-for-fundefs
                • Funtype-for-fundef
                • Funtable
              • Static-shadowing-checking
              • Mode-set-result
              • Literal-evaluation
              • Static-identifier-checking
              • Static-safety-checking-evm
              • Mode-set
              • Modes
            • Errors
          • Yul-json
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Vars+modes-result

    Vars+modes-resultp

    Recognizer for vars+modes-result structures.

    Signature
    (vars+modes-resultp acl2::x) → *

    Definitions and Theorems

    Function: vars+modes-resultp

    (defun vars+modes-resultp (acl2::x)
      (declare (xargs :guard t))
      (let ((__function__ 'vars+modes-resultp))
        (declare (ignorable __function__))
        (cond ((vars+modes-p acl2::x)
               (b* ((get acl2::x)) (vars+modes-p get)))
              (t (b* ((get acl2::x)) (reserrp get))))))

    Theorem: consp-when-vars+modes-resultp

    (defthm consp-when-vars+modes-resultp
      (implies (vars+modes-resultp acl2::x)
               (consp acl2::x))
      :rule-classes :compound-recognizer)