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