(vl-regularport-immdeps x ans &key (ss 'ss)) → new-ans
Function:
(defun vl-regularport-immdeps-fn (x ans ss) (declare (xargs :guard (and (vl-regularport-p x) (vl-immdeps-p ans) (vl-scopestack-p ss)))) (let ((__function__ 'vl-regularport-immdeps)) (declare (ignorable __function__)) (b* ((x (vl-regularport-fix x)) (ans (vl-immdeps-fix ans)) (ss (vl-scopestack-fix ss))) (b* (((vl-regularport x)) (ctx x)) (vl-maybe-expr-immdeps x.expr ans)))))
Theorem:
(defthm vl-immdeps-p-of-vl-regularport-immdeps (b* ((new-ans (vl-regularport-immdeps-fn x ans ss))) (vl-immdeps-p new-ans)) :rule-classes :rewrite)
Theorem:
(defthm vl-regularport-immdeps-fn-of-vl-regularport-fix-x (equal (vl-regularport-immdeps-fn (vl-regularport-fix x) ans ss) (vl-regularport-immdeps-fn x ans ss)))
Theorem:
(defthm vl-regularport-immdeps-fn-vl-regularport-equiv-congruence-on-x (implies (vl-regularport-equiv x x-equiv) (equal (vl-regularport-immdeps-fn x ans ss) (vl-regularport-immdeps-fn x-equiv ans ss))) :rule-classes :congruence)
Theorem:
(defthm vl-regularport-immdeps-fn-of-vl-immdeps-fix-ans (equal (vl-regularport-immdeps-fn x (vl-immdeps-fix ans) ss) (vl-regularport-immdeps-fn x ans ss)))
Theorem:
(defthm vl-regularport-immdeps-fn-vl-immdeps-equiv-congruence-on-ans (implies (vl-immdeps-equiv ans ans-equiv) (equal (vl-regularport-immdeps-fn x ans ss) (vl-regularport-immdeps-fn x ans-equiv ss))) :rule-classes :congruence)
Theorem:
(defthm vl-regularport-immdeps-fn-of-vl-scopestack-fix-ss (equal (vl-regularport-immdeps-fn x ans (vl-scopestack-fix ss)) (vl-regularport-immdeps-fn x ans ss)))
Theorem:
(defthm vl-regularport-immdeps-fn-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-regularport-immdeps-fn x ans ss) (vl-regularport-immdeps-fn x ans ss-equiv))) :rule-classes :congruence)