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