• 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
        • Instructions
        • States
        • Decoding
        • Encoding
        • Features
          • Feat-bits
          • Feat
          • Feat->xnum
          • Feat->xlen
          • Feat-64p
          • Feat-32p
          • Semantics
          • Execution
        • 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
        • 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
    • Features

    Feat-32p

    Check if the features indicate 32 bits.

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

    Definitions and Theorems

    Function: feat-32p

    (defun feat-32p (feat)
      (declare (xargs :guard (featp feat)))
      (let ((__function__ 'feat-32p))
        (declare (ignorable __function__))
        (feat-bits-case (feat->bits feat)
                        :|32|)))

    Theorem: booleanp-of-feat-32p

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

    Theorem: feat-32p-of-feat-fix-feat

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

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

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