FormalConjectures/OEIS/117027.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
16 declarations, 1 contain sorry, 0 declared as axioms
Determinants of 2 X 2 matrices of non-overlapping blocks of 4 consecutive primes
$a(n) = p_{4n-3}p_{4n} - p_{4n-2}p_{4n-1}$ where $p_k$ is the k-th prime number (1-indexed).
References:
Imports (1)
- def
OeisA117027.aa n is the determinant of a 2x2 matrix of non-overlapping blocks of 4 consecutive primes line 36 sourceSource documentation
a n is the determinant of a 2x2 matrix of non-overlapping blocks of 4 consecutive primes.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,IntProof uses:
ite,LT.lt,OfNat.ofNat,HMul.hMul,Nat.nth,Nat.Prime,HSub.hSub12 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℤ := …
- lemma
OeisA117027.nth_prime_fiveline 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
OeisA117027.nth_prime_sixline 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
OeisA117027.nth_prime_sevenline 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
OeisA117027.nth_prime_eightline 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
OeisA117027.nth_prime_nineline 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
OeisA117027.nth_prime_tenline 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
OeisA117027.nth_prime_elevenline 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.
- theorem
OeisA117027.a_0line 86 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA117027.a,OfNat.ofNat,NatProof uses:
Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA117027.a_1line 90 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA117027.a,OfNat.ofNat,Nat,Neg.negProof uses:
id,Eq.mpr,HSub.hSub,HMul.hMul,Nat.nth,Nat.Prime,congrArg,Nat.nth_prime_zero_eq_two,Nat.nth_prime_one_eq_three,Nat.nth_prime_two_eq_five,Nat.nth_prime_three_eq_seven,Mathlib.Meta.NormNum.isInt_eq_true,Int.negOfNat,Mathlib.Meta.NormNum.isInt_sub,Int.ofNat,Eq.refl,Mathlib.Meta.NormNum.IsNat.to_isInt,Mathlib.Meta.NormNum.isNat_mul,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNatand 1 more28 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA117027.a_2line 97 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA117027.a,OfNat.ofNat,Nat,Neg.negProof uses:
id,Eq.mpr,HSub.hSub,HMul.hMul,Nat.nth,Nat.Prime,congrArg,Nat.nth_prime_four_eq_eleven, OeisA117027.nth_prime_seven, OeisA117027.nth_prime_five, OeisA117027.nth_prime_six,Mathlib.Meta.NormNum.isInt_eq_true,Int.negOfNat,Mathlib.Meta.NormNum.isInt_sub,Int.ofNat,Eq.refl,Mathlib.Meta.NormNum.IsNat.to_isInt,Mathlib.Meta.NormNum.isNat_mul,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNatand 1 more28 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA117027.a_3line 103 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA117027.a,OfNat.ofNat,Nat,Neg.negProof uses:
id,Eq.mpr,HSub.hSub,HMul.hMul,Nat.nth,Nat.Prime,congrArg, OeisA117027.nth_prime_eight, OeisA117027.nth_prime_eleven, OeisA117027.nth_prime_nine, OeisA117027.nth_prime_ten,Mathlib.Meta.NormNum.isInt_eq_true,Int.negOfNat,Mathlib.Meta.NormNum.isInt_sub,Int.ofNat,Eq.refl,Mathlib.Meta.NormNum.IsNat.to_isInt,Mathlib.Meta.NormNum.isNat_mul,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNatand 1 more28 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- def
OeisA117027.positiveCountThe count of positive terms among $a(1)$, ..., $a(N)$ line 109 sourceSource documentation
The count of positive terms among $a(1)$, ..., $a(N)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
List.countP,Decidable.decide,LT.lt,Int,OfNat.ofNat, OeisA117027.a,HAdd.hAdd,List.range6 instances, coercions and auxiliary constants left out.
noncomputable def positiveCount (N : ℕ) : ℕ := …
- def
OeisA117027.negativeCountThe count of negative terms among $a(1)$, ..., $a(N)$ line 113 sourceSource documentation
The count of negative terms among $a(1)$, ..., $a(N)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
List.countP,Decidable.decide,LT.lt,Int, OeisA117027.a,HAdd.hAdd,OfNat.ofNat,List.range6 instances, coercions and auxiliary constants left out.
noncomputable def negativeCount (N : ℕ) : ℕ := …
- def
OeisA117027.ratioSeqThe sequence of ratios $P(N)/Neg(N)$ as a sequence of real numbers line 117 sourceSource documentation
The sequence of ratios $P(N)/Neg(N)$ as a sequence of real numbers.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
ite,Eq, OeisA117027.negativeCount,OfNat.ofNat,HDiv.hDiv, OeisA117027.positiveCount9 instances, coercions and auxiliary constants left out.
noncomputable def ratioSeq (N : ℕ) : ℝ := …
- theorem
OeisA117027.conjectureThis suggests the ratio is approaching a limit close to 0.87 sorry line 130 sourceSource documentation
This suggests the ratio is approaching a limit close to 0.87.
Formalized as: The sequence of ratios $P(N)/Neg(N)$ converges to a limit L, and L is in the interval (0.8, 0.9).
depends on sorry what this means
Statement uses:
Exists,Real,And,Filter.Tendsto,Nat, OeisA117027.ratioSeq,Filter.atTop,nhds,LT.lt,OfScientific.ofScientific,Bool.trueProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat15 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : ∃ L : ℝ, Tendsto ratioSeq atTop (nhds L) ∧ 0.8 < L ∧ L < 0.9 := …
Mentions: OeisA117027.ratioSeq