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