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