Get the get field from a objdesign-alloc.
(objdesign-alloc->get x) → get
This is an ordinary field accessor created by fty::defprod.
Function:
(defun objdesign-alloc->get$inline (x) (declare (xargs :guard (objdesignp x))) (declare (xargs :guard (equal (objdesign-kind x) :alloc))) (let ((__function__ 'objdesign-alloc->get)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (objdesign-kind x) :alloc) x))) (address-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm addressp-of-objdesign-alloc->get (b* ((get (objdesign-alloc->get$inline x))) (addressp get)) :rule-classes :rewrite)
Theorem:
(defthm objdesign-alloc->get$inline-of-objdesign-fix-x (equal (objdesign-alloc->get$inline (objdesign-fix x)) (objdesign-alloc->get$inline x)))
Theorem:
(defthm objdesign-alloc->get$inline-objdesign-equiv-congruence-on-x (implies (objdesign-equiv x x-equiv) (equal (objdesign-alloc->get$inline x) (objdesign-alloc->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm objdesign-alloc->get-when-wrong-kind (implies (not (equal (objdesign-kind x) :alloc)) (equal (objdesign-alloc->get x) (address-fix nil))))