Get the body field from a type-definition.
(type-definition->body x) → body
This is an ordinary field accessor created by fty::defprod.
Function:
(defun type-definition->body$inline (x) (declare (xargs :guard (type-definitionp x))) (declare (xargs :guard t)) (let ((__function__ 'type-definition->body)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (type-definer-fix (cdr (std::da-nth 1 x)))) :exec (cdr (std::da-nth 1 x)))))
Theorem:
(defthm type-definerp-of-type-definition->body (b* ((body (type-definition->body$inline x))) (type-definerp body)) :rule-classes :rewrite)
Theorem:
(defthm type-definition->body$inline-of-type-definition-fix-x (equal (type-definition->body$inline (type-definition-fix x)) (type-definition->body$inline x)))
Theorem:
(defthm type-definition->body$inline-type-definition-equiv-congruence-on-x (implies (type-definition-equiv x x-equiv) (equal (type-definition->body$inline x) (type-definition->body$inline x-equiv))) :rule-classes :congruence)