• 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
      • Riscv
        • Semantics
        • Features
          • Feat-base
          • Feat-endian
          • Feat
          • Feat->xnum
          • Feat->xlen
          • Feat-little-endianp
          • Feat-big-endianp
          • Feat-64p
            • Feat-32p-or-64p
          • Feat-32p
          • Feat-embedp
          • Feat-mp
          • Feat-rv64im-le
          • Feat-rv64em-le
          • Feat-rv32im-le
          • Feat-rv32em-le
          • Feat-rv64im-be
          • Feat-rv64i-le
          • Feat-rv64i-be
          • Feat-rv64em-be
          • Feat-rv64e-le
          • Feat-rv64e-be
          • Feat-rv32im-be
          • Feat-rv32i-le
          • Feat-rv32i-be
          • Feat-rv32em-be
          • Feat-rv32e-le
          • Feat-rv32e-be
        • States
        • Instructions
        • Decoding
        • Encoding
        • Reads-over-writes
        • Rv32im
        • Rv64im
        • Execution
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • 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
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Features

Feat-64p

Check if the features indicate 64 bits.

Signature
(feat-64p feat) → yes/no
Arguments
feat — Guard (featp feat).
Returns
yes/no — Type (booleanp yes/no).

Definitions and Theorems

Function: feat-64p

(defun feat-64p (feat)
  (declare (xargs :guard (featp feat)))
  (let ((__function__ 'feat-64p))
    (declare (ignorable __function__))
    (or (feat-base-case (feat->base feat)
                        :rv64i)
        (feat-base-case (feat->base feat)
                        :rv64e))))

Theorem: booleanp-of-feat-64p

(defthm booleanp-of-feat-64p
  (b* ((yes/no (feat-64p feat)))
    (booleanp yes/no))
  :rule-classes :rewrite)

Theorem: feat-64p-of-feat-fix-feat

(defthm feat-64p-of-feat-fix-feat
  (equal (feat-64p (feat-fix feat))
         (feat-64p feat)))

Theorem: feat-64p-feat-equiv-congruence-on-feat

(defthm feat-64p-feat-equiv-congruence-on-feat
  (implies (feat-equiv feat feat-equiv)
           (equal (feat-64p feat)
                  (feat-64p feat-equiv)))
  :rule-classes :congruence)

Subtopics

Feat-32p-or-64p
One of feat-32p and feat-64p always holds.