x + 0 == x.
(self, kernel)
| 695 | assert prove(claim) |
| 696 | |
| 697 | def test_bv_add_zero(self, kernel): |
| 698 | """x + 0 == x.""" |
| 699 | x = BitVec("x", 8) |
| 700 | claim = ForAll([x], x + BitVecVal(0, 8) == x) |
| 701 | assert prove(claim) |
| 702 | |
| 703 | def test_bv_sub_self(self, kernel): |
| 704 | """x - x == 0.""" |