Print a floating suffix.
Function:
(defun print-fsuffix (fsuffix pstate) (declare (xargs :guard (and (fsuffixp fsuffix) (pristatep pstate)))) (let ((__function__ 'print-fsuffix)) (declare (ignorable __function__)) (fsuffix-case fsuffix :locase-f (print-astring "f" pstate) :upcase-f (print-astring "F" pstate) :locase-l (print-astring "l" pstate) :upcase-l (print-astring "L" pstate))))
Theorem:
(defthm pristatep-of-print-fsuffix (b* ((new-pstate (print-fsuffix fsuffix pstate))) (pristatep new-pstate)) :rule-classes :rewrite)
Theorem:
(defthm print-fsuffix-of-fsuffix-fix-fsuffix (equal (print-fsuffix (fsuffix-fix fsuffix) pstate) (print-fsuffix fsuffix pstate)))
Theorem:
(defthm print-fsuffix-fsuffix-equiv-congruence-on-fsuffix (implies (fsuffix-equiv fsuffix fsuffix-equiv) (equal (print-fsuffix fsuffix pstate) (print-fsuffix fsuffix-equiv pstate))) :rule-classes :congruence)
Theorem:
(defthm print-fsuffix-of-pristate-fix-pstate (equal (print-fsuffix fsuffix (pristate-fix pstate)) (print-fsuffix fsuffix pstate)))
Theorem:
(defthm print-fsuffix-pristate-equiv-congruence-on-pstate (implies (pristate-equiv pstate pstate-equiv) (equal (print-fsuffix fsuffix pstate) (print-fsuffix fsuffix pstate-equiv))) :rule-classes :congruence)