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