Pretty-print a unary operator.
Function:
(defun print-junop (unop) (declare (xargs :guard (junopp unop))) (let ((__function__ 'print-junop)) (declare (ignorable __function__)) (junop-case unop :preinc "++" :predec "--" :uplus "+" :uminus "-" :bitcompl "~~" :logcompl "!")))
Theorem:
(defthm msgp-of-print-junop (b* ((part (print-junop unop))) (msgp part)) :rule-classes :rewrite)