Get the home-package field from a printconfig.
(printconfig->home-package x) → home-package
This is an ordinary field accessor created by fty::defprod.
Function:
(defun printconfig->home-package$inline (x) (declare (xargs :guard (printconfig-p x))) (declare (xargs :guard t)) (let ((acl2::__function__ 'printconfig->home-package)) (declare (ignorable acl2::__function__)) (mbe :logic (b* ((x (and t x))) (acl2::symbol-fix (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x)))))) :exec (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x)))))))
Theorem:
(defthm symbolp-of-printconfig->home-package (b* ((home-package (printconfig->home-package$inline x))) (symbolp home-package)) :rule-classes :type-prescription)
Theorem:
(defthm printconfig->home-package$inline-of-printconfig-fix-x (equal (printconfig->home-package$inline (printconfig-fix x)) (printconfig->home-package$inline x)))
Theorem:
(defthm printconfig->home-package$inline-printconfig-equiv-congruence-on-x (implies (printconfig-equiv x x-equiv) (equal (printconfig->home-package$inline x) (printconfig->home-package$inline x-equiv))) :rule-classes :congruence)