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