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