Name of a function in a definition.
Function:
(defun fundef->name (fundef) (declare (xargs :guard (fundefp fundef))) (let ((__function__ 'fundef->name)) (declare (ignorable __function__)) (b* (((mv name &) (fun-declor-to-ident+adeclor (fundef->declor fundef)))) name)))
Theorem:
(defthm identp-of-fundef->name (b* ((name (fundef->name fundef))) (identp name)) :rule-classes :rewrite)
Theorem:
(defthm fundef->name-of-fundef-fix-fundef (equal (fundef->name (fundef-fix fundef)) (fundef->name fundef)))
Theorem:
(defthm fundef->name-fundef-equiv-congruence-on-fundef (implies (fundef-equiv fundef fundef-equiv) (equal (fundef->name fundef) (fundef->name fundef-equiv))) :rule-classes :congruence)