kernel-Int.sq_nonneg
- Kind
- kernel-term
- Status
- checked
Supports: For every integer a, 0 <= a * a.
cargo test -p axeyum-lean-kernel --lib int_prelude Evidence notes
`build_int_prelude` admits this theorem through the trusted `Kernel::add_declaration` gate, which re-checks the proof term against the stated type, so a green run of the command is a machine-checked proof. Measured 2026-08-15: 12 tests pass -- a NONZERO count, so the filter is not inert. The unconditional form matters and is not `Int.mul_nonneg` specialised: `mul_nonneg` needs both factors nonnegative and says nothing about a negative a.