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