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