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