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