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