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