• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
        • Program-execution
        • Sdm-instruction-set-summary
        • Tlb
          • Tlb-key
            • !tlb-key->implicit-supervisor-access
            • Tlb-key-fast
            • Tlb-key-p
              • !tlb-key->r-w-x
              • !tlb-key->vpn
              • !tlb-key->smep
              • !tlb-key->smap
              • !tlb-key->cpl
              • !tlb-key->nxe
              • Tlb-key->implicit-supervisor-access
              • !tlb-key->wp
              • !tlb-key->ac
              • Tlb-key->vpn
              • Tlb-key->smep
              • Tlb-key->smap
              • Tlb-key->r-w-x
              • Tlb-key->cpl
              • Tlb-key-fix
              • Tlb-key->wp
              • Tlb-key->nxe
              • Tlb-key->ac
              • Good-tlb-key-p
            • Tlbp
            • Tlb-entryp
          • Running-linux
          • Introduction
          • Asmtest
          • X86isa-build-instructions
          • Publications
          • Contributors
          • Machine
          • Implemented-opcodes
          • To-do
          • Proof-utilities
          • Peripherals
          • Model-validation
          • Modelcalls
          • Concrete-simulation-examples
          • Utils
          • Debugging-code-proofs
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Tlb-key

    Tlb-key-p

    Recognizer for tlb-key bit structures.

    Signature
    (tlb-key-p x) → *

    Definitions and Theorems

    Function: tlb-key-p

    (defun tlb-key-p (x)
      (declare (xargs :guard t))
      (let ((__function__ 'tlb-key-p))
        (declare (ignorable __function__))
        (mbe :logic (unsigned-byte-p 46 x)
             :exec (and (natp x) (< x 70368744177664)))))

    Theorem: tlb-key-p-when-unsigned-byte-p

    (defthm tlb-key-p-when-unsigned-byte-p
      (implies (unsigned-byte-p 46 x)
               (tlb-key-p x)))

    Theorem: unsigned-byte-p-when-tlb-key-p

    (defthm unsigned-byte-p-when-tlb-key-p
      (implies (tlb-key-p x)
               (unsigned-byte-p 46 x)))

    Theorem: tlb-key-p-compound-recognizer

    (defthm tlb-key-p-compound-recognizer
      (implies (tlb-key-p x) (natp x))
      :rule-classes :compound-recognizer)