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