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