FormalConjectures/OEIS/372761.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
8 declarations, 1 contain sorry, 0 declared as axioms
Unique realization of odd primes $p \notin \{3, 5\}$ by continued fraction values
$a(n)$ is the denominator of the finite continued fraction $$\frac{1}{2 - \frac{3}{3 - \frac{4}{4 - \frac{5}{\dots - \frac{n-1}{(n-1) - \frac{n}{n+4}}}}}}$$
References:
- A372761
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
Imports (1)
- def
OeisA372761.continuedFractionDenominatorRecursive helper computing the continued fraction denominator line 44 sourceSource documentation
Recursive helper computing the continued fraction denominator $R_k(n)$ for $2 \le k \le n-1$, where $R_k(n) = k - \frac{k+1}{R_{k+1}(n)}$ with base case $R_{n-1}(n) = (n-1) - \frac{n}{n+4}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RatProof uses:
WellFounded.Nat.fix,HSub.hSub,InvImage,LT.lt,dite,LE.le,OfNat.ofNat,Not,And,Eq,HDiv.hDiv,HAdd.hAdd19 instances, coercions and auxiliary constants left out.
def continuedFractionDenominator (n k : ℕ) : ℚ := …
- def
OeisA372761.aDenominator of the continued fraction $$ \frac{1}{2 - \frac{3}{3 - \frac{4}{4 - \frac{5}{\dots - \frac{n-1}{(n-1) - \frac{n}{n+4}}}}}} $$ line 60 sourceSource documentation
Denominator of the continued fraction $$ \frac{1}{2 - \frac{3}{3 - \frac{4}{4 - \frac{5}{\dots - \frac{n-1}{(n-1) - \frac{n}{n+4}}}}}} $$
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,LT.lt,OfNat.ofNat,Rat.den,HDiv.hDiv,Rat, OeisA372761.continuedFractionDenominator6 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- lemma
OeisA372761.a_3line 66 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA372761.a,OfNat.ofNatProof uses:
id,Eq.mpr,ite,LT.lt,Rat.den,HDiv.hDiv,Rat, OeisA372761.continuedFractionDenominator,LE.le,And,HSub.hSub,HAdd.hAdd,congrArg,OeisA372761.continuedFractionDenominator.eq_1,of_eq_true,Eq.trans,True,congrFun',ite_congr,Falseand 39 more61 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA372761.a_4line 70 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA372761.a,OfNat.ofNatProof uses:
id,Eq.mpr,ite,LT.lt,Rat.den,HDiv.hDiv,Rat, OeisA372761.continuedFractionDenominator,LE.le,And,HSub.hSub,HAdd.hAdd,congrArg,OeisA372761.continuedFractionDenominator.eq_1,Not,Int.natAbs,Rat.num,congrFun',ite_congr,Falseand 53 more75 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA372761.a_5line 74 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA372761.a,OfNat.ofNatProof uses:
id,Eq.mpr,ite,LT.lt,Rat.den,HDiv.hDiv,Rat, OeisA372761.continuedFractionDenominator,LE.le,And,HSub.hSub,HAdd.hAdd,congrArg,OeisA372761.continuedFractionDenominator.eq_1,Not,Int.natAbs,Rat.num,congrFun',ite_congr,Falseand 53 more77 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA372761.a_6line 78 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA372761.a,OfNat.ofNatProof uses:
id,Eq.mpr,ite,LT.lt,Rat.den,HDiv.hDiv,Rat, OeisA372761.continuedFractionDenominator,LE.le,And,HSub.hSub,HAdd.hAdd,congrArg,OeisA372761.continuedFractionDenominator.eq_1,Not,Int.natAbs,Rat.num,congrFun',ite_congr,Falseand 53 more77 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA372761.a_7line 82 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA372761.a,OfNat.ofNatProof uses:
id,Eq.mpr,ite,LT.lt,Rat.den,HDiv.hDiv,Rat, OeisA372761.continuedFractionDenominator,LE.le,And,HSub.hSub,HAdd.hAdd,congrArg,OeisA372761.continuedFractionDenominator.eq_1,Not,Int.natAbs,Rat.num,congrFun',ite_congr,Falseand 53 more77 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA372761.exists_unique_a_eq_primesorry line 94 sourcedepends on sorry what this means
Statement uses:
Nat,And,Nat.Prime,Eq,HMod.hMod,OfNat.ofNat,Ne,ExistsUnique,GE.ge, OeisA372761.aProof 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.