• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • 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
                  • Numeric-value-fix
                  • Numeric-value-equiv
                  • Numeric-valuep
                  • Numeric-value-short
                  • Numeric-value-long
                  • Numeric-value-int
                  • Numeric-value-float
                  • Numeric-value-double
                  • Numeric-value-char
                  • Numeric-value-byte
                  • Numeric-value-kind
                • 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
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Primitive-values

Numeric-value

Fixtype of Java numeric values [JLS14:4.2], excluding extended-exponent values [JLS14:4.2.3].

This is a sum-of-products (i.e., union) type, introduced by fty::defflexsum.

Members
:char → numeric-value-char
:byte → numeric-value-byte
:short → numeric-value-short
:int → numeric-value-int
:long → numeric-value-long
:float → numeric-value-float
:double → numeric-value-double

Theorem: numeric-valuep-when-integral-valuep

(defthm numeric-valuep-when-integral-valuep
  (implies (integral-valuep x)
           (numeric-valuep x)))

Subtopics

Numeric-value-fix
Fixing function for numeric-value structures.
Numeric-value-equiv
Basic equivalence relation for numeric-value structures.
Numeric-valuep
Recognizer for numeric-value structures.
Numeric-value-short
Numeric-value-long
Numeric-value-int
Numeric-value-float
Numeric-value-double
Numeric-value-char
Numeric-value-byte
Numeric-value-kind
Get the kind (tag) of a numeric-value structure.