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