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