lean_workbook_plus_24343
ProvedGiven a set A of finitely many primes. Prove that there are only finitely many such that any prime dividing or belongs to A.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_24343 (A : Finset ℕ) (hA : ∀ a ∈ A, a.Prime) : {n : ℕ | ∀ p : ℕ, p ∣ n ∨ p ∣ n + 1 → p ∈ A}.Finite := by sorrySource