Get the name field from a programid.
(programid->name x) → name
This is an ordinary field accessor created by fty::defprod.
Function:
(defun programid->name$inline (x) (declare (xargs :guard (programidp x))) (declare (xargs :guard t)) (let ((__function__ 'programid->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-programid->name (b* ((name (programid->name$inline x))) (identifierp name)) :rule-classes :rewrite)
Theorem:
(defthm programid->name$inline-of-programid-fix-x (equal (programid->name$inline (programid-fix x)) (programid->name$inline x)))
Theorem:
(defthm programid->name$inline-programid-equiv-congruence-on-x (implies (programid-equiv x x-equiv) (equal (programid->name$inline x) (programid->name$inline x-equiv))) :rule-classes :congruence)