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