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