Get the affect field from a stmt-gin.
(stmt-gin->affect x) → affect
This is an ordinary field accessor created by fty::defprod.
Function:
(defun stmt-gin->affect$inline (x) (declare (xargs :guard (stmt-ginp x))) (declare (xargs :guard t)) (let ((__function__ 'stmt-gin->affect)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (symbol-list-fix (cdr (std::da-nth 5 x)))) :exec (cdr (std::da-nth 5 x)))))
Theorem:
(defthm symbol-listp-of-stmt-gin->affect (b* ((affect (stmt-gin->affect$inline x))) (symbol-listp affect)) :rule-classes :rewrite)
Theorem:
(defthm stmt-gin->affect$inline-of-stmt-gin-fix-x (equal (stmt-gin->affect$inline (stmt-gin-fix x)) (stmt-gin->affect$inline x)))
Theorem:
(defthm stmt-gin->affect$inline-stmt-gin-equiv-congruence-on-x (implies (stmt-gin-equiv x x-equiv) (equal (stmt-gin->affect$inline x) (stmt-gin->affect$inline x-equiv))) :rule-classes :congruence)