• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Testing-utilities
    • Math
      • Arithmetic
        • Lispfloat
        • Arithmetic-1
        • Number-theory
        • Proof-by-arith
        • Arith-equivs
          • Nat-equiv
          • Bit->bool
          • Bit-equiv
            • Int-equiv
            • Negp
            • Bool->bit
          • Number-theory
          • Arithmetic-3
          • Arithmetic-2
          • Arithmetic-light
          • Arithmetic-5
        • Bit-vectors
        • Algebra
    • Arith-equivs

    Bit-equiv

    Equivalence under bfix, i.e., bit equivalence.

    Definitions and Theorems

    Theorem: nat-equiv-refines-bit-equiv

    (defthm nat-equiv-refines-bit-equiv
            (implies (nat-equiv x y)
                     (bit-equiv x y))
            :rule-classes (:refinement))

    Theorem: bit-equiv-implies-equal-zbp-1

    (defthm bit-equiv-implies-equal-zbp-1
            (implies (bit-equiv a a-equiv)
                     (equal (zbp a) (zbp a-equiv)))
            :rule-classes (:congruence))