Pretty-print an identifier.
Function:
(defun pprint-ident (id) (declare (xargs :guard (identp id))) (let ((__function__ 'pprint-ident)) (declare (ignorable __function__)) (ident->name id)))
Theorem:
(defthm msgp-of-pprint-ident (b* ((part (pprint-ident id))) (msgp part)) :rule-classes :rewrite)
Theorem:
(defthm pprint-ident-of-ident-fix-id (equal (pprint-ident (ident-fix id)) (pprint-ident id)))
Theorem:
(defthm pprint-ident-ident-equiv-congruence-on-id (implies (ident-equiv id id-equiv) (equal (pprint-ident id) (pprint-ident id-equiv))) :rule-classes :congruence)