• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
      • Std/lists
      • Std/alists
      • Obags
      • Std/util
      • Std/strings
        • Pretty-printing
          • Pretty-printing-implementation
          • Eviscerate
            • Eviscconfig
              • Eviscconfig-fix
              • Eviscconfig-equiv
              • Make-eviscconfig
              • Eviscconfig->print-level
              • Eviscconfig->print-length
              • Eviscconfig-p
                • Change-eviscconfig
                • Eviscconfig->replacement-alist
                • Eviscconfig->hiding-cars
              • Eviscerate1
              • Eviscerate1p
            • Pretty
            • Revappend-pretty
            • Pretty-list
          • Printtree
          • Base64
          • Charset-p
          • Strtok!
          • Cases
          • Concatenation
          • Html-encoding
          • Character-kinds
          • Substrings
          • Strtok
          • Equivalences
          • Url-encoding
          • Lines
          • Explode-implode-equalities
          • Ordering
          • Numbers
          • Pad-trim
          • Coercion
          • Std/strings/digit-to-char
          • Substitution
          • Symbols
        • Std/osets
        • Std/io
        • Std/basic
        • Std/system
        • Std/typed-lists
        • Std/bitsets
        • Std/testing
        • Std/typed-alists
        • Std/stobjs
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Eviscconfig

    Eviscconfig-p

    Recognizer for eviscconfig structures.

    Signature
    (eviscconfig-p x) → *

    Definitions and Theorems

    Function: eviscconfig-p

    (defun eviscconfig-p (x)
      (declare (xargs :guard t))
      (let ((acl2::__function__ 'eviscconfig-p))
        (declare (ignorable acl2::__function__))
        (and (consp x)
             (eq (car x) :eviscconfig)
             (consp (cdr x))
             (consp (car (cdr x)))
             (consp (cdr (cdr x)))
             (b* ((print-level (car (car (cdr x))))
                  (print-length (cdr (car (cdr x))))
                  (?replacement-alist (car (cdr (cdr x))))
                  (?hiding-cars (cdr (cdr (cdr x)))))
               (and (acl2::maybe-natp print-level)
                    (acl2::maybe-natp print-length))))))

    Theorem: consp-when-eviscconfig-p

    (defthm consp-when-eviscconfig-p
      (implies (eviscconfig-p x) (consp x))
      :rule-classes :compound-recognizer)