Get the pack field from a vl-echar-raw.
(vl-echar-raw->pack x) → pack
This is an ordinary field accessor created by defprod.
Function:
(defun vl-echar-raw->pack$inline (x) (declare (xargs :guard (vl-echar-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-echar-raw->pack)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-echarpack-fix (std::prod-cdr x))) :exec (std::prod-cdr x))))
Theorem:
(defthm vl-echarpack-p-of-vl-echar-raw->pack (b* ((pack (vl-echar-raw->pack$inline x))) (vl-echarpack-p pack)) :rule-classes :rewrite)
Theorem:
(defthm vl-echar-raw->pack$inline-of-vl-echar-fix-x (equal (vl-echar-raw->pack$inline (vl-echar-fix x)) (vl-echar-raw->pack$inline x)))
Theorem:
(defthm vl-echar-raw->pack$inline-vl-echar-raw-equiv-congruence-on-x (implies (vl-echar-raw-equiv x x-equiv) (equal (vl-echar-raw->pack$inline x) (vl-echar-raw->pack$inline x-equiv))) :rule-classes :congruence)