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