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