alg-ofnat-add-1
- Kind
- kernel-term
- Status
- checked
Supports: Alg.ofNat (a Nat.rec Definition over R's own add/one/zero, the constant-motive-in-n shape Alg.npow already uses) and Alg.ofNat_add both admit through the trusted kernel gate. ofNat_add is proved by induction on n (the argument Nat.add recurses on): base needs only addZero (symm'd), the step needs a congruence on the IH plus one addAssoc application. Instantiated symbolically (closed over free m, n) at both Int.orderedRing and Rat.orderedRing.
out=$(cargo test -p axeyum-lean-kernel --lib -- ofnat_add_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