Recognizer for qualified-ident-option-set.
(qualified-ident-option-setp x) → *
Function:
(defun qualified-ident-option-setp (x) (declare (xargs :guard t)) (if (atom x) (null x) (and (qualified-ident-optionp (car x)) (or (null (cdr x)) (and (consp (cdr x)) (acl2::fast-<< (car x) (cadr x)) (qualified-ident-option-setp (cdr x)))))))
Theorem:
(defthm booleanp-ofqualified-ident-option-setp (booleanp (qualified-ident-option-setp x)))
Theorem:
(defthm setp-when-qualified-ident-option-setp (implies (qualified-ident-option-setp x) (setp x)) :rule-classes (:rewrite))
Theorem:
(defthm qualified-ident-optionp-of-head-when-qualified-ident-option-setp (implies (qualified-ident-option-setp x) (qualified-ident-optionp (head x))))
Theorem:
(defthm qualified-ident-option-setp-of-tail-when-qualified-ident-option-setp (implies (qualified-ident-option-setp x) (qualified-ident-option-setp (tail x))))
Theorem:
(defthm qualified-ident-option-setp-of-insert (equal (qualified-ident-option-setp (insert a x)) (and (qualified-ident-optionp a) (qualified-ident-option-setp (sfix x)))))
Theorem:
(defthm qualified-ident-optionp-when-in-qualified-ident-option-setp-binds-free-x (implies (and (in a x) (qualified-ident-option-setp x)) (qualified-ident-optionp a)))
Theorem:
(defthm not-in-qualified-ident-option-setp-when-not-qualified-ident-optionp (implies (and (qualified-ident-option-setp x) (not (qualified-ident-optionp a))) (not (in a x))))
Theorem:
(defthm qualified-ident-option-setp-of-union (equal (qualified-ident-option-setp (union x y)) (and (qualified-ident-option-setp (sfix x)) (qualified-ident-option-setp (sfix y)))))
Theorem:
(defthm qualified-ident-option-setp-of-intersect (implies (and (qualified-ident-option-setp x) (qualified-ident-option-setp y)) (qualified-ident-option-setp (intersect x y))))
Theorem:
(defthm qualified-ident-option-setp-of-difference (implies (qualified-ident-option-setp x) (qualified-ident-option-setp (difference x y))))
Theorem:
(defthm qualified-ident-option-setp-of-delete (implies (qualified-ident-option-setp x) (qualified-ident-option-setp (delete a x))))