Recognizer for vl-timeprecisiondecl structures.
(vl-timeprecisiondecl-p x) → *
Function:
(defun vl-timeprecisiondecl-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-timeprecisiondecl-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-timeprecisiondecl) (consp (cdr x)) (b* ((precision (car (cdr x))) (loc (cdr (cdr x)))) (and (vl-timeliteral-p precision) (vl-location-p loc))))))
Theorem:
(defthm consp-when-vl-timeprecisiondecl-p (implies (vl-timeprecisiondecl-p x) (consp x)) :rule-classes :compound-recognizer)