Pretty-print a rule.
(pretty-print-rule rule) → string
Function:
(defun pretty-print-rule (rule) (declare (xargs :guard (rulep rule))) (let ((__function__ 'pretty-print-rule)) (declare (ignorable __function__)) (b* (((rule rule) rule)) (str::cat (rulename->get rule.name) (if rule.incremental "=/" "=") (pretty-print-alternation rule.definiens)))))
Theorem:
(defthm stringp-of-pretty-print-rule (b* ((string (pretty-print-rule rule))) (common-lisp::stringp string)) :rule-classes :rewrite)