• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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
        • C
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
          • Atj
          • Aij
          • Language
            • Syntax
            • Semantics
              • Primitive-function-macros
              • Primitive-values
              • Floating-point-placeholders
                • Floating-point-value-placeholders
                • Floating-point-operation-placeholders
                • Floating-point-conversion-placeholders
                  • Floating-point-macro-placeholders
                • Pointers
                • Floating-point-value-set-parameters
                • Values
                • Primitive-operations
                • Primitive-conversions
                • Reference-values
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Floating-point-placeholders

    Floating-point-conversion-placeholders

    Abstract placeholders for the Java floating-point conversions [JLS14:5.1].

    Definitions and Theorems

    Theorem: byte-to-float-abs-type

    (defthm byte-to-float-abs-type
      (float-value-abs-p (byte-to-float-abs x)))

    Theorem: byte-to-double-abs-type

    (defthm byte-to-double-abs-type
      (double-value-abs-p (byte-to-double-abs x)))

    Theorem: short-to-float-abs-type

    (defthm short-to-float-abs-type
      (float-value-abs-p (short-to-float-abs x)))

    Theorem: short-to-double-abs-type

    (defthm short-to-double-abs-type
      (double-value-abs-p (short-to-double-abs x)))

    Theorem: char-to-float-abs-type

    (defthm char-to-float-abs-type
      (float-value-abs-p (char-to-float-abs x)))

    Theorem: char-to-double-abs-type

    (defthm char-to-double-abs-type
      (double-value-abs-p (char-to-double-abs x)))

    Theorem: int-to-float-abs-type

    (defthm int-to-float-abs-type
      (float-value-abs-p (int-to-float-abs x)))

    Theorem: int-to-double-abs-type

    (defthm int-to-double-abs-type
      (double-value-abs-p (int-to-double-abs x)))

    Theorem: long-to-float-abs-type

    (defthm long-to-float-abs-type
      (float-value-abs-p (long-to-float-abs x)))

    Theorem: long-to-double-abs-type

    (defthm long-to-double-abs-type
      (double-value-abs-p (long-to-double-abs x)))

    Theorem: float-to-double-abs-type

    (defthm float-to-double-abs-type
      (double-value-abs-p (float-to-double-abs x)))

    Theorem: float-to-byte-abs-type

    (defthm float-to-byte-abs-type
      (sbyte8p (float-to-byte-abs x)))

    Theorem: float-to-short-abs-type

    (defthm float-to-short-abs-type
      (sbyte16p (float-to-short-abs x)))

    Theorem: float-to-char-abs-type

    (defthm float-to-char-abs-type
      (ubyte16p (float-to-char-abs x)))

    Theorem: float-to-int-abs-type

    (defthm float-to-int-abs-type
      (sbyte32p (float-to-int-abs x)))

    Theorem: float-to-long-abs-type

    (defthm float-to-long-abs-type
      (sbyte64p (float-to-long-abs x)))

    Theorem: double-to-byte-abs-type

    (defthm double-to-byte-abs-type
      (sbyte8p (double-to-byte-abs x)))

    Theorem: double-to-short-abs-type

    (defthm double-to-short-abs-type
      (sbyte16p (double-to-short-abs x)))

    Theorem: double-to-char-abs-type

    (defthm double-to-char-abs-type
      (ubyte16p (double-to-char-abs x)))

    Theorem: double-to-int-abs-type

    (defthm double-to-int-abs-type
      (sbyte32p (double-to-int-abs x)))

    Theorem: double-to-long-abs-type

    (defthm double-to-long-abs-type
      (sbyte64p (double-to-long-abs x)))

    Theorem: double-to-float-abs-type

    (defthm double-to-float-abs-type
      (float-value-abs-p (double-to-float-abs x)))