(vl-genblob-generate-count x) → count
Theorem:
(defthm vl-genblob-generate-count-greater-than-genblock-elems (b* ((common-lisp::?count (vl-genblob-generate-count x))) (implies (equal (vl-genelement-kind x) :vl-genblock) (< (vl-genblob-elementlist-count (vl-genblock->elems x)) count))) :rule-classes :linear)
Theorem:
(defthm vl-genblob-generate-count-greater-than-genblockarray-blocks (b* ((common-lisp::?count (vl-genblob-generate-count x))) (implies (equal (vl-genelement-kind x) :vl-genarray) (< (vl-genblob-genarrayblocklist-count (vl-genarray->blocks x)) count))) :rule-classes :linear)
Theorem:
(defthm vl-genblob-generate-count-greater-than-genif-blocks (b* ((common-lisp::?count (vl-genblob-generate-count x))) (implies (equal (vl-genelement-kind x) :vl-genif) (< (+ (vl-genblob-generate-count (vl-genif->then x)) (vl-genblob-generate-count (vl-genif->else x))) count))) :rule-classes :linear)
Theorem:
(defthm vl-genblob-generate-count-greater-than-gencase-blocks (b* ((common-lisp::?count (vl-genblob-generate-count x))) (implies (equal (vl-genelement-kind x) :vl-gencase) (< (+ (vl-genblob-generate-count (vl-gencase->default x)) (vl-genblob-gencaselist-count (vl-gencase->cases x))) count))) :rule-classes :linear)
Theorem:
(defthm vl-genblob-generate-count-greater-than-genloop-blocks (b* ((common-lisp::?count (vl-genblob-generate-count x))) (implies (equal (vl-genelement-kind x) :vl-genloop) (< (vl-genblob-generate-count (vl-genloop->body x)) count))) :rule-classes :linear)
Theorem:
(defthm vl-genblob-generate-count-greater-than-genbase-item (b* ((common-lisp::?count (vl-genblob-generate-count x))) (implies (equal (vl-genelement-kind x) :vl-genbase) (< (vl-genblob-elementlist-count (list x)) count))) :rule-classes :linear)