FormalConjectures/GreensOpenProblems/37.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
7 declarations, 4 contain sorry, 0 declared as axioms
Ben Green's Open Problem 37
What is the smallest subset of ℕ containing, for each d = 1, …, N,
an arithmetic progression of length k with common difference d?
References:
Imports (1)
- def
Green37.IsAPCoverAcontains an arithmetic progression of lengthkand common differencedfor everyd ∈ {1, …, N}line 39 sourceSource documentation
Acontains an arithmetic progression of lengthkand common differencedfor everyd ∈ {1, …, N}.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
And,LE.le,OfNat.ofNat, Set.ContainsAP3 instances, coercions and auxiliary constants left out.
def IsAPCover (A : Set ℕ) (N k : ℕ) : Prop := ∀ d, 1 ≤ d ∧ d ≤ N → Set.ContainsAP A k d
Mentions: Set.ContainsAP
- def
Green37.mThe minimum size of a subset ofℕthat contains, for eachd = 1, …, N, an arithmetic progression of lengthkwith common differencedline 43 sourceSource documentation
The minimum size of a subset of
ℕthat contains, for eachd = 1, …, N, an arithmetic progression of lengthkwith common differenced.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,Exists,Finset,And,Eq,Finset.card, Green37.IsAPCover3 instances, coercions and auxiliary constants left out.
noncomputable def m (N k : ℕ) : ℕ := …
- theorem
Green37.green_37Given a natural numberN, what is the smallest size of a subset ofℕthat contains, for eachd = 1, …, N, an arithmetic progression of lengthkwith common differencedsorry line 51 sourceSource documentation
Given a natural number
N, what is the smallest size of a subset ofℕthat contains, for eachd = 1, …, N, an arithmetic progression of lengthkwith common differenced.depends on sorry what this means
Statement uses:
Nat,IsLeast,Set.ofPred,Exists,Finset,And,Eq,Finset.card, Green37.IsAPCover,sorryAx,Bool.falseProof uses:
Lean.Name,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem green_37 (N k : ℕ) : IsLeast { m | ∃ A : Finset ℕ, A.card = m ∧ IsAPCover (A : Set ℕ) N k } ((answer(sorry) : ℕ → ℕ → ℕ) N k) := by …Mentions: Green37.m, Green37.IsAPCover
- theorem
Green37.green_37_asymptoticAsymptotic version: determine the asymptotic behavior ofm(N, k)asNgrows sorry line 62 sourceSource documentation
Asymptotic version: determine the asymptotic behavior of
m(N, k)asNgrows. The solver should determine a functionf : ℕ → ℕ → ℝsuch that, for eachk,f keventually equals(fun N ↦ (m N k : ℝ)).depends on sorry what this means
Statement uses:
Nat,Filter.Eventually,Eq,Real, Green37.m,sorryAx,Bool.false,Filter.atTopProof uses:
Lean.Name,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem green_37_asymptotic (k : ℕ) : ∀ᶠ N in atTop, (m N k : ℝ) = (answer(sorry) : ℕ → ℕ → ℝ) k N := by …Mentions: Green37.m
- theorem
Green37.green_37_thetaDetermine, for eachk, the asymptotic equivalence class (theta) ofm(N, k)asNgrows sorry line 68 sourceSource documentation
Determine, for each
k, the asymptotic equivalence class (theta) ofm(N, k)asNgrows.depends on sorry what this means
Statement uses:
Nat,Asymptotics.IsTheta,Real,Filter.atTop, Green37.m,sorryAx,Bool.falseProof uses:
Lean.Name,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat9 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem green_37_theta (k : ℕ) : (fun N ↦ (m N k : ℝ)) =Θ[atTop] (answer(sorry) : ℕ → ℕ → ℝ) k := by …Mentions: Green37.m
- theorem
Green37.m_le_mul_add_oneThe interval{0, …, kN}contains, for eachd = 1, …, N, the arithmetic progression{0, d, …, (k - 1)d}, som(N, k) ≤ kN + 1line 75 sourceSource documentation
The interval
{0, …, kN}contains, for eachd = 1, …, N, the arithmetic progression{0, d, …, (k - 1)d}, som(N, k) ≤ kN + 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le, Green37.m,HAdd.hAdd,HMul.hMul,OfNat.ofNatProof uses:
Nat.sInf_le,Set.ofPred,Exists,Finset,And,Eq,Finset.card, Green37.IsAPCover,Exists.intro,Finset.range,And.intro,Finset.card_range,Set, Set.IsAPOfLengthWith,ENat,Finset.image,Membership.mem,Iff.mp,Finset.mem_image,Eq.mprand 34 more59 instances, coercions and auxiliary constants left out.
Tactic trace: 14 steps
Open to load the checked before-and-after goal states.
theorem m_le_mul_add_one (N k : ℕ) : m N k ≤ k * N + 1 := by …
Mentions: Green37.m
- theorem
Green37.green_37_lower_boundWritingF_k(N)form(N, k), Green conjectures thatF_k(N) ≫_k N^(1 - c_k)for some sequencec_kwithc_k → 0ask → ∞sorry line 95 sourceSource documentation
Writing
F_k(N)form(N, k), Green conjectures thatF_k(N) ≫_k N^(1 - c_k)for some sequencec_kwithc_k → 0ask → ∞. The restriction to0 < kexcludes the degenerate casem(N, 0) = 0.depends on sorry what this means
Statement uses:
Exists,Nat,Real,And,Filter.Tendsto,Filter.atTop,nhds,OfNat.ofNat,LT.lt,Asymptotics.IsBigO,HPow.hPow,HSub.hSub, Green37.mProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous34 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem green_37_lower_bound : ∃ c : ℕ → ℝ, Tendsto c atTop (nhds 0) ∧ ∀ k, 0 < k → (fun N : ℕ ↦ (N : ℝ) ^ (1 - c k)) =O[atTop] fun N ↦ (m N k : ℝ) := by …