Get the name field from a asm-input.
(asm-input->name x) → name
This is an ordinary field accessor created by fty::defprod.
Function:
(defun asm-input->name$inline (x) (declare (xargs :guard (asm-inputp x))) (declare (xargs :guard t)) (mbe :logic (b* ((x (and t x))) (ident-option-fix (car x))) :exec (car x)))
Theorem:
(defthm ident-optionp-of-asm-input->name (b* ((name (asm-input->name$inline x))) (ident-optionp name)) :rule-classes :rewrite)
Theorem:
(defthm asm-input->name$inline-of-asm-input-fix-x (equal (asm-input->name$inline (asm-input-fix x)) (asm-input->name$inline x)))
Theorem:
(defthm asm-input->name$inline-asm-input-equiv-congruence-on-x (implies (asm-input-equiv x x-equiv) (equal (asm-input->name$inline x) (asm-input->name$inline x-equiv))) :rule-classes :congruence)