FormalConjectures/OEIS/113271.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
10 declarations, 1 contain sorry, 0 declared as axioms
Imports (1)
- def
OeisA113271.aThe primary defining sequencealine 36 sourceSource documentation
The primary defining sequence
a. $a(n)$ is the ascending descending base exponent transform of $2^n$. $$a(n) = \sum_{i=0}^n 2^{i \cdot 2^{n-i}}$$standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.sum,Finset.range,HAdd.hAdd,OfNat.ofNat,HPow.hPow,HMul.hMul,HSub.hSub12 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA113271.a_0line 40 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113271.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA113271.a_1line 43 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113271.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA113271.a_2line 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113271.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA113271.a_3line 49 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113271.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA113271.a_4line 52 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113271.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA113271.a_4_primeline 55 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat.Prime, OeisA113271.a,OfNat.ofNat,NatProof uses:
Eq.mpr,id,Eq,congrArg, OeisA113271.a_4,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.true,Mathlib.Meta.NormNum.isNat_minFac_4,Mathlib.Meta.NormNum.IsNat.raw_refl,Mathlib.Meta.NormNum.minFacHelper_3,Bool.false,Mathlib.Meta.NormNum.minFacHelper_2,Mathlib.Meta.NormNum.not_prime_mul_of_ble,Mathlib.Meta.NormNum.minFacHelper_03 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA113271.a_5The next term from the defining formula and the official OEIS b-file line 61 sourceSource documentation
The next term from the defining formula and the official OEIS b-file.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA113271.a,OfNat.ofNatProof uses:
Eq.refl2 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 = 135457 := by rfl …
Mentions: OeisA113271.a
- theorem
OeisA113271.a_5_not_primeThe terma(5) = 135457 = 7 * 37 * 523is composite line 65 sourceSource documentation
The term
a(5) = 135457 = 7 * 37 * 523is composite.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Not,Nat.Prime, OeisA113271.a,OfNat.ofNat,NatProof uses:
Eq.mpr,id,Eq,congrArg, OeisA113271.a_5,Mathlib.Meta.NormNum.isNat_not_prime,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.not_prime_mul_of_ble,Bool,Bool.false3 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem a_5_not_prime : ¬ (a 5).Prime := by …
Mentions: OeisA113271.a
- theorem
OeisA113271.conjecture1The first prime terms in this (always odd) sequence are $a(1) = 3$, $a(3) = 41$, and $a(4) = 593$ sorry line 78 sourceSource documentation
The first prime terms in this (always odd) sequence are $a(1) = 3$, $a(3) = 41$, and $a(4) = 593$. What is the next prime?
The OEIS comment currently says
$a(5) = 543$, but this conflicts with its defining formula, b-file, and examples: the actual index-five term is the composite number135457. Consequently the search for the next prime must begin after index4, not after index5.depends on sorry what this means
Statement uses:
Eq,Nat,sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat, OeisA113271.a,InfSet.sInf,Set.ofPred,And,LT.lt,Nat.Prime6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture1 : answer(sorry) = a (sInf {n : ℕ | 4 < n ∧ (a n).Prime}) := by …Mentions: OeisA113271.a