• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
      • 100-theorems
      • Arithmetic
      • Bit-vectors
        • Sparseint
        • Bitops
        • Bv
        • Ihs
          • Logops-definitions
          • Math-lemmas
          • Ihs-theories
          • Ihs-init
          • Logops
            • Logops-lemmas
              • Logops-recursive-definitions-theory
                • Basic-logops-induction-schemes
                • Logops-recursive-helpers
                  • Unsigned-byte-p*
                  • Signed-byte-p*
                  • Logxor*
                  • Logtail*
                  • Lognot*
                  • Logmaskp*
                  • Logior*
                  • Loghead*
                  • Logext*
                  • Logbitp*
                  • Logapp*
                  • Logand*
                  • Integer-length*
                  • Ash*
                • Ihs/logbitp-lemmas
                • Ihs/loghead-lemmas
                • Ihs/logtail-lemmas
                • Ihs/logrpl-lemmas
                • Ihs/logand-lemmas
                • Ihs/logapp-lemmas
                • Ihs/logcar-lemmas
                • Ihs/integer-length-lemmas
                • Ihs/unsigned-byte-p-lemmas
                • Ihs/logext-lemmas
                • Ihs/logcons-lemmas
                • Signed-byte-p-logops
                • Ihs/logxor-lemmas
                • Ihs/logior-lemmas
                • Ihs/logextu-lemmas
                • Ihs/signed-byte-p-lemmas
                • Ihs/lognotu-lemmas
                • Ihs/lognot-lemmas
                • Ihs/logmaskp-lemmas
                • Ihs/ash-lemmas
                • Logops-lemmas-theory
                • Ihs/wrb-lemmas
                • Ihs/logite-lemmas
          • Rtl
        • Algebra
      • Testing-utilities
    • Logops-recursive-definitions-theory

    Logops-recursive-helpers

    Some additional lemmas that are included in logops-recursive-definitions-theory to help with inducting over the definitions of logical operations.

    Definitions and Theorems

    Theorem: falsify-unsigned-byte-p

    (defthm falsify-unsigned-byte-p
      (implies (or (not (integerp size))
                   (< size 0)
                   (not (integerp i)))
               (not (unsigned-byte-p size i))))

    Theorem: falsify-signed-byte-p

    (defthm falsify-signed-byte-p
      (implies (or (not (integerp size))
                   (not (> size 0))
                   (not (integerp i)))
               (not (signed-byte-p size i))))