Get the numerator field from a vl-timeunitdecl.
(vl-timeunitdecl->numerator x) → numerator
This is an ordinary field accessor created by defprod.
Function:
(defun vl-timeunitdecl->numerator$inline (x) (declare (xargs :guard (vl-timeunitdecl-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-timeunitdecl->numerator)) (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-timeunitdecl->numerator (b* ((numerator (vl-timeunitdecl->numerator$inline x))) (vl-timeliteral-p numerator)) :rule-classes :rewrite)
Theorem:
(defthm vl-timeunitdecl->numerator$inline-of-vl-timeunitdecl-fix-x (equal (vl-timeunitdecl->numerator$inline (vl-timeunitdecl-fix x)) (vl-timeunitdecl->numerator$inline x)))
Theorem:
(defthm vl-timeunitdecl->numerator$inline-vl-timeunitdecl-equiv-congruence-on-x (implies (vl-timeunitdecl-equiv x x-equiv) (equal (vl-timeunitdecl->numerator$inline x) (vl-timeunitdecl->numerator$inline x-equiv))) :rule-classes :congruence)