Get the reps field from a vl-multiconcat.
This is an ordinary field accessor created by defprod.
Function:
(defun vl-multiconcat->reps$inline (x) (declare (xargs :guard (vl-expr-p x))) (declare (xargs :guard (equal (vl-expr-kind x) :vl-multiconcat))) (let ((__function__ 'vl-multiconcat->reps)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (vl-expr-kind x) :vl-multiconcat) x))) (vl-expr-fix (std::prod-car (cdr x)))) :exec (std::prod-car (cdr x)))))
Theorem:
(defthm vl-expr-p-of-vl-multiconcat->reps (b* ((reps (vl-multiconcat->reps$inline x))) (vl-expr-p reps)) :rule-classes :rewrite)
Theorem:
(defthm vl-multiconcat->reps$inline-of-vl-expr-fix-x (equal (vl-multiconcat->reps$inline (vl-expr-fix x)) (vl-multiconcat->reps$inline x)))
Theorem:
(defthm vl-multiconcat->reps$inline-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-multiconcat->reps$inline x) (vl-multiconcat->reps$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm vl-multiconcat->reps-when-wrong-kind (implies (not (equal (vl-expr-kind x) :vl-multiconcat)) (equal (vl-multiconcat->reps x) (vl-expr-fix nil))))