kernel-Nat.primeCounting'_mono
- Kind
- kernel-term
- Status
- checked
Supports: pi'(m) <= pi'(n) whenever m <= n
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- 'Nat.primeCounting'_mono' 2>/dev/null | grep -xFc 'Nat.primeCounting'_mono 3 ((x0 : AxNat) -> ((x1 : AxNat) -> ((x2 : AxNat.le x0 x1) -> AxNat.le (AxNat.primeCounting' x0) (AxNat.primeCounting' x1))))')" -ge 1 Evidence notes
`Nat.primeCounting' n` is `Nat.count Nat.isPrime n`, and `Nat.count` is definitionally `Nat.countRange`; both are `Regular` definitions with strictly decreasing delta heights (14 -> 13 -> 12), so the kernel accepts `Nat.countRange_le_of_le` at the predicate `Nat.isPrime` against this stated type by delta alone. The checker matches the FULL RENDERED TYPE rather than the name: a name-only checker is satisfied by a weakened statement, and here the weakening that matters is swapping `primeCounting'` for `primeCounting`, which is a DIFFERENT function (exclusive vs inclusive) with the same monotonicity proof.