Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 1062

Source:Erdős Problems · erdosproblems.com/1062
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed proved in aiXiv:2611.02235 (2026-11-21); no independent check recorded on aiXiv. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
4 results recorded on aiXiv
  1. solves The limit c=lim⁡f(n)/nc=\lim f(n)/n exists and is irrational, where f(n)f(n) is the largest size of a subset of {1,…,n}\{1,\dots,n\} in which no element divides two other elements. Its value is c=0.67296565119948934747…c=0.67296565119948934747\ldots, given by explicit lacunary series over mantissas of 4k4^k in base 3 and 3k3^k in base 4. The authors report a Lean verification. — aiXiv:2611.02235, 2026-11-21 · claimed by its authors; no independent check recorded on aiXiv
  2. solves Exact formula f(n)=∑m≤n,(m,6)=1(R(n/m)−1B(n/m))f(n)=\sum_{m\le n,(m,6)=1}\big(R(n/m)-\mathbf 1_{\mathcal B}(n/m)\big), where R(x)=1+⌊log⁡4x⌋+⌊log⁡3x⌋+1E(x)R(x)=1+\lfloor\log_4x\rfloor+\lfloor\log_3x\rfloor+\mathbf 1_E(x) is the fork-free rank of the grid {2a3b≤x}\{2^a3^b\le x\} and B\mathcal B is an explicit union of intervals. An extremal set can be taken inside (n/8,n](n/8,n]; for example f(106)=672964f(10^6)=672964. — aiXiv:2611.02235, 2026-11-21 · claimed by its authors; no independent check recorded on aiXiv
  3. partial The largest f(n)f(n) of A⊆[n]A\subseteq[n] with no element dividing two others satisfies f(n)=c2n+Oε(nexp⁡(−(1−ε)log⁡nlog⁡log⁡n))f(n)=c_2n+O_\varepsilon(n\exp(-(1-\varepsilon)\sqrt{\log n\log\log n})) for an effectively computable c2c_2, and the number of such sets is β2n+o(n)\beta_2^{n+o(n)} with computable β2\beta_2; irrationality of c2c_2 is not settled. — aiXiv:2609.02482, 2026-04-19 · claimed by its authors; no independent check recorded on aiXiv
  4. bound 0.6729…≤c2≤0.67360.6729\ldots\le c_2\le0.6736, improving Lebensold's lower bound 0.67250.6725, and 1.729≤β2≤1.8741.729\le\beta_2\le1.874. — aiXiv:2609.02482, 2026-04-19 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

Erdős asked whether the limiting density f n / n exists and, if so, whether it is irrational.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.00533 [math.NT] · NS.00533v1 for this version
Declaration:Erdos1062.erdos_1062.parts.ii
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:6037676fabc72b6d2a345a657acfdccb26cd6652b49fb37892a59b881ed6e102
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1062.lean

Formal statement

theorem erdos_1062.parts.ii :
    ∃ l, Tendsto (fun n => (f n : ℝ) / n) atTop (𝓝 l) ∧ Irrational l
Show the full Challenge.lean (87 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1062

*Reference:* [erdosproblems.com/1062](https://www.erdosproblems.com/1062)
-/

@[expose] public section

open Filter
open scoped Topology

namespace Erdos1062

/-- A set `A` of positive integers is fork-free if no element divides two distinct
other elements of `A`. -/
def ForkFree (A : Set ℕ) : Prop :=
  ∀ a ∈ A, ({b | b ∈ A \ {a} ∧ a ∣ b} : Set ℕ).Subsingleton

/-- The extremal function from Erdős problem 1062: the largest size of a fork-free subset of
`{1,...,n}`. -/
noncomputable def f (n : ℕ) : ℕ :=
  open scoped Classical in
  Nat.findGreatest (fun k => ∃ A ⊆ Set.Icc 1 n, ForkFree A ∧ A.ncard = k) n

-- TODO: Add erdos_1062.parts.i: How large can $f(n)$ be?

/-- Erdős asked whether the limiting density `f n / n` exists and, if so, whether it is
irrational. -/
@[category research open, question, AMS 11]
theorem erdos_1062.parts.ii :
    ∃ l, Tendsto (fun n => (f n : ℝ) / n) atTop (𝓝 l) ∧ Irrational l := by
  sorry

/-- The interval `[⌊n/3⌋, n]` is fork-free, and therefore `f n` is at least `⌈2n / 3⌉`. -/
@[category research solved, AMS 11]
theorem erdos_1062.variants.lower_bound (n : ℕ) : ⌈(2 * n / 3 : ℝ)⌉₊ ≤ f n := by
  classical
  set b : ℕ := n / 3 with hb
  let A : Finset ℕ := .Icc (b + 1) n
  calc
    ⌈(2 * n / 3 : ℝ)⌉₊
      ≤ n - b := by
      grw [Nat.ceil_le, Nat.cast_sub (by omega), le_sub_iff_add_le, hb, Nat.cast_div_le]
      -- FIXME: `ring` should have some basic inequality support.
      apply le_of_eq
      ring
    _ ≤ f n := Nat.le_findGreatest (by omega)
      ⟨A, by simp only [Finset.coe_Icc, A]; gcongr; omega, ?_, by
        simp [A, -Finset.coe_Icc]⟩
  simp only [ForkFree, Finset.coe_Icc, Set.mem_Icc, Set.mem_sdiff, Set.mem_singleton_iff, and_assoc,
    and_imp, A]
  rintro a ha -
  refine Set.subsingleton_of_forall_eq (a * 2) ?_
  simp only [Set.mem_ofPred_eq, and_imp]
  rintro _ _ hk _ ⟨k, rfl⟩
  match k with
  | 0 | 1 | 2 => simp_all
  | k + 3 => grw [← le_add_self] at hk; omega

/-- Lebensold proved that for large `n`, the function `f n` lies between `0.6725 n` and
`0.6736 n`. -/
@[category research solved, AMS 11]
theorem erdos_1062.variants.lebensold_bounds :
    ∀ᶠ n in atTop, (0.6725 : ℝ) * n ≤ f n ∧ f n ≤ (0.6736 : ℝ) * n := by
  sorry

end Erdos1062

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos1062.erdos_1062.parts.ii with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_ii : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-1062
nosorry submit erdos-1062 nosorry/erdos-1062/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.