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