rationals-are-a-field-statement
- Kind
- kernel-term
- Status
- checked
Supports: Rat.mul_inv_cancel and Rat.inv_pos are checked Theorems whose RENDERED types are the ones claimed, with empty axiom footprints.
out=$(cargo test -q -p axeyum-lean-kernel --lib the_rationals_are_a_field_and_the_inverse_is_positive 2>&1) && test "$(printf '%s\n' "$out" | grep -cE '^test result: ok\. 1 passed; 0 failed')" = 1 Evidence notes
Anchored on a NONZERO test count on the same line as the pass, because a filter that matches nothing prints 'ok. 0 passed' and exits 0 -- this repository's standing inert-gate trap. The test asserts the rendered type verbatim rather than the footprint: an empty footprint on a theorem named mul_inv_cancel that says something weaker would pass a footprint check and fail this one.