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