Get the externalp field from a atc-var-info.
(atc-var-info->externalp x) → externalp
This is an ordinary field accessor created by fty::defprod.
Function:
(defun atc-var-info->externalp$inline (x) (declare (xargs :guard (atc-var-infop x))) (declare (xargs :guard t)) (let ((__function__ 'atc-var-info->externalp)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::bool-fix (cdr (std::da-nth 2 x)))) :exec (cdr (std::da-nth 2 x)))))
Theorem:
(defthm booleanp-of-atc-var-info->externalp (b* ((externalp (atc-var-info->externalp$inline x))) (booleanp externalp)) :rule-classes :rewrite)
Theorem:
(defthm atc-var-info->externalp$inline-of-atc-var-info-fix-x (equal (atc-var-info->externalp$inline (atc-var-info-fix x)) (atc-var-info->externalp$inline x)))
Theorem:
(defthm atc-var-info->externalp$inline-atc-var-info-equiv-congruence-on-x (implies (atc-var-info-equiv x x-equiv) (equal (atc-var-info->externalp$inline x) (atc-var-info->externalp$inline x-equiv))) :rule-classes :congruence)