kernel-Nat.prime_eq_one_or_self_of_dvd
- Kind
- kernel-term
- Status
- checked
Supports: ∀ {p : ℕ}, Nat.Prime p → ∀ (m : ℕ), m ∣ p → m = 1 ∨ m = p
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- prime_eq_one_or_self_of_dvd 2>/dev/null | grep -Ec '^Nat\.prime_eq_one_or_self_of_dvd[[:space:]]')" -ge 1 Evidence notes
The divisor clause already inside `prime_condition` (`forall c, c|p -> c=1 or c=p`) applied at `m`, named as its own theorem.