• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • 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
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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)))