alg-sub-self-1
- Kind
- kernel-term
- Status
- checked
Supports: Alg.sub (Pi R:Ring, carrier -> carrier -> carrier := fun R a b => R.add a (R.neg b)) and Alg.sub_self (proved by R.negAdd x alone, since Alg.sub R x x unfolds by beta+delta to R.add x (R.neg x)) both admit through the trusted kernel gate. Alg.sub's own specification is confirmed by a symbolic def_eq check against R.add a (R.neg b) at Int.ring (closed over free a b), and Alg.sub_self type-checks symbolically (closed over free x) at both Int.ring and Rat.ring.
out=$(cargo test -p axeyum-lean-kernel --lib -- sub_self_and_mul_neg_one_apply_symbolically_at_int_and_rat_rings --nocapture --test-threads=1 2>&1) && test "$(printf "%s\n" "$out"| grep -cE 'test result: ok\. 1 passed; 0 failed')" -ge 1