• 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
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • 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
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • 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)