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