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