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