Print a list of one or more type qualifiers, separated by spaces.
(print-tyqual-list tyquals pstate) → new-pstate
Function:
(defun print-tyqual-list (tyquals pstate) (declare (xargs :guard (and (tyqual-listp tyquals) (pristatep pstate)))) (declare (xargs :guard (consp tyquals))) (let ((__function__ 'print-tyqual-list)) (declare (ignorable __function__)) (b* (((unless (mbt (consp tyquals))) (pristate-fix pstate)) (pstate (print-tyqual (car tyquals) pstate)) ((when (endp (cdr tyquals))) pstate) (pstate (print-astring " " pstate))) (print-tyqual-list (cdr tyquals) pstate))))
Theorem:
(defthm pristatep-of-print-tyqual-list (b* ((new-pstate (print-tyqual-list tyquals pstate))) (pristatep new-pstate)) :rule-classes :rewrite)
Theorem:
(defthm print-tyqual-list-of-tyqual-list-fix-tyquals (equal (print-tyqual-list (tyqual-list-fix tyquals) pstate) (print-tyqual-list tyquals pstate)))
Theorem:
(defthm print-tyqual-list-tyqual-list-equiv-congruence-on-tyquals (implies (tyqual-list-equiv tyquals tyquals-equiv) (equal (print-tyqual-list tyquals pstate) (print-tyqual-list tyquals-equiv pstate))) :rule-classes :congruence)
Theorem:
(defthm print-tyqual-list-of-pristate-fix-pstate (equal (print-tyqual-list tyquals (pristate-fix pstate)) (print-tyqual-list tyquals pstate)))
Theorem:
(defthm print-tyqual-list-pristate-equiv-congruence-on-pstate (implies (pristate-equiv pstate pstate-equiv) (equal (print-tyqual-list tyquals pstate) (print-tyqual-list tyquals pstate-equiv))) :rule-classes :congruence)