Pretty-print an initializer.
(pprint-initer initer options) → part
Function:
(defun pprint-initer (initer options) (declare (xargs :guard (and (initerp initer) (pprint-options-p options)))) (let ((__function__ 'pprint-initer)) (declare (ignorable __function__)) (initer-case initer :single (pprint-expr initer.get (expr-grade-top) options) :list (msg "{~@0}" (pprint-comma-sep (pprint-expr-list initer.get (expr-grade-top) options))))))
Theorem:
(defthm msgp-of-pprint-initer (b* ((part (pprint-initer initer options))) (msgp part)) :rule-classes :rewrite)
Theorem:
(defthm pprint-initer-of-initer-fix-initer (equal (pprint-initer (initer-fix initer) options) (pprint-initer initer options)))
Theorem:
(defthm pprint-initer-initer-equiv-congruence-on-initer (implies (initer-equiv initer initer-equiv) (equal (pprint-initer initer options) (pprint-initer initer-equiv options))) :rule-classes :congruence)
Theorem:
(defthm pprint-initer-of-pprint-options-fix-options (equal (pprint-initer initer (pprint-options-fix options)) (pprint-initer initer options)))
Theorem:
(defthm pprint-initer-pprint-options-equiv-congruence-on-options (implies (pprint-options-equiv options options-equiv) (equal (pprint-initer initer options) (pprint-initer initer options-equiv))) :rule-classes :congruence)