{
  "id": "3744",
  "ident": "NS.03744",
  "slug": "erdos-951",
  "title": "Erdős Problem 951",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "If `1 < a 0 < ...` has property `Erdos951Prop`, is it true that `#{a i ≤ x} ≤ π x` for all\nsufficiently large $x$?",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos951.erdos_951",
  "statement_lean": "theorem erdos_951 :\n    ∀ a : ℕ → ℝ, 1 < a 0 → StrictMono a → Erdos951Prop a →\n      ∀ᶠ (x : ℝ) in Filter.atTop, {i : ℕ | a i ≤ x}.ncard ≤ π ⌊x⌋₊",
  "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# Erdős Problem 951\n\n*References:*\n - [erdosproblems.com/951](https://www.erdosproblems.com/951)\n - [Er77c] Erdős, Paul, Problems and results on combinatorial number theory. III. Number theory day (Proc. Conf., Rockefeller Univ.,\n    New York, 1976) (1977), 43-72.\n-/\n\n@[expose] public section\n\nopen scoped Finsupp Nat.Prime Topology\nopen Filter\n\nnamespace Erdos951\n\n/-- A sequence `a : ℕ → ℝ` is said to have property `Erdos951Prop` if for any pair of distinct\nfinitely supported sequences `k l : ℕ →₀ ℕ` their corresponding Beurling integers are of distance\nat least one apart. -/\ndef Erdos951Prop (a : ℕ → ℝ) : Prop :=\n  ∀ (k ℓ : ℕ →₀ ℕ), k ≠ ℓ → |beurlingInteger a k - beurlingInteger a ℓ| ≥ 1\n\n/-- If a strictly increasing sequence `a : ℕ → ℝ` has property `Erdos951Prop`\nand `1 < a 0`, then `a` is a sequence of Beurling prime numbers. -/\n@[category API, AMS 11]\ntheorem erdos_951.variants.isBeurlingPrimes {a : ℕ → ℝ} (ha : 1 < a 0)\n    (hm : StrictMono a) (he : Erdos951Prop a) :\n    IsBeurlingPrimes a := by\n  refine ⟨ha, hm, tendsto_atTop_atTop.2 fun x => ?_⟩\n  by_contra h_contra\n  obtain ⟨L, hL⟩ : ∃ L, Filter.Tendsto a Filter.atTop (𝓝 L) :=\n    ⟨_, tendsto_atTop_isLUB hm.monotone (isLUB_ciSup ⟨x, Set.forall_mem_range.2 fun n =>\n    le_of_not_ge fun hn => h_contra ⟨n, fun m hm' => hn.trans (hm.monotone hm')⟩⟩)⟩\n  obtain ⟨N, hN⟩ := Metric.tendsto_atTop.mp hL (1 / 2) (by norm_num)\n  have := hm (by linarith : N < N + 1)\n  have h_diff : a (N + 1) - a N ≥ 1 := by\n    rw [← abs_of_nonneg (by linarith : 0 ≤ a _ - _)]\n    simpa using he (.single (N + 1) 1) (.single N 1) (by simpa [Finsupp.ext_iff] using ⟨N, by simp⟩)\n  linarith [abs_lt.1 (hN N le_rfl), abs_lt.1 (hN (N + 1) (by grind))]\n\n/-- If `1 < a 0 < ...` has property `Erdos951Prop`, is it true that `#{a i ≤ x} ≤ π x`? -/\n@[category research open, question, AMS 11]\ntheorem erdos_951 :\n    ∀ a : ℕ → ℝ, 1 < a 0 → StrictMono a → Erdos951Prop a →\n      ∀ᶠ (x : ℝ) in Filter.atTop, {i : ℕ | a i ≤ x}.ncard ≤ π ⌊x⌋₊ := by\n  sorry\n\n/-- Beurling conjectured that if `1 < a 0 < a 1 < ⋯` has property `Erdos951Prop` and the number\nof reals in $[1, x]$ of the form $\\prod_i a_i^{k_i}$ is $x + o(\\log x)$, then `a` must be the\nsequence of primes. Property `Erdos951Prop` makes distinct exponent vectors give distinct\nBeurling integers, so counting the set `BeurlingIntegers a` counts the generalised integers. -/\n@[category research solved, AMS 11]\ntheorem erdos_951.variants.beurling :\n    ∀ a : ℕ → ℝ, IsBeurlingPrimes a → Erdos951Prop a →\n    ((fun x => (BeurlingIntegers a ∩ .Iic x).ncard - x) =o[atTop] Real.log) →\n    a = Nat.cast ∘ Nat.nth Nat.Prime := by\n  sorry\n\nend Erdos951\n",
  "statement_hash": "624485f666ebf32db609060be5fcd3b290715b0177996a85bdd44423e6a9242e",
  "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."
}