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