(module-vars x) → vars
Function:
(defun module-vars (x) (declare (xargs :guard (module-p x))) (let ((__function__ 'module-vars)) (declare (ignorable __function__)) (b* (((module x))) (append (assigns-vars x.assigns) (constraintlist-vars x.constraints) (assigns-vars x.fixups) (lhspairs-vars x.aliaspairs)))))
Theorem:
(defthm svarlist-p-of-module-vars (b* ((vars (module-vars x))) (svarlist-p vars)) :rule-classes :rewrite)
Theorem:
(defthm vars-of-module->assigns (implies (not (member v (module-vars x))) (not (member v (assigns-vars (module->assigns x))))))
Theorem:
(defthm vars-of-module->constraints (implies (not (member v (module-vars x))) (not (member v (constraintlist-vars (module->constraints x))))))
Theorem:
(defthm vars-of-module->fixups (implies (not (member v (module-vars x))) (not (member v (assigns-vars (module->fixups x))))))
Theorem:
(defthm vars-of-module->aliaspairs (implies (not (member v (module-vars x))) (not (member v (lhspairs-vars (module->aliaspairs x))))))
Theorem:
(defthm vars-of-module (implies (and (not (member v (lhspairs-vars aliases))) (not (member v (assigns-vars assigns))) (not (member v (constraintlist-vars constraints))) (not (member v (assigns-vars fixups)))) (not (member v (module-vars (module wires insts assigns fixups constraints aliases))))))
Theorem:
(defthm module-vars-of-module-fix-x (equal (module-vars (module-fix x)) (module-vars x)))
Theorem:
(defthm module-vars-module-equiv-congruence-on-x (implies (module-equiv x x-equiv) (equal (module-vars x) (module-vars x-equiv))) :rule-classes :congruence)