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