Unary plus
(float-plus operand) → result
Function:
(defun float-plus (operand) (declare (xargs :guard (float-valuep operand))) (b* ((x (float-value->float operand))) (float-value (float-plus-abs x))))
Theorem:
(defthm float-valuep-of-float-plus (b* ((result (float-plus operand))) (float-valuep result)) :rule-classes :rewrite)
Theorem:
(defthm float-plus-of-float-value-fix-operand (equal (float-plus (float-value-fix operand)) (float-plus operand)))
Theorem:
(defthm float-plus-float-value-equiv-congruence-on-operand (implies (float-value-equiv operand operand-equiv) (equal (float-plus operand) (float-plus operand-equiv))) :rule-classes :congruence)