Function:
(defun vl-selfassign-bit (name index) (declare (xargs :guard (and (stringp name) (natp index)))) (let ((__function__ 'vl-selfassign-bit)) (declare (ignorable __function__)) (cat name "[" (natstr index) "]")))
Theorem:
(defthm stringp-of-vl-selfassign-bit (b* ((bit (vl-selfassign-bit name index))) (stringp bit)) :rule-classes :type-prescription)