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