Get the content field from a plain-string.
(plain-string->content x) → content
This is an ordinary field accessor created by fty::defprod.
Function:
(defun plain-string->content$inline (x) (declare (xargs :guard (plain-stringp x))) (declare (xargs :guard t)) (let ((__function__ 'plain-string->content)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (string-element-list-fix (cdr (std::da-nth 0 (cdr x))))) :exec (cdr (std::da-nth 0 (cdr x))))))
Theorem:
(defthm string-element-listp-of-plain-string->content (b* ((content (plain-string->content$inline x))) (string-element-listp content)) :rule-classes :rewrite)
Theorem:
(defthm plain-string->content$inline-of-plain-string-fix-x (equal (plain-string->content$inline (plain-string-fix x)) (plain-string->content$inline x)))
Theorem:
(defthm plain-string->content$inline-plain-string-equiv-congruence-on-x (implies (plain-string-equiv x x-equiv) (equal (plain-string->content$inline x) (plain-string->content$inline x-equiv))) :rule-classes :congruence)