Function:
(defun pinst->width (x) (declare (xargs :guard (pinst-p x))) (let ((acl2::__function__ 'pinst->width)) (declare (ignorable acl2::__function__)) (pinst-case x :flat (pflat->width x.guts) :keyline (pflat->width x.guts) :dot x.width :quote x.width :wide x.width :keypair x.width :indent x.width :special-term x.width)))
Theorem:
(defthm posp-of-pinst->width (b* ((width (pinst->width x))) (posp width)) :rule-classes :type-prescription)