x - x == 0.
(self, kernel)
| 701 | assert prove(claim) |
| 702 | |
| 703 | def test_bv_sub_self(self, kernel): |
| 704 | """x - x == 0.""" |
| 705 | x = BitVec("x", 8) |
| 706 | claim = ForAll([x], x - x == BitVecVal(0, 8)) |
| 707 | assert prove(claim) |
| 708 | |
| 709 | def test_shift_left_right(self, kernel): |
| 710 | """(x << 2) >> 2 masks top bits (logical shift).""" |