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