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