kernel-Nat.prime_eq_two_or_odd
- Kind
- kernel-term
- Status
- checked
Supports: ∀ {p : ℕ}, Nat.Prime p → p = 2 ∨ Odd p
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- prime_eq_two_or_odd 2>/dev/null | grep -Ec '^Nat\.prime_eq_two_or_odd[[:space:]]')" -ge 1 Evidence notes
`even_or_odd_exists` splits `p` into `Even p or Odd p`; the `Even` branch closes via `prime_even_iff`'s `mp` (`Even p -> p=2`), the `Odd` branch is the goal directly.