Get the body field from a vl-define.
(vl-define->body x) → body
This is an ordinary field accessor created by defprod.
Function:
(defun vl-define->body$inline (x) (declare (xargs :guard (vl-define-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-define->body)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (str-fix (cdr (std::da-nth 2 x)))) :exec (cdr (std::da-nth 2 x)))))
Theorem:
(defthm stringp-of-vl-define->body (b* ((body (vl-define->body$inline x))) (stringp body)) :rule-classes :type-prescription)
Theorem:
(defthm vl-define->body$inline-of-vl-define-fix-x (equal (vl-define->body$inline (vl-define-fix x)) (vl-define->body$inline x)))
Theorem:
(defthm vl-define->body$inline-vl-define-equiv-congruence-on-x (implies (vl-define-equiv x x-equiv) (equal (vl-define->body$inline x) (vl-define->body$inline x-equiv))) :rule-classes :congruence)