(vl-maybe-dimension-size x) → (mv unresolved-flg size)
Function:
(defun vl-maybe-dimension-size (x) (declare (xargs :guard (vl-maybe-dimension-p x))) (let ((__function__ 'vl-maybe-dimension-size)) (declare (ignorable __function__)) (if x (vl-dimension-size x) (mv nil nil))))
Theorem:
(defthm maybe-posp-of-vl-maybe-dimension-size.size (b* (((mv ?unresolved-flg ?size) (vl-maybe-dimension-size x))) (maybe-posp size)) :rule-classes :type-prescription)
Theorem:
(defthm vl-maybe-dimension-size-of-vl-maybe-dimension-fix-x (equal (vl-maybe-dimension-size (vl-maybe-dimension-fix x)) (vl-maybe-dimension-size x)))
Theorem:
(defthm vl-maybe-dimension-size-vl-maybe-dimension-equiv-congruence-on-x (implies (vl-maybe-dimension-equiv x x-equiv) (equal (vl-maybe-dimension-size x) (vl-maybe-dimension-size x-equiv))) :rule-classes :congruence)