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