If(True, a, b) = a
(self, kernel)
| 276 | assert _try_prove(Implies(Implies(Implies(p, q), p), p)) |
| 277 | |
| 278 | def test_ite_true_branch(self, kernel): |
| 279 | """If(True, a, b) = a""" |
| 280 | a, b = Bool("a"), Bool("b") |
| 281 | assert _try_prove(If(BoolVal(True), a, b) == a) |
| 282 | |
| 283 | def test_ite_false_branch(self, kernel): |
| 284 | """If(False, a, b) = b""" |
nothing calls this directly
no test coverage detected