Get the content field from a plexeme-block-comment.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun plexeme-block-comment->content$inline (x) (declare (xargs :guard (plexemep x))) (declare (xargs :guard (equal (plexeme-kind x) :block-comment))) (mbe :logic (b* ((x (and (equal (plexeme-kind x) :block-comment) x))) (nat-list-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x))))
Theorem:
(defthm nat-listp-of-plexeme-block-comment->content (b* ((content (plexeme-block-comment->content$inline x))) (nat-listp content)) :rule-classes :rewrite)
Theorem:
(defthm plexeme-block-comment->content$inline-of-plexeme-fix-x (equal (plexeme-block-comment->content$inline (plexeme-fix x)) (plexeme-block-comment->content$inline x)))
Theorem:
(defthm plexeme-block-comment->content$inline-plexeme-equiv-congruence-on-x (implies (plexeme-equiv x x-equiv) (equal (plexeme-block-comment->content$inline x) (plexeme-block-comment->content$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm plexeme-block-comment->content-when-wrong-kind (implies (not (equal (plexeme-kind x) :block-comment)) (equal (plexeme-block-comment->content x) (nat-list-fix nil))))