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