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