Get the declor field from a structdecl-member.
(structdecl-member->declor x) → declor
This is an ordinary field accessor created by fty::defprod.
Function:
(defun structdecl-member->declor$inline (x) (declare (xargs :guard (structdeclp x))) (declare (xargs :guard (equal (structdecl-kind x) :member))) (let ((__function__ 'structdecl-member->declor)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (structdecl-kind x) :member) x))) (structdeclor-list-fix (std::da-nth 2 (cdr x)))) :exec (std::da-nth 2 (cdr x)))))
Theorem:
(defthm structdeclor-listp-of-structdecl-member->declor (b* ((declor (structdecl-member->declor$inline x))) (structdeclor-listp declor)) :rule-classes :rewrite)
Theorem:
(defthm structdecl-member->declor$inline-of-structdecl-fix-x (equal (structdecl-member->declor$inline (structdecl-fix x)) (structdecl-member->declor$inline x)))
Theorem:
(defthm structdecl-member->declor$inline-structdecl-equiv-congruence-on-x (implies (structdecl-equiv x x-equiv) (equal (structdecl-member->declor$inline x) (structdecl-member->declor$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm structdecl-member->declor-when-wrong-kind (implies (not (equal (structdecl-kind x) :member)) (equal (structdecl-member->declor x) (structdeclor-list-fix nil))))