FormalConjectures/OEIS/113213.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
Imports (1)
- def
OeisA113213.aa n is the smallest number m such that $2^n - m$ and $2^n + m$ are primes line 39 sourceSource documentation
a n is the smallest number m such that $2^n - m$ and $2^n + m$ are primes. Computed by checking elements from $0$ to $2^n$, as any larger $m$ would make $2^n - m = 0$ which is not prime.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
List,List.filter,Decidable.decide,And,Nat.Prime,HSub.hSub,HPow.hPow,OfNat.ofNat,HAdd.hAdd,List.range,List.headD11 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA113213.a_1line 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113213.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
OeisA113213.a_2line 47 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113213.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
OeisA113213.a_3line 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113213.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
OeisA113213.a_4line 53 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113213.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
OeisA113213.a_5line 56 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113213.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
OeisA113213.conjectureConjecture: $a(n) = O(n^3)$ sorry line 66 sourceSource documentation
Conjecture: $a(n) = O(n^3)$.
The source defines $a(n)$ as the least $m$ with $2^n - m$ and $2^n + m$ prime, so it implicitly asserts that such an $m$ exists. Since
a n = 0when no such $m$ exists, the existence of a prime pair is stated explicitly for all sufficiently large $n$.depends on sorry what this means
Statement uses:
And,Filter.Eventually,Nat,Exists,Nat.Prime,HSub.hSub,HPow.hPow,OfNat.ofNat,HAdd.hAdd,Filter.atTop,Asymptotics.IsBigO,Real, OeisA113213.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous28 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : (∀ᶠ n : ℕ in Filter.atTop, ∃ m, (2 ^ n - m).Prime ∧ (2 ^ n + m).Prime) ∧ (fun n : ℕ => (a n : ℝ)) =O[Filter.atTop] (fun n : ℕ => (n ^ 3 : ℝ)) := by …Mentions: OeisA113213.a