Pretty-print a decimal constant.
According to the grammar [C:6.4.4.1],
a `decimal constant' is a sequence of decimal digits
that does not start with
Function:
(defun pprint-dec-const (n) (declare (xargs :guard (natp n))) (let ((__function__ 'pprint-dec-const)) (declare (ignorable __function__)) (str::nat-to-dec-string (lnfix n))))
Theorem:
(defthm msgp-of-pprint-dec-const (b* ((part (pprint-dec-const n))) (msgp part)) :rule-classes :rewrite)
Theorem:
(defthm pprint-dec-const-of-nfix-n (equal (pprint-dec-const (nfix n)) (pprint-dec-const n)))
Theorem:
(defthm pprint-dec-const-nat-equiv-congruence-on-n (implies (acl2::nat-equiv n n-equiv) (equal (pprint-dec-const n) (pprint-dec-const n-equiv))) :rule-classes :congruence)