Get the sub/data field from a object.
(object->sub/data x) → sub/data
This is an ordinary field accessor created by fty::defprod.
Function:
(defun object->sub/data$inline (x) (declare (xargs :guard (objectp x))) (declare (xargs :guard t)) (let ((__function__ 'object->sub/data)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (object/data-list-fix (cdr (std::da-nth 2 (cdr x))))) :exec (cdr (std::da-nth 2 (cdr x))))))
Theorem:
(defthm object/data-listp-of-object->sub/data (b* ((sub/data (object->sub/data$inline x))) (object/data-listp sub/data)) :rule-classes :rewrite)
Theorem:
(defthm object->sub/data$inline-of-object-fix-x (equal (object->sub/data$inline (object-fix x)) (object->sub/data$inline x)))
Theorem:
(defthm object->sub/data$inline-object-equiv-congruence-on-x (implies (object-equiv x x-equiv) (equal (object->sub/data$inline x) (object->sub/data$inline x-equiv))) :rule-classes :congruence)