• 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-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
                  • Float-value-list-fix
                  • Float-value-list-equiv
                  • Float-value-listp
                    • Float-value-listp-basics
                  • 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
          • 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
    • Float-value-listp

    Float-value-listp-basics

    Basic theorems about float-value-listp, generated by std::deflist.

    Definitions and Theorems

    Theorem: float-value-listp-of-cons

    (defthm float-value-listp-of-cons
      (equal (float-value-listp (cons acl2::a acl2::x))
             (and (float-valuep acl2::a)
                  (float-value-listp acl2::x)))
      :rule-classes ((:rewrite)))

    Theorem: float-value-listp-of-cdr-when-float-value-listp

    (defthm float-value-listp-of-cdr-when-float-value-listp
      (implies (float-value-listp (double-rewrite acl2::x))
               (float-value-listp (cdr acl2::x)))
      :rule-classes ((:rewrite)))

    Theorem: float-value-listp-when-not-consp

    (defthm float-value-listp-when-not-consp
      (implies (not (consp acl2::x))
               (equal (float-value-listp acl2::x)
                      (not acl2::x)))
      :rule-classes ((:rewrite)))

    Theorem: float-valuep-of-car-when-float-value-listp

    (defthm float-valuep-of-car-when-float-value-listp
      (implies (float-value-listp acl2::x)
               (iff (float-valuep (car acl2::x))
                    (consp acl2::x)))
      :rule-classes ((:rewrite)))

    Theorem: true-listp-when-float-value-listp-compound-recognizer

    (defthm true-listp-when-float-value-listp-compound-recognizer
      (implies (float-value-listp acl2::x)
               (true-listp acl2::x))
      :rule-classes :compound-recognizer)

    Theorem: float-value-listp-of-list-fix

    (defthm float-value-listp-of-list-fix
      (implies (float-value-listp acl2::x)
               (float-value-listp (list-fix acl2::x)))
      :rule-classes ((:rewrite)))

    Theorem: float-value-listp-of-rev

    (defthm float-value-listp-of-rev
      (equal (float-value-listp (rev acl2::x))
             (float-value-listp (list-fix acl2::x)))
      :rule-classes ((:rewrite)))