Get the precision field from a vl-timeprecisiondecl.
(vl-timeprecisiondecl->precision x) → precision
This is an ordinary field accessor created by defprod.
Function:
(defun vl-timeprecisiondecl->precision$inline (x) (declare (xargs :guard (vl-timeprecisiondecl-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-timeprecisiondecl->precision)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-timeliteral-fix (car (cdr x)))) :exec (car (cdr x)))))
Theorem:
(defthm vl-timeliteral-p-of-vl-timeprecisiondecl->precision (b* ((precision (vl-timeprecisiondecl->precision$inline x))) (vl-timeliteral-p precision)) :rule-classes :rewrite)
Theorem:
(defthm vl-timeprecisiondecl->precision$inline-of-vl-timeprecisiondecl-fix-x (equal (vl-timeprecisiondecl->precision$inline (vl-timeprecisiondecl-fix x)) (vl-timeprecisiondecl->precision$inline x)))
Theorem:
(defthm vl-timeprecisiondecl->precision$inline-vl-timeprecisiondecl-equiv-congruence-on-x (implies (vl-timeprecisiondecl-equiv x x-equiv) (equal (vl-timeprecisiondecl->precision$inline x) (vl-timeprecisiondecl->precision$inline x-equiv))) :rule-classes :congruence)