Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions LeanBlockCourse26/P06_Mathlib/S01_PrimeTheorem.lean
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,21 @@ theorem infinitude_of_primes_tfae {ℵ₀} : [
tfae_have 3 → 4 := by sorry -- Alexandra

tfae_have 5 → 4 := by sorry -- Sammy

tfae_have 6 → 3 := by sorry -- Anna

tfae_have 6 → 3 := by
intro h
rcases h with ⟨P, hP_inj, hP_prime⟩
intro S
-- die Menge des Bilds von der inj. Fkt P ist unendlich
have hR : (Set.range P).Infinite := Set.infinite_range_of_injective hP_inj
-- ∃ p ∈ ℕ , p ∈ hR ∧ p ∉ S , weil S endl. hR unendlich
obtain ⟨p, hpR, hpS⟩ := Set.Infinite.exists_notMem_finset hR S
-- p ∈ hR -> ∃ k ∈ ℕ , p = P k
rcases hpR with ⟨k, rfl⟩
-- p = P k ist eine Primzahl
have g : Nat.Prime (P k) := hP_prime k
use (P k)


tfae_have 6 → 1 := by sorry -- Alexander

Expand Down
Loading