Substitute into a vl-delaycontrol-p.
(vl-delaycontrol-subst x sigma) → new-x
Function:
(defun vl-delaycontrol-subst (x sigma) (declare (xargs :guard (and (vl-delaycontrol-p x) (vl-sigma-p sigma)))) (declare (ignorable x sigma)) (let ((__function__ 'vl-delaycontrol-subst)) (declare (ignorable __function__)) (change-vl-delaycontrol x :value (vl-expr-subst (vl-delaycontrol->value x) sigma))))
Theorem:
(defthm vl-delaycontrol-p-of-vl-delaycontrol-subst (b* ((new-x (vl-delaycontrol-subst x sigma))) (vl-delaycontrol-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-delaycontrol-subst-of-vl-delaycontrol-fix-x (equal (vl-delaycontrol-subst (vl-delaycontrol-fix x) sigma) (vl-delaycontrol-subst x sigma)))
Theorem:
(defthm vl-delaycontrol-subst-vl-delaycontrol-equiv-congruence-on-x (implies (vl-delaycontrol-equiv x x-equiv) (equal (vl-delaycontrol-subst x sigma) (vl-delaycontrol-subst x-equiv sigma))) :rule-classes :congruence)
Theorem:
(defthm vl-delaycontrol-subst-of-vl-sigma-fix-sigma (equal (vl-delaycontrol-subst x (vl-sigma-fix sigma)) (vl-delaycontrol-subst x sigma)))
Theorem:
(defthm vl-delaycontrol-subst-vl-sigma-equiv-congruence-on-sigma (implies (vl-sigma-equiv sigma sigma-equiv) (equal (vl-delaycontrol-subst x sigma) (vl-delaycontrol-subst x sigma-equiv))) :rule-classes :congruence)