Pretty-print a length suffix of integer constants.
(pprint-iconst-length ts) → part
As noted in iconst-length, we use uppercase letters.
Function:
(defun pprint-iconst-length (ts) (declare (xargs :guard (iconst-lengthp ts))) (let ((__function__ 'pprint-iconst-length)) (declare (ignorable __function__)) (iconst-length-case ts :none "" :long "L" :llong "LL")))
Theorem:
(defthm msgp-of-pprint-iconst-length (b* ((part (pprint-iconst-length ts))) (msgp part)) :rule-classes :rewrite)
Theorem:
(defthm pprint-iconst-length-of-iconst-length-fix-ts (equal (pprint-iconst-length (iconst-length-fix ts)) (pprint-iconst-length ts)))
Theorem:
(defthm pprint-iconst-length-iconst-length-equiv-congruence-on-ts (implies (iconst-length-equiv ts ts-equiv) (equal (pprint-iconst-length ts) (pprint-iconst-length ts-equiv))) :rule-classes :congruence)