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