{
  "id": "7881",
  "ident": "NS.07881",
  "slug": "wikipedia-ellipticdivisibilitysequence",
  "title": "Prime values and primitive divisors in elliptic divisibility sequences",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Einsiedler–Everest–Ward Conjecture (2001): every non-periodic (`∀ n ≠ 0, W n ≠ 0`) normalized\nnonsingular elliptic divisibility sequence takes prime values $|W_n|$ at finitely many indices\n$n \\ge 1$. (Einsiedler–Everest–Ward, eq. (10), p. 5 also study sequences obtained by dividing out\nbad-reduction factors, which need not satisfy the elliptic divisibility recurrence.)",
  "subjects": [
    "math.NT",
    "math.AG",
    "msc:11",
    "msc:14"
  ],
  "tags": [],
  "collection": "wikipedia",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "EllipticDivisibilitySequence.einsiedler_everest_ward_finite_primes",
  "statement_lean": "theorem einsiedler_everest_ward_finite_primes :\n    ∀ W : ℤ → ℤ,\n      IsNonsingularEDS W →\n      (∀ n : ℤ, n ≠ 0 → W n ≠ 0) →\n      {n : ℕ | 1 ≤ n ∧ (W n).natAbs.Prime}.Finite",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Prime values and primitive divisors in elliptic divisibility sequences\n\nMorgan Ward (1948) studied integer divisibility sequences $(W_n)_{n \\in \\mathbb{Z}}$ satisfying\nthe elliptic recurrence $W_{m+n} W_{m-n} W_1^2 = W_{m+1} W_{m-1} W_n^2 - W_{n+1} W_{n-1} W_m^2$.\nA normalized sequence ($W_1 = 1$) is *nonsingular* when its discriminant is nonzero—equivalently,\nby Ward's representation theorem, when $(W_n)$ evaluates the division polynomials $\\psi_n(x, y)$\nat a rational point on an elliptic curve $E / \\mathbb{Q}$ ($\\Delta_E \\ne 0$). In Ward's and\nEinsiedler–Everest–Ward's (§2) terminology, an elliptic divisibility sequence is *proper* when\n$W_0 = 0$, $W_1 = 1$, and $W_2 W_3 \\ne 0$; for a normalized nonsingular sequence, non-periodicity\n($W_n \\ne 0$ for all $n \\ne 0$, corresponding to a non-torsion rational point) automatically\nensures properness and positive quadratic logarithmic growth. Joseph H. Silverman (1988) proved\nthat all sufficiently large terms of a non-periodic nonsingular sequence admit primitive prime\ndivisors, while Manfred Einsiedler, Graham Everest, and Thomas Ward (2001) conjectured that\n$|W_n|$ is prime for only finitely many indices $n \\ge 1$.\n\n*References:*\n- [Wikipedia](https://en.wikipedia.org/wiki/Elliptic_divisibility_sequence)\n- M. Ward, *Memoir on elliptic divisibility sequences*, Amer. J. Math. **70** (1948), 31–74.\n- J. H. Silverman, *Wieferich's criterion and the $abc$-conjecture*, J. Number Theory **30**\n  (1988), no. 2, 226–237.\n- M. Einsiedler, G. Everest, and T. Ward, *Primes in elliptic divisibility sequences*, LMS J.\n  Comput. Math. **4** (2001), 1–13.\n-/\n\n@[expose] public section\n\nnamespace EllipticDivisibilitySequence\n\n/-- `W : ℤ → ℤ` is a normalized nonsingular elliptic divisibility sequence: it satisfies\n`IsEllipticDvdSequence W` with `W 1 = 1` and evaluates the division polynomials `E.ψ n` at an\naffine rational point on a nonsingular curve `E : WeierstrassCurve ℚ` (`E.Δ ≠ 0`). -/\ndef IsNonsingularEDS (W : ℤ → ℤ) : Prop :=\n  IsEllipticDvdSequence W ∧\n  W 1 = 1 ∧\n  ∃ (E : WeierstrassCurve ℚ) (x y : ℚ),\n    E.Δ ≠ 0 ∧ E.toAffine.Equation x y ∧\n    ∀ n : ℤ, (W n : ℚ) = (E.ψ n).evalEval x y\n\n/-- Zero sequence fails the normalization condition `W 1 = 1` in `IsNonsingularEDS`. -/\n@[category test, AMS 11 14]\ntheorem not_isNonsingularEDS_zero : ¬ IsNonsingularEDS 0 := by\n  rintro ⟨_, h1, _⟩\n  exact zero_ne_one h1\n\n/-- On Cremona's curve `37a1` ($Y^2 + Y = X^3 - X$), the discriminant is `37 ≠ 0` and `(0, 0)` is\nan affine rational point whose division-polynomial evaluations begin $\\psi_1 = 1$, $\\psi_2 = 1$,\n$\\psi_3 = -1$, $\\psi_4 = 1$, and $\\psi_5 = 2$ (`OEIS A006769`). -/\n@[category test, AMS 11 14]\ntheorem cremona37a1_discriminant_and_point :\n    let E : WeierstrassCurve ℚ := ⟨0, 0, 1, -1, 0⟩\n    E.Δ = 37 ∧ E.toAffine.Equation 0 0 ∧\n      (E.ψ 1).evalEval 0 0 = 1 ∧ (E.ψ 2).evalEval 0 0 = 1 ∧\n      (E.ψ 3).evalEval 0 0 = -1 ∧ (E.ψ 4).evalEval 0 0 = 1 ∧\n      (E.ψ 5).evalEval 0 0 = 2 := by\n  dsimp only\n  refine ⟨?_, ?_, ?_, ?_, ?_, ?_, ?_⟩\n  · norm_num [WeierstrassCurve.Δ, WeierstrassCurve.b₂, WeierstrassCurve.b₄,\n      WeierstrassCurve.b₆, WeierstrassCurve.b₈]\n  · simp [WeierstrassCurve.Affine.equation_iff]\n  · simp\n  · norm_num [WeierstrassCurve.ψ, WeierstrassCurve.ψ₂, WeierstrassCurve.Affine.polynomialY]\n  · simp [WeierstrassCurve.ψ_three, Polynomial.evalEval_C, WeierstrassCurve.Ψ₃,\n      WeierstrassCurve.b₂, WeierstrassCurve.b₄, WeierstrassCurve.b₆, WeierstrassCurve.b₈]\n  · norm_num [WeierstrassCurve.ψ_four, Polynomial.evalEval_C, WeierstrassCurve.ψ₂,\n      WeierstrassCurve.preΨ₄, WeierstrassCurve.Affine.polynomialY, WeierstrassCurve.b₂,\n      WeierstrassCurve.b₄, WeierstrassCurve.b₆, WeierstrassCurve.b₈]\n  · have h5 : (5 : ℤ) = 2 * 2 + 1 := by norm_num\n    rw [h5, WeierstrassCurve.ψ_odd]\n    norm_num [WeierstrassCurve.ψ_four, WeierstrassCurve.ψ_three, WeierstrassCurve.ψ_two,\n      WeierstrassCurve.ψ_one, Polynomial.evalEval_C, WeierstrassCurve.ψ₂, WeierstrassCurve.Ψ₃,\n      WeierstrassCurve.preΨ₄, WeierstrassCurve.Affine.polynomialY, WeierstrassCurve.b₂,\n      WeierstrassCurve.b₄, WeierstrassCurve.b₆, WeierstrassCurve.b₈]\n\n/-- For $W_n = n$, $W_5 = 5$ has primitive prime divisor $5$, whereas $W_1 = 1$ has none. -/\n@[category test, AMS 11 14]\ntheorem intId_primitivePrimeDivisor_five_and_not_one :\n    HasPrimitivePrimeDivisor (id : ℤ → ℤ) 5 ∧ ¬ HasPrimitivePrimeDivisor (id : ℤ → ℤ) 1 := by\n  refine ⟨⟨5, by norm_num, dvd_rfl, ?_⟩, ?_⟩\n  · intro k hk1 hk5 hdiv\n    have hk_pos : 0 < (k : ℤ) := by exact_mod_cast hk1\n    have hle : (5 : ℤ) ≤ (k : ℤ) := Int.le_of_dvd hk_pos hdiv\n    omega\n  · rintro ⟨p, hp, hdiv, _⟩\n    have hu : (p : ℤ) ≤ 1 := Int.le_of_dvd zero_lt_one hdiv\n    have hp2 := hp.two_le\n    omega\n\n/-- Einsiedler–Everest–Ward Conjecture (2001): every non-periodic (`∀ n ≠ 0, W n ≠ 0`) normalized\nnonsingular elliptic divisibility sequence takes prime values $|W_n|$ at finitely many indices\n$n \\ge 1$. (Einsiedler–Everest–Ward, eq. (10), p. 5 also study sequences obtained by dividing out\nbad-reduction factors, which need not satisfy the elliptic divisibility recurrence.) -/\n@[category research open, AMS 11 14]\ntheorem einsiedler_everest_ward_finite_primes :\n    ∀ W : ℤ → ℤ,\n      IsNonsingularEDS W →\n      (∀ n : ℤ, n ≠ 0 → W n ≠ 0) →\n      {n : ℕ | 1 ≤ n ∧ (W n).natAbs.Prime}.Finite := by\n  sorry\n\n/-- Silverman's Primitive Divisor Theorem (1988): every non-periodic (`∀ n ≠ 0, W n ≠ 0`)\nnormalized nonsingular elliptic divisibility sequence has a primitive prime divisor for all\nsufficiently large $n$. -/\n@[category research solved, AMS 11 14]\ntheorem silverman_eds_primitive_prime_divisors :\n    ∀ W : ℤ → ℤ,\n      IsNonsingularEDS W →\n      (∀ n : ℤ, n ≠ 0 → W n ≠ 0) →\n      ∀ᶠ n in Filter.atTop, HasPrimitivePrimeDivisor W n := by\n  sorry\n\nend EllipticDivisibilitySequence\n",
  "statement_hash": "80b668192dd3f11c8ff5a119a4c405119acc20a4ba21d97f1b2cb2cedf83fdec",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}