(svex-alist-rewrite-fixpoint x &key (count '4) (verbosep 'nil)) → xx
Function:
(defun svex-alist-rewrite-fixpoint-fn (x count verbosep) (declare (xargs :guard (and (svex-alist-p x) (natp count)))) (let ((__function__ 'svex-alist-rewrite-fixpoint)) (declare (ignorable __function__)) (pairlis$ (svex-alist-keys x) (svexlist-rewrite-fixpoint (svex-alist-vals x) :count count :verbosep verbosep))))
Theorem:
(defthm svex-alist-p-of-svex-alist-rewrite-fixpoint (b* ((xx (svex-alist-rewrite-fixpoint-fn x count verbosep))) (svex-alist-p xx)) :rule-classes :rewrite)
Theorem:
(defthm svex-alist-rewrite-fixpoint-fn-of-svex-alist-fix-x (equal (svex-alist-rewrite-fixpoint-fn (svex-alist-fix x) count verbosep) (svex-alist-rewrite-fixpoint-fn x count verbosep)))
Theorem:
(defthm svex-alist-rewrite-fixpoint-fn-svex-alist-equiv-congruence-on-x (implies (svex-alist-equiv x x-equiv) (equal (svex-alist-rewrite-fixpoint-fn x count verbosep) (svex-alist-rewrite-fixpoint-fn x-equiv count verbosep))) :rule-classes :congruence)
Theorem:
(defthm svex-alist-rewrite-fixpoint-fn-of-nfix-count (equal (svex-alist-rewrite-fixpoint-fn x (nfix count) verbosep) (svex-alist-rewrite-fixpoint-fn x count verbosep)))
Theorem:
(defthm svex-alist-rewrite-fixpoint-fn-nat-equiv-congruence-on-count (implies (nat-equiv count count-equiv) (equal (svex-alist-rewrite-fixpoint-fn x count verbosep) (svex-alist-rewrite-fixpoint-fn x count-equiv verbosep))) :rule-classes :congruence)
Theorem:
(defthm svex-alist-rewrite-fixpoint-correct (equal (svex-alist-eval (svex-alist-rewrite-fixpoint x :count count :verbosep verbosep) env) (svex-alist-eval x env)))
Theorem:
(defthm len-of-svex-alist-rewrite-fixpoint (equal (len (svex-alist-rewrite-fixpoint x :count count :verbosep verbosep)) (len (svex-alist-fix x))))
Theorem:
(defthm vars-of-svex-alist-rewrite-fixpoint (implies (not (member v (svex-alist-vars x))) (not (member v (svex-alist-vars (svex-alist-rewrite-fixpoint x :count count :verbosep verbosep))))))
Theorem:
(defthm keys-of-svex-alist-rewrite-fixpoint (iff (svex-lookup v (svex-alist-rewrite-fixpoint x :count count :verbosep verbosep)) (svex-lookup v x)))
Theorem:
(defthm svex-alist-keys-of-svex-alist-rewrite-fixpoint (b* ((?xx (svex-alist-rewrite-fixpoint-fn x count verbosep))) (equal (svex-alist-keys xx) (svex-alist-keys x))))