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