FormalConjectures/OEIS/69922.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, 1 contain sorry, 0 declared as axioms
Number of primes $p$ such that $n^n \le p \le n^n + n^2$
The sequence $a(n)$ counts the number of prime numbers in the interval $[n^n, n^n + n^2]$: $$a(n) = |\{p \text{ prime} \mid n^n \le p \le n^n + n^2\}|$$
References:
Imports (1)
- def
OeisA69922.aNumber of primes $p$ such that $n^n \le p \le n^n + n^2$ line 36 sourceSource documentation
Number of primes $p$ such that $n^n \le p \le n^n + n^2$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.card,Finset.filter,Nat.Prime,Finset.Icc,HPow.hPow,HAdd.hAdd,OfNat.ofNat10 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA69922.a_1Value of the sequenceaat 1 line 41 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA69922.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 1 := by …
Mentions: OeisA69922.a
- theorem
OeisA69922.a_2Value of the sequenceaat 2 line 46 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA69922.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 2 := by …
Mentions: OeisA69922.a
- theorem
OeisA69922.a_3Value of the sequenceaat 3 line 51 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA69922.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 2 := by …
Mentions: OeisA69922.a
- theorem
OeisA69922.a_4Value of the sequenceaat 4 line 56 sourceSource documentation
Value of the sequence
aat 4.extra axioms: _private.0.OeisA69922.a_4._native.decide.ax_1 what this means
Statement uses:
Eq,Nat, OeisA69922.a,OfNat.ofNatProof uses:
of_decide_eq_true4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = 4 := by …
Mentions: OeisA69922.a
- theorem
OeisA69922.a_5Value of the sequenceaat 5 line 61 sourceSource documentation
Value of the sequence
aat 5.extra axioms: _private.0.OeisA69922.a_5._native.decide.ax_1 what this means
Statement uses:
Eq,Nat, OeisA69922.a,OfNat.ofNatProof uses:
of_decide_eq_true4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_5 : a 5 = 1 := by …
Mentions: OeisA69922.a
- theorem
OeisA69922.conjectureQuestion: for any $n > 0$, is there at least one prime $p$ such that $n^n \le p \le n^n + n^2$? sorry line 69 sourceSource documentation
Question: for any $n > 0$, is there at least one prime $p$ such that $n^n \le p \le n^n + n^2$? In this case, that would be stronger than the Schinzel conjecture: "for $m > 1$ there's at least one prime $p$ such that $m \le p \le m + \log(m)^2$" since $n^2 < \log(n^n)^2 = n^2 \log(n)^2$.
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,LE.le, OeisA69922.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture (n : ℕ) (hn : 0 < n) : 1 ≤ a n := by …
Mentions: OeisA69922.a