FormalConjectures/OEIS/113609.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
9 declarations, 1 contain sorry, 0 declared as axioms
Imports (1)
- def
OeisA113609.IsOeisPrimePowerA number $n$ is an "OEIS prime power" (for the context of A113609's definition) if $n=1$ or $n$ is a standard prime power line 35 sourceSource documentation
A number $n$ is an "OEIS prime power" (for the context of A113609's definition) if $n=1$ or $n$ is a standard prime power.
standard axioms: propext what this means
Statement uses:
NatProof uses:
Or,Eq,OfNat.ofNat,IsPrimePow2 instances, coercions and auxiliary constants left out.
def IsOeisPrimePower (n : ℕ) : Prop := n = 1 ∨ IsPrimePow n
- instance
OeisA113609.DecidableIsOeisPrimePowerline 37 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Decidable, OeisA113609.IsOeisPrimePowerProof uses:
id,Eq,OfNat.ofNat,IsPrimePow5 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- def
OeisA113609.aThe primary defining sequencealine 46 sourceSource documentation
The primary defining sequence
a. $a(n)$ is the number of prime powers $q<=n$ such that also $q+2$ is a prime power. $$a(n) = \operatorname{card} \{q \in \mathbb{N} \mid 1 \le q \le n \land P(q) \land P(q+2) \}$$standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.card,Finset.filter,And, OeisA113609.IsOeisPrimePower,HAdd.hAdd,OfNat.ofNat,GE.ge,Finset.range7 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA113609.a_1line 51 sourceextra axioms: _private.0.OeisA113609.a_1._native.native_decide.ax_1 what this means
Statement uses:
Eq,Nat, OeisA113609.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
OeisA113609.a_2line 54 sourceextra axioms: _private.0.OeisA113609.a_2._native.native_decide.ax_1 what this means
Statement uses:
Eq,Nat, OeisA113609.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
OeisA113609.a_3line 57 sourceextra axioms: _private.0.OeisA113609.a_3._native.native_decide.ax_1 what this means
Statement uses:
Eq,Nat, OeisA113609.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
OeisA113609.a_4line 60 sourceextra axioms: _private.0.OeisA113609.a_4._native.native_decide.ax_1 what this means
Statement uses:
Eq,Nat, OeisA113609.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
OeisA113609.a_5line 63 sourceextra axioms: _private.0.OeisA113609.a_5._native.native_decide.ax_1 what this means
Statement uses:
Eq,Nat, OeisA113609.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
OeisA113609.conjecture(25,27) is the smallest pair of prime powers (q,q+2) such that both q and q+2 are not primes, conjecture: there are more (but not < 10^6) sorry line 70 sourceSource documentation
(25,27) is the smallest pair of prime powers (q,q+2) such that both q and q+2 are not primes, conjecture: there are more (but not < 10^6).
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,And,GE.ge,OfNat.ofNat, OeisA113609.IsOeisPrimePower,HAdd.hAdd,Not,Nat.PrimeProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous8 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : answer(sorry) ↔ ∃ q ≥ 1000000, IsOeisPrimePower q ∧ IsOeisPrimePower (q + 2) ∧ ¬ q.Prime ∧ ¬ (q + 2).Prime := by …Mentions: OeisA113609.IsOeisPrimePower