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