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