FormalConjectures/OEIS/34693.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
11 declarations, 4 contain sorry, 0 declared as axioms
Imports (1)
- def
OeisA34693.aSmallest number $k$ such that $kn + 1$ is prime line 34 sourceSource documentation
Smallest number $k$ such that $kn + 1$ is prime.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Nat.nth,Nat.Prime,HAdd.hAdd,HMul.hMul,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := Nat.nth (fun k ↦ (k * n + 1).Prime) 0 …
- theorem
OeisA34693.a_0line 37 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA34693.a,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,Nat.nth,Nat.Prime,HAdd.hAdd,HMul.hMul,False,funext,MulZeroClass.mul_zero,zero_add,Nat.nth_false,eq_self12 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA34693.a_1line 40 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA34693.a,OfNat.ofNatProof uses:
Eq.mpr,Nat.nth,Nat.Prime,HAdd.hAdd,Nat.count,id,Eq.rec,Eq.refl,Eq.trans,congrArg,Eq.symm,Nat.nth_count,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_ofNat,Bool,Bool.true,Mathlib.Meta.NormNum.isNat_minFac_2,Mathlib.Meta.NormNum.IsNat.raw_refl,congrFun'and 3 more12 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA34693.a_2line 45 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA34693.a,OfNat.ofNatProof uses:
Eq.mpr,Nat.nth,Nat.Prime,HAdd.hAdd,HMul.hMul,Nat.count,id,Eq.rec,Eq.refl,Eq.trans,congrArg,Eq.symm,Nat.nth_count,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_mul,Mathlib.Meta.NormNum.isNat_ofNat,Bool,Bool.true,Mathlib.Meta.NormNum.isNat_minFac_4and 3 more14 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA34693.a_3line 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA34693.a,OfNat.ofNatProof uses:
Eq.mpr,Nat.nth,Nat.Prime,HAdd.hAdd,HMul.hMul,Nat.count,id,Eq.rec,Eq.refl,Eq.trans,congrArg,Eq.symm,Nat.nth_count,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_mul,Mathlib.Meta.NormNum.isNat_ofNat,Bool,Bool.true,Mathlib.Meta.NormNum.isNat_minFac_4and 3 more14 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA34693.a_7line 55 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA34693.a,OfNat.ofNatProof uses:
Eq.mpr,Nat.nth,Nat.Prime,HAdd.hAdd,HMul.hMul,Nat.count,id,Eq.rec,Eq.refl,Eq.trans,congrArg,Eq.symm,Nat.nth_count,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_mul,Mathlib.Meta.NormNum.isNat_ofNat,Bool,Bool.true,Mathlib.Meta.NormNum.isNat_minFac_4and 4 more14 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA34693.exists_kConjecture: for every $n > 1$ there exists a number $k < n$ such that $nk + 1$ is a prime sorry line 61 sourceSource documentation
Conjecture: for every $n > 1$ there exists a number $k < n$ such that $nk + 1$ is a prime.
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Exists,And,Nat.Prime,HAdd.hAdd,HMul.hMulProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous12 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem exists_k {n : ℕ} (hn : 1 < n) : ∃ k < n, (n * k + 1).Prime := by … - theorem
OeisA34693.exists_k_strongerA stronger conjecture: for every n there exists a number $k < 1 + n^{0.75}$ such that $nk + 1$ is a prime sorry line 67 sourceSource documentation
A stronger conjecture: for every n there exists a number $k < 1 + n^{0.75}$ such that $nk + 1$ is a prime.
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Exists,And,Real,HAdd.hAdd,HPow.hPow, Real.nthRoot,Nat.Prime,HMul.hMulProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem exists_k_stronger {n : ℕ} (hn : 0 < n) : ∃ k : ℕ, k < 1 + (Real.nthRoot 4 n) ^ 3 ∧ (n * k + 1).Prime := by …Mentions: Real.nthRoot
- theorem
OeisA34693.exists_k_best_possibleThe expression $1 + n^{0.74}$ does not work as an upper bound line 73 sourceSource documentation
The expression $1 + n^{0.74}$ does not work as an upper bound.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Exists,Nat,And,GT.gt,OfNat.ofNat,LT.lt,Real,HAdd.hAdd,HPow.hPow, Real.nthRoot,Not,Nat.Prime,HMul.hMulProof uses:
Exists.intro,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Eq,Inv.inv,id,Eq.mpr,ite,Even,OrderHom,SignType,SignType.sign,abs,congrArg,if_pos,of_decide_eq_trueand 100 more135 instances, coercions and auxiliary constants left out.
Tactic trace: 27 steps
Open to load the checked before-and-after goal states.
theorem exists_k_best_possible : ∃ n > (0 : ℕ), ∀ (k : ℕ), k < 1 + (Real.nthRoot 100 n) ^ 74 → ¬(n * k + 1).Prime := by …Mentions: Real.nthRoot
- theorem
OeisA34693.a_isBigOConjecture: $a(n) = O(\log(n)\log(\log(n)))$ sorry line 96 sourceSource documentation
Conjecture: $a(n) = O(\log(n)\log(\log(n)))$.
depends on sorry what this means
Statement uses:
Asymptotics.IsBigO,Nat,Real,Filter.atTop, OeisA34693.a,HMul.hMul,Real.logProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat13 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_isBigO : (fun n ↦ (a n : ℝ)) =O[atTop] (fun n ↦ Real.log n * Real.log (Real.log n)) := by …
Mentions: OeisA34693.a
- theorem
OeisA34693.a_unboundedCounter-conjecture toa_isBigO: $a(n) / (\log n \log \log n)$ is unbounded sorry line 101 sourceSource documentation
Counter-conjecture to
a_isBigO: $a(n) / (\log n \log \log n)$ is unbounded.depends on sorry what this means
Statement uses:
Not,BddAbove,Real,Set.range,Nat,HDiv.hDiv, OeisA34693.a,HMul.hMul,Real.logProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat17 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_unbounded : ¬BddAbove (Set.range fun n ↦ a n / (Real.log n * Real.log (Real.log n))) := by …
Mentions: OeisA34693.a