Recognizer for driver structures.
(driver-p x) → *
Function:
(defun driver-p (x) (declare (xargs :guard t)) (let ((__function__ 'driver-p)) (declare (ignorable __function__)) (and (std::prod-consp x) (b* ((value (std::prod-car x)) (strength (std::prod-cdr x))) (and (svex-p value) (natp strength))))))
Theorem:
(defthm consp-when-driver-p (implies (driver-p x) (consp x)) :rule-classes :compound-recognizer)