Pretty-print a (non-blank) line of code.
The content to print is preceded by indentation according to the current level.
Function:
(defun print-jline (content indent-level) (declare (xargs :guard (and (msgp content) (natp indent-level)))) (let ((__function__ 'print-jline)) (declare (ignorable __function__)) (msg "~s0~@1~%" (atj-indent indent-level) content)))
Theorem:
(defthm msgp-of-print-jline (b* ((line (print-jline content indent-level))) (msgp line)) :rule-classes :rewrite)