Returns true if all sized dimensions are resolved.
(vl-dimensionlist-resolved-p x) → *
Function:
(defun vl-dimensionlist-resolved-p (x) (declare (xargs :guard (vl-dimensionlist-p x))) (let ((__function__ 'vl-dimensionlist-resolved-p)) (declare (ignorable __function__)) (b* (((when (atom x)) t) ((mv unresolved ?size) (vl-dimension-size (car x)))) (and (not unresolved) (vl-dimensionlist-resolved-p (cdr x))))))
Theorem:
(defthm vl-dimensionlist-resolved-p-when-atom (implies (atom x) (vl-dimensionlist-resolved-p x)))
Theorem:
(defthm vl-dimensionlist-resolved-p-of-cons (equal (vl-dimensionlist-resolved-p (cons a x)) (and (b* (((mv unresolved ?size) (vl-dimension-size a))) (not unresolved)) (vl-dimensionlist-resolved-p x))))
Theorem:
(defthm vl-dimensionlist-resolved-p-of-cdr (implies (vl-dimensionlist-resolved-p x) (vl-dimensionlist-resolved-p (cdr x))))
Theorem:
(defthm vl-dimensionlist-resolved-p-of-append (equal (vl-dimensionlist-resolved-p (append x y)) (and (vl-dimensionlist-resolved-p x) (vl-dimensionlist-resolved-p y))))
Theorem:
(defthm vl-dimensionlist-resolved-p-of-vl-dimensionlist-fix-x (equal (vl-dimensionlist-resolved-p (vl-dimensionlist-fix x)) (vl-dimensionlist-resolved-p x)))
Theorem:
(defthm vl-dimensionlist-resolved-p-vl-dimensionlist-equiv-congruence-on-x (implies (vl-dimensionlist-equiv x x-equiv) (equal (vl-dimensionlist-resolved-p x) (vl-dimensionlist-resolved-p x-equiv))) :rule-classes :congruence)