kernel-Nat.dist_pos_of_ne
- Kind
- kernel-term
- Status
- checked
Supports: ∀ {i j : ℕ}, i ≠ j → 0 < i.dist j
test "$(cargo run -q --release -p axeyum-lean-kernel --example nat_theorem_inventory -- dist_pos_of_ne 2>/dev/null | grep -Ec '^Nat\.dist_pos_of_ne[[:space:]]')" -ge 1 Evidence notes
`build_nat_prelude` admits `Nat.dist_pos_of_ne` (`nat_prelude/dist_more2.rs`) through the trusted `Kernel::add_declaration` gate. `nat_theorem_inventory`'s rendered type is `(x0 x1 : AxNat) -> (x2 : Not (Eq x0 x1)) -> AxNat.lt AxNat.zero (AxNat.dist x0 x1)`, matching this fact's `formal.statement` up to variable naming. Anchored with `^Nat\.dist_pos_of_ne[[:space:]]`; `grep -Ec` consumes the pipe so the tested count decides the exit status. Run `--release` -- the debug build of this inventory example SIGABRTs on stack depth (unrelated to this proof).