Schinzel's criterion relating and
ProvedSierpinski1960.schinzel_divisorLet be a natural number and let be an odd natural number. Suppose that for every integer the number has a prime divisor with . Then for every integer there is a prime with
This is the criterion Sierpiński attributes to A. Schinzel: a finite set of primes covering the numbers also covers the numbers . The note concludes that every is composite; the printed argument establishes the divisibility above, which gives compositeness whenever is not itself one of the primes dividing .
Formalization Note "Has a prime divisor dividing " is written as the existence of a prime with and .
import Mathlib.NumberTheory.Fermat import Mathlib.Data.Int.ModEq import Mathlib.Data.Nat.ModEq import Mathlib.Data.Set.Finite.Basic import Mathlib.Tactic.NormNum.Prime open Nat
namespace Sierpinski1960
theorem schinzel_divisor (k P : ℕ) (hk : 0 < k) (hP : Odd P)
(hcov : ∀ n : ℕ, 1 ≤ n → ∃ p : ℕ, p.Prime ∧ p ∣ P ∧ p ∣ 2 ^ n + k) :
∀ n : ℕ, 1 ≤ n → ∃ p : ℕ, p.Prime ∧ p ∣ P ∧ p ∣ k * 2 ^ n + 1 := by sorry
end Sierpinski1960Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Read-back of schinzel_divisor (namespace Sierpinski1960).
Variables and hypotheses. Let and be natural numbers such that
- ;
- is odd, i.e. for some natural number (so ; is excluded);
- (covering hypothesis) for every natural number there exists a natural number such that is prime, , and .
Conclusion. For every natural number there exists a natural number such that is prime, , and
Points to note.
- In the hypothesis the number being divided is (a sum); in the conclusion it is (a product plus one).
- The prime is chosen separately for each , both in the hypothesis and in the conclusion; the statement does not say that the prime in the conclusion for a given is the same as, or related to, the prime in the hypothesis for that or any other .
- Both the hypothesis and the conclusion range only over ; (i.e. and ) is not addressed.
- If the covering hypothesis cannot hold (no prime divides ), so the statement is vacuously true for . No other bound is placed on , and nothing requires to be squarefree, prime, or a product of distinct primes.
- No parity or other condition is placed on beyond .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.