Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Every finite set of natural numbers cannot contain all prime numbers #260

Open
thielema opened this issue Nov 22, 2024 · 0 comments
Open

Comments

@thielema
Copy link

Theorem C05_Elementary_Number_Theory.S03_Infinitely_Many_Primes.primes_infinite' claims that any finite set of natural numbers misses at least one prime. However, I'd expected to prove the theorem that any finite set of primes misses at least one other prime. The proof for this theorem is also simpler since we can omit the set s' := s.filter Nat.Prime with s'_def.

I suggest to change the type of the theorem as follows:

-theorem primes_infinite' : ∀ s : Finset Nat, ∃ p, Nat.Prime p ∧ p ∉ s := by
+theorem primes_infinite' : ∀ s : Finset Nat, (∀ q∈s, Nat.Prime q) → ∃ p, Nat.Prime p ∧ p ∉ s := by

I am working with leanprover-community/mathematics_in_lean@45b50b9 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant