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