• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
      • Std/lists
      • Std/alists
      • Obags
      • Std/util
        • Defprojection
        • Deflist
        • Defaggregate
        • Define
        • Defmapping
          • Defsurj
          • Defiso
          • Defmapping-implementation
            • Defmapping-event-generation
            • Defmapping-check-redundancy
            • Defmapping-table
              • Defmapping-infop
              • Defmapping-lookup
              • Defmapping-filter-call
              • Maybe-defmapping-infop
                • *defmapping-table-name*
              • Defmapping-fn
              • Defmapping-input-processing
              • Defmapping-macro-definition
            • Definj
          • Defenum
          • Add-io-pairs
          • Defalist
          • Defmapappend
          • Returns-specifiers
          • Defarbrec
          • Defines
          • Define-sk
          • Error-value-tuples
          • Defmax-nat
          • Defmin-int
          • Deftutorial
          • Extended-formals
          • Defrule
          • Defval
          • Defsurj
          • Defiso
          • Defconstrained-recognizer
          • Deffixer
          • Defmvtypes
          • Defconsts
          • Defthm-unsigned-byte-p
          • Support
          • Defthm-signed-byte-p
          • Defthm-natp
          • Defund-sk
          • Defmacro+
          • Defsum
          • Defthm-commutative
          • Definj
          • Defirrelevant
          • Defredundant
        • Std/strings
        • 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
    • Defmapping-table

    Maybe-defmapping-infop

    Recognize information about a defmapping call, and nil.

    Signature
    (maybe-defmapping-infop x) → yes/no
    Returns
    yes/no — Type (booleanp yes/no).

    Definitions and Theorems

    Function: maybe-defmapping-infop

    (defun maybe-defmapping-infop (x)
      (declare (xargs :guard t))
      (let ((__function__ 'maybe-defmapping-infop))
        (declare (ignorable __function__))
        (or (defmapping-infop x) (eq x nil))))

    Theorem: booleanp-of-maybe-defmapping-infop

    (defthm booleanp-of-maybe-defmapping-infop
      (b* ((yes/no (maybe-defmapping-infop x)))
        (booleanp yes/no))
      :rule-classes :rewrite)