FormalConjectures/OEIS/100474.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
18 declarations, 2 contain sorry, 0 declared as axioms
Conjectures associated with A100474
$a(1) = 1$; $a(n)$ is the smallest integer such that $a(n) + a(n-1)$ has the first $n$ distinct prime factors not used before in this construction.
References:
Imports (1)
- def
OeisA100474.triangularThe $n$-th triangular number line 35 sourceSource documentation
The $n$-th triangular number.
no axioms what this means
Statement uses:
NatProof uses:
HDiv.hDiv,HMul.hMul,HAdd.hAdd,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
def triangular (n : ℕ) : ℕ := n * (n + 1) / 2
- def
OeisA100474.aThe primary defining sequencealine 38 sourceSource documentation
The primary defining sequence
a.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
noncomputable def a : ℕ → ℕ | 0 => 0 | 1 => 1 | n + 2 => (Finset.Ico (triangular (n + 1) - 1) (triangular (n + 2) - 1)).prod (Nat.nth Nat.Prime) - a (n + 1) @[category API, AMS 11]Mentions: OeisA100474.triangular, AMS
- lemma
OeisA100474.nth_prime_fiveline 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA100474.nth_prime_sixline 51 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA100474.nth_prime_sevenline 56 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA100474.nth_prime_eightline 61 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA100474.nth_prime_nineline 66 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA100474.nth_prime_tenline 71 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA100474.nth_prime_elevenline 76 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA100474.nth_prime_twelveline 81 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA100474.nth_prime_thirteenline 86 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,Nat.nth,Nat.Prime,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Nat.nth_count3 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA100474.a_1Value of the sequenceaat 1 line 92 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA100474.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_1 : a 1 = 1 := by rfl …
Mentions: OeisA100474.a
- theorem
OeisA100474.a_2Value of the sequenceaat 2 line 96 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA100474.a,OfNat.ofNatProof uses:
id,Eq.mpr,HSub.hSub,Finset.prod,Finset.Ico,Nat.nth,Nat.Prime,HMul.hMul,congrArg,HAdd.hAdd,Finset.prod_Ico_succ_top,of_decide_eq_true,LE.le,Bool,Decidable.decide,Bool.true,Eq.refl,congrFun',Eq.trans,Finset.prod_congrand 7 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 5 := by …
Mentions: OeisA100474.a
- theorem
OeisA100474.a_3Value of the sequenceaat 3 line 106 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA100474.a,OfNat.ofNatProof uses:
id,Eq.mpr,HSub.hSub,Finset.prod,Finset.Ico,Nat.nth,Nat.Prime,congrArg, OeisA100474.a_2,HMul.hMul,HAdd.hAdd,Finset.prod_Ico_succ_top,of_decide_eq_true,LE.le,Bool,Decidable.decide,Bool.true,Eq.refl,congrFun',Eq.transand 9 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 380 := by …
Mentions: OeisA100474.a
- theorem
OeisA100474.a_4Value of the sequenceaat 4 line 118 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA100474.a,OfNat.ofNatProof uses:
id,Eq.mpr,HSub.hSub,Finset.prod,Finset.Ico,Nat.nth,Nat.Prime,congrArg, OeisA100474.a_3,HMul.hMul,HAdd.hAdd,Finset.prod_Ico_succ_top,of_decide_eq_true,LE.le,Bool,Decidable.decide,Bool.true,Eq.refl,congrFun',Eq.transand 10 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = 96197 := by …
Mentions: OeisA100474.a
- theorem
OeisA100474.a_5Value of the sequenceaat 5 line 131 sourceSource documentation
Value of the sequence
aat 5.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA100474.a,OfNat.ofNatProof uses:
id,Eq.mpr,HSub.hSub,Finset.prod,Finset.Ico,Nat.nth,Nat.Prime,congrArg, OeisA100474.a_4,HMul.hMul,HAdd.hAdd,Finset.prod_Ico_succ_top,of_decide_eq_true,LE.le,Bool,Decidable.decide,Bool.true,Eq.refl,congrFun',Eq.transand 11 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
theorem a_5 : a 5 = 58546472 := by …
Mentions: OeisA100474.a
- theorem
OeisA100474.conjectureAfter $a(2) = 5$, is there another prime? sorry line 147 sourceSource documentation
After $a(2) = 5$, is there another prime?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,And,GT.gt,OfNat.ofNat,Nat.Prime, OeisA100474.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 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) ↔ ∃ n > 2, (a n).Prime := by …
Mentions: OeisA100474.a
- theorem
OeisA100474.next_semiprimesorry line 156 sourcedepends on sorry what this means
Statement uses:
Eq,Nat,OfNat.ofNat, OeisA100474.a,InfSet.sInf,Set.ofPred,And,LT.lt,Nat.IsSemiprimeProof 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.