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