kernel-Nat.prime_eq_two_or_mod_two_eq_one
- Kind
- kernel-term
- Status
- checked
Supports: ∀ {p : ℕ}, Nat.Prime p → p = 2 ∨ p % 2 = 1
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- prime_eq_two_or_mod_two_eq_one 2>/dev/null | grep -Ec '^Nat\.prime_eq_two_or_mod_two_eq_one[[:space:]]')" -ge 1 Evidence notes
The same `even_or_odd_exists` split as `prime_eq_two_or_odd`, with the `Odd` branch closed by `odd_iff_mod_two_eq_one` instead of returned directly.