Signed division by 1: SDiv(x, 1) == x.
(self, kernel)
| 720 | assert prove(claim) |
| 721 | |
| 722 | def test_sdiv_by_one(self, kernel): |
| 723 | """Signed division by 1: SDiv(x, 1) == x.""" |
| 724 | x = BitVec("x", 8) |
| 725 | claim = ForAll([x], SDiv(x, 1) == x) |
| 726 | assert prove(claim) |
| 727 | |
| 728 | def test_concat_extract_roundtrip(self, kernel): |
| 729 | """Extract(7,4, Concat(a,b)) == a for 4-bit a, b.""" |