(x: Annotated[int, Gt(0)], y: Annotated[int, Gt(0)])
| 55 | |
| 56 | |
| 57 | def bounded_sum(x: Annotated[int, Gt(0)], y: Annotated[int, Gt(0)]): |
| 58 | s = x + y |
| 59 | assert_refined(s, Gt(1)) # x > 0 ∧ y > 0 → x + y > 1 ✓ |
| 60 | assert_refined(s, Ge(2)) # x > 0 ∧ y > 0 → x + y >= 2 ✓ |
| 61 | |
| 62 | |
| 63 | assert verify(bounded_sum) |
nothing calls this directly
no test coverage detected