Get the message field from a statassert.
(statassert->message x) → message
This is an ordinary field accessor created by fty::defprod.
Function:
(defun statassert->message$inline (x) (declare (xargs :guard (statassertp x))) (declare (xargs :guard t)) (mbe :logic (b* ((x (and t x))) (stringlit-list-fix (cdr x))) :exec (cdr x)))
Theorem:
(defthm stringlit-listp-of-statassert->message (b* ((message (statassert->message$inline x))) (stringlit-listp message)) :rule-classes :rewrite)
Theorem:
(defthm statassert->message$inline-of-statassert-fix-x (equal (statassert->message$inline (statassert-fix x)) (statassert->message$inline x)))
Theorem:
(defthm statassert->message$inline-statassert-equiv-congruence-on-x (implies (statassert-equiv x x-equiv) (equal (statassert->message$inline x) (statassert->message$inline x-equiv))) :rule-classes :congruence)