(vl-patternkey->subexprs x) → subexprs
Function:
(defun vl-patternkey->subexprs (x) (declare (xargs :guard (vl-patternkey-p x))) (let ((__function__ 'vl-patternkey->subexprs)) (declare (ignorable __function__)) (vl-patternkey-case x :expr (list x.key) :otherwise nil)))
Theorem:
(defthm vl-exprlist-p-of-vl-patternkey->subexprs (b* ((subexprs (vl-patternkey->subexprs x))) (vl-exprlist-p subexprs)) :rule-classes :rewrite)
Theorem:
(defthm vl-exprlist-count-of-vl-patternkey->subexprs (b* ((?subexprs (vl-patternkey->subexprs x))) (<= (vl-exprlist-count subexprs) (vl-patternkey-count x))) :rule-classes :linear)
Theorem:
(defthm vl-patternkey->subexprs-of-vl-patternkey-fix-x (equal (vl-patternkey->subexprs (vl-patternkey-fix x)) (vl-patternkey->subexprs x)))
Theorem:
(defthm vl-patternkey->subexprs-vl-patternkey-equiv-congruence-on-x (implies (vl-patternkey-equiv x x-equiv) (equal (vl-patternkey->subexprs x) (vl-patternkey->subexprs x-equiv))) :rule-classes :congruence)