kernel-rat-add-neg-inverse
- Kind
- kernel-term
- Status
- checked
Supports: 1/6 + 1/3 is 1/2 and is not 1/3; neg is an involution on 1/2 and does move it; 1/2 + (-1/2) is 0.
test "$(cargo test -p axeyum-lean-kernel --lib rat_add_renormalises_and_neg_is_an_involution 2>&1 | grep -Ec '^test result: ok\. 1 passed')" -ge 1 Evidence notes
Bound to this test by name, with `1 passed` required so an empty filter cannot pass. The `1/2 + (-1/2) = 0` case is the one that matters most: it is the only check here that drives a genuinely NEGATIVE numerator through Rat.normalize's negSucc branch, which the ofNat-only cases never reach.