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