Recognizer for pprint-options structures.
(pprint-options-p x) → *
Function:
(defun pprint-options-p (x) (declare (xargs :guard t)) (let ((__function__ 'pprint-options-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(parenthesize-nested-conditionals))) :exec (fty::alist-with-carsp x '(parenthesize-nested-conditionals))) (b* ((parenthesize-nested-conditionals (cdr (std::da-nth 0 x)))) (booleanp parenthesize-nested-conditionals)))))
Theorem:
(defthm consp-when-pprint-options-p (implies (pprint-options-p x) (consp x)) :rule-classes :compound-recognizer)