alg-ofnat-le-ofnat-of-le-1
- Kind
- kernel-term
- Status
- checked
Supports: Alg.ofNat_le_ofNat_of_le admits through the trusted kernel gate. Proved by induction on the Nat.le DERIVATION (Nat.le.rec, m fixed as the recursor's parameter, the same shape nat_prelude/order.rs's le_trans uses), NOT by induction on n directly. The zero<=one hypothesis is explicit and load-bearing: it is NOT derivable from OrderedRing's five order laws alone (they say nothing about the ring unit's sign), so the theorem is stated conditionally rather than assumed to hold at every OrderedRing. Instantiated symbolically (closed over free m, n, and the Nat.le witness) at both Int.orderedRing and Rat.orderedRing, with zero<=one supplied at each from le_of_lt applied to the carrier's own zero_lt_one.
out=$(cargo test -p axeyum-lean-kernel --lib -- ofnat_le_ofnat_of_le_symbolic_at_int_and_rat --nocapture --test-threads=1 2>&1) && test "$(printf "%s\n" "$out"| grep -cE 'test result: ok\. 1 passed; 0 failed')" -ge 1