• 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
        • Atj
        • Aij
        • Language
          • Syntax
          • Semantics
            • Primitive-function-macros
            • Primitive-values
              • Floating-pointx-value
              • Doublex-value-fns
              • Primitivex-value
                • Primitivex-valuep
                  • Primitivex-value-fix
                • Floatx-value-fns
                • Primitive-value
                • Numericx-value
                • Numeric-value
                • Integral-value
                • Int-value
                • Char-value
                • Byte-value
                • Short-value
                • Long-value
                • Float-value
                • Double-value
                • Boolean-value
                • Floating-point-value
                • Disjoint-primitive-values
                • Short-value-list
                • Long-value-list
                • Int-value-list
                • Float-value-list
                • Double-value-list
                • Char-value-list
                • Byte-value-list
                • Boolean-value-list
              • Floating-point-placeholders
              • Pointers
              • Floating-point-value-set-parameters
              • Values
              • Primitive-operations
              • Primitive-conversions
              • Reference-values
        • Taspi
        • Riscv
        • 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
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Primitivex-value

    Primitivex-valuep

    Recognizer for primitivex-value.

    Signature
    (primitivex-valuep x) → yes/no
    Returns
    yes/no — Type (booleanp yes/no).

    Definitions and Theorems

    Function: primitivex-valuep

    (defun primitivex-valuep (x)
      (declare (xargs :guard t))
      (let ((__function__ 'primitivex-valuep))
        (declare (ignorable __function__))
        (or (primitive-valuep x)
            (floatx-valuep x)
            (doublex-valuep x))))

    Theorem: booleanp-of-primitivex-valuep

    (defthm booleanp-of-primitivex-valuep
      (b* ((yes/no (primitivex-valuep x)))
        (booleanp yes/no))
      :rule-classes :rewrite)

    Theorem: primitivex-valuep-when-primitive-valuep

    (defthm primitivex-valuep-when-primitive-valuep
      (implies (primitive-valuep x)
               (primitivex-valuep x)))

    Theorem: primitivex-valuep-when-numericx-valuep

    (defthm primitivex-valuep-when-numericx-valuep
      (implies (numericx-valuep x)
               (primitivex-valuep x)))