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