• 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
              • 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
    • Primitive-values

    Disjoint-primitive-values

    The tagging keywords make all the primitive values disjoint.

    Definitions and Theorems

    Theorem: disjoint-primitive-values

    (defthm disjoint-primitive-values
      (and (implies (boolean-valuep x)
                    (and (not (char-valuep x))
                         (not (byte-valuep x))
                         (not (short-valuep x))
                         (not (int-valuep x))
                         (not (long-valuep x))
                         (not (float-valuep x))
                         (not (double-valuep x))
                         (not (floatx-valuep x))
                         (not (doublex-valuep x))))
           (implies (char-valuep x)
                    (and (not (byte-valuep x))
                         (not (short-valuep x))
                         (not (int-valuep x))
                         (not (long-valuep x))
                         (not (float-valuep x))
                         (not (double-valuep x))
                         (not (floatx-valuep x))
                         (not (doublex-valuep x))))
           (implies (byte-valuep x)
                    (and (not (short-valuep x))
                         (not (int-valuep x))
                         (not (long-valuep x))
                         (not (float-valuep x))
                         (not (double-valuep x))
                         (not (floatx-valuep x))
                         (not (doublex-valuep x))))
           (implies (short-valuep x)
                    (and (not (int-valuep x))
                         (not (long-valuep x))
                         (not (float-valuep x))
                         (not (double-valuep x))
                         (not (floatx-valuep x))
                         (not (doublex-valuep x))))
           (implies (int-valuep x)
                    (and (not (long-valuep x))
                         (not (float-valuep x))
                         (not (double-valuep x))
                         (not (floatx-valuep x))
                         (not (doublex-valuep x))))
           (implies (long-valuep x)
                    (and (not (float-valuep x))
                         (not (double-valuep x))
                         (not (floatx-valuep x))
                         (not (doublex-valuep x))))
           (implies (float-valuep x)
                    (and (not (double-valuep x))
                         (not (floatx-valuep x))
                         (not (doublex-valuep x))))
           (implies (double-valuep x)
                    (and (not (floatx-valuep x))
                         (not (doublex-valuep x))))
           (implies (floatx-valuep x)
                    (not (doublex-valuep x)))))