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