Get the declor? field from a struct-declor.
(struct-declor->declor? x) → declor?
This is an ordinary field accessor created by fty::defprod.
Function:
(defun struct-declor->declor?$inline (x) (declare (xargs :guard (struct-declorp x))) (declare (xargs :guard t)) (mbe :logic (b* ((x (and t x))) (declor-option-fix (car x))) :exec (car x)))
Theorem:
(defthm declor-optionp-of-struct-declor->declor? (b* ((declor? (struct-declor->declor?$inline x))) (declor-optionp declor?)) :rule-classes :rewrite)
Theorem:
(defthm struct-declor->declor?$inline-of-struct-declor-fix-x (equal (struct-declor->declor?$inline (struct-declor-fix x)) (struct-declor->declor?$inline x)))
Theorem:
(defthm struct-declor->declor?$inline-struct-declor-equiv-congruence-on-x (implies (struct-declor-equiv x x-equiv) (equal (struct-declor->declor?$inline x) (struct-declor->declor?$inline x-equiv))) :rule-classes :congruence)