Pretty-print a function declaration.
(pprint-fun-declon declon level) → lines
Function:
(defun pprint-fun-declon (declon level) (declare (xargs :guard (and (fun-declonp declon) (natp level)))) (let ((__function__ 'pprint-fun-declon)) (declare (ignorable __function__)) (b* (((fun-declon declon) declon)) (pprint-one-line (msg "~@0 ~@1;" (pprint-tyspecseq declon.tyspec) (pprint-fun-declor declon.declor)) (lnfix level)))))
Theorem:
(defthm msg-listp-of-pprint-fun-declon (b* ((lines (pprint-fun-declon declon level))) (msg-listp lines)) :rule-classes :rewrite)
Theorem:
(defthm pprint-fun-declon-of-fun-declon-fix-declon (equal (pprint-fun-declon (fun-declon-fix declon) level) (pprint-fun-declon declon level)))
Theorem:
(defthm pprint-fun-declon-fun-declon-equiv-congruence-on-declon (implies (fun-declon-equiv declon declon-equiv) (equal (pprint-fun-declon declon level) (pprint-fun-declon declon-equiv level))) :rule-classes :congruence)
Theorem:
(defthm pprint-fun-declon-of-nfix-level (equal (pprint-fun-declon declon (nfix level)) (pprint-fun-declon declon level)))
Theorem:
(defthm pprint-fun-declon-nat-equiv-congruence-on-level (implies (acl2::nat-equiv level level-equiv) (equal (pprint-fun-declon declon level) (pprint-fun-declon declon level-equiv))) :rule-classes :congruence)