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