kernel-Nat.add_sub_cancel_left
- Kind
- kernel-term
- Status
- checked
Supports: For all natural numbers m and n, (m + n) - m = n. This is the sense in which subtraction is the inverse operation of addition, stated so that it holds unconditionally for the truncated natural subtraction.
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- add_sub_cancel_left 2>/dev/null | grep -Ec '^Nat\.add_sub_cancel_left[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits this theorem through the trusted `Kernel::add_declaration` gate, which re-checks the proof term against the stated type, so producing the row at all is a machine-checked proof. TIGHTENED 2026-08-16: the command was `cargo test -p axeyum-lean-kernel --lib nat_prelude`, a whole-suite run that passes or fails identically for every fact citing it and would stay green if THIS theorem were deleted. It now names its own subject twice over -- `nat_theorem_inventory` exits non-zero for a name that does not exist, and the `grep -q` requires the admitted declaration to be printed.