Pretty-print an integer literal.
(print-integer-literal lit) → part
Function:
(defun print-integer-literal (lit) (declare (xargs :guard (integer-literalp lit))) (let ((__function__ 'print-integer-literal)) (declare (ignorable __function__)) (integer-literal-case lit :dec (print-dec-integer-literal lit.get) :hex (print-hex-integer-literal lit.get) :oct (print-oct-integer-literal lit.get) :bin (print-bin-integer-literal lit.get))))
Theorem:
(defthm msgp-of-print-integer-literal (b* ((part (print-integer-literal lit))) (msgp part)) :rule-classes :rewrite)
Theorem:
(defthm print-integer-literal-of-integer-literal-fix-lit (equal (print-integer-literal (integer-literal-fix lit)) (print-integer-literal lit)))
Theorem:
(defthm print-integer-literal-integer-literal-equiv-congruence-on-lit (implies (integer-literal-equiv lit lit-equiv) (equal (print-integer-literal lit) (print-integer-literal lit-equiv))) :rule-classes :congruence)