Recognizer of values of type
(sintp x) → yes/no
Function:
(defun sintp (x) (declare (xargs :guard t)) (let ((__function__ 'sintp)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :sint) (true-listp (cdr x)) (eql (len (cdr x)) 1) (b* ((get (std::da-nth 0 (cdr x)))) (sint-integerp get)))))
Theorem:
(defthm booleanp-of-sintp (b* ((yes/no (sintp x))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm consp-when-sintp (implies (sintp x) (consp x)) :rule-classes :compound-recognizer)