• 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
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
          • Process-syntheto-toplevel-fn
          • Translation
            • Trans-state
              • Trans-state-fix
              • Extend-trans-state
              • Trans-state-equiv
              • Extend-trans-state-list
              • Make-trans-state
              • Trans-state->tops
              • Change-trans-state
              • Trans-statep
                • Get-trans-state
                • Init-trans-state
                • Trans-state-table
              • Translate-to-ACL2-fn
              • Translate-to-ACL2
              • Set-trans-state
            • Language
            • Process-syntheto-toplevel
            • Shallow-embedding
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Trans-state

    Trans-statep

    Recognizer for trans-state structures.

    Signature
    (trans-statep x) → *

    Definitions and Theorems

    Function: trans-statep

    (defun trans-statep (x)
      (declare (xargs :guard t))
      (let ((__function__ 'trans-statep))
        (declare (ignorable __function__))
        (and (mbe :logic (and (alistp x)
                              (equal (strip-cars x) '(tops)))
                  :exec (fty::alist-with-carsp x '(tops)))
             (b* ((tops (cdr (std::da-nth 0 x))))
               (toplevel-listp tops)))))

    Theorem: consp-when-trans-statep

    (defthm consp-when-trans-statep
      (implies (trans-statep x) (consp x))
      :rule-classes :compound-recognizer)