Get the get field from a value.
(value->get x) → get
This is an ordinary field accessor created by fty::defprod.
Function:
(defun value->get$inline (x) (declare (xargs :guard (valuep x))) (declare (xargs :guard t)) (let ((__function__ 'value->get)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::ubyte256-fix (cdr (std::da-nth 0 (cdr x))))) :exec (cdr (std::da-nth 0 (cdr x))))))
Theorem:
(defthm ubyte256p-of-value->get (b* ((get (value->get$inline x))) (acl2::ubyte256p get)) :rule-classes :rewrite)
Theorem:
(defthm value->get$inline-of-value-fix-x (equal (value->get$inline (value-fix x)) (value->get$inline x)))
Theorem:
(defthm value->get$inline-value-equiv-congruence-on-x (implies (value-equiv x x-equiv) (equal (value->get$inline x) (value->get$inline x-equiv))) :rule-classes :congruence)