• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
      • Std/lists
      • Std/alists
        • Alist-keys
        • Remove-assocs
        • Alist-vals
        • Alist-map-vals
        • Std/alists/strip-cdrs
        • Hons-rassoc-equal
        • Alist-map-keys
        • Std/alists/hons-assoc-equal
        • Fal-extract
        • Std/alists/strip-cars
        • Fal-find-any
        • Fal-extract-vals
        • Std/alists/abstract
        • Fal-all-boundp
        • Std/alists/alistp
        • Append-alist-vals
        • Append-alist-keys
        • Alist-equiv
        • Hons-remove-assoc
        • Std/alists/pairlis$
        • Alists-agree
        • Worth-hashing
        • Sub-alistp
        • Alist-fix
        • Std/alists/remove-assoc-equal
          • Std/alists/assoc-equal
        • Obags
        • Std/util
        • Std/strings
        • Std/io
        • Std/osets
        • Std/system
        • Std/basic
        • Std/typed-lists
        • Std/bitsets
        • Std/testing
        • Std/typed-alists
        • Std/stobjs
        • Std-extensions
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Testing-utilities
      • Math
    • Std/alists
    • Remove-assoc

    Std/alists/remove-assoc-equal

    Theorems about remove-assoc-equal in the std/alists library.

    Definitions and Theorems

    Theorem: alistp-of-remove-assoc-equal

    (defthm alistp-of-remove-assoc-equal
            (implies (alistp x)
                     (alistp (remove-assoc-equal a x))))

    Theorem: acl2-count-of-remove-assoc-equal-upper-bound

    (defthm acl2-count-of-remove-assoc-equal-upper-bound
            (<= (acl2-count (remove-assoc-equal a x))
                (acl2-count x))
            :rule-classes :linear)

    Theorem: symbol-alistp-of-remove-assoc-equal

    (defthm symbol-alistp-of-remove-assoc-equal
            (implies (symbol-alistp x)
                     (symbol-alistp (remove-assoc-equal a x))))

    Theorem: eqlable-alistp-of-remove-assoc-equal

    (defthm eqlable-alistp-of-remove-assoc-equal
            (implies (eqlable-alistp x)
                     (eqlable-alistp (remove-assoc-equal a x))))

    Theorem: strip-cars-of-remove-assoc-equal

    (defthm strip-cars-of-remove-assoc-equal
            (equal (strip-cars (remove-assoc-equal a x))
                   (remove-equal a (strip-cars x))))