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