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