Get the name field from a input-item.
(input-item->name x) → name
This is an ordinary field accessor created by fty::defprod.
Function:
(defun input-item->name$inline (x) (declare (xargs :guard (input-itemp x))) (declare (xargs :guard t)) (let ((__function__ 'input-item->name)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (identifier-fix (cdr (std::da-nth 0 (cdr x))))) :exec (cdr (std::da-nth 0 (cdr x))))))
Theorem:
(defthm identifierp-of-input-item->name (b* ((name (input-item->name$inline x))) (identifierp name)) :rule-classes :rewrite)
Theorem:
(defthm input-item->name$inline-of-input-item-fix-x (equal (input-item->name$inline (input-item-fix x)) (input-item->name$inline x)))
Theorem:
(defthm input-item->name$inline-input-item-equiv-congruence-on-x (implies (input-item-equiv x x-equiv) (equal (input-item->name$inline x) (input-item->name$inline x-equiv))) :rule-classes :congruence)