FormalConjectures/OEIS/1223.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
7 declarations, 1 contain sorry, 0 declared as axioms
Imports (1)
- def
OeisA1223.aPrime gaps: differences between consecutive primes line 34 sourceSource documentation
Prime gaps: differences between consecutive primes.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,HSub.hSub,Nat.nth,Nat.Prime4 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- def
OeisA1223.gapSubsequenceHelper definition for extracting a finite subsequence (pattern) as a list line 39 sourceSource documentation
Helper definition for extracting a finite subsequence (pattern) as a list.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,ListProof uses:
List.map, OeisA1223.a,HAdd.hAdd,List.range2 instances, coercions and auxiliary constants left out.
noncomputable def gapSubsequence (startIndex length : ℕ) : List ℕ := …
- theorem
OeisA1223.a_0Value of the sequenceaat 0 line 44 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1223.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_0 : a 0 = 0 := by rfl …
Mentions: OeisA1223.a
- theorem
OeisA1223.a_1Value of the sequenceaat 1 line 48 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1223.a,OfNat.ofNatProof uses:
id,Eq.mpr,HSub.hSub,Nat.nth,Nat.Prime,congrArg,Nat.nth_prime_one_eq_three,Nat.nth_prime_zero_eq_two,Eq.refl4 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 1 := by …
Mentions: OeisA1223.a
- theorem
OeisA1223.a_2Value of the sequenceaat 2 line 54 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1223.a,OfNat.ofNatProof uses:
id,Eq.mpr,HSub.hSub,Nat.nth,Nat.Prime,congrArg,Nat.nth_prime_two_eq_five,Nat.nth_prime_one_eq_three,Eq.refl4 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 2 := by …
Mentions: OeisA1223.a
- theorem
OeisA1223.a_3Value of the sequenceaat 3 line 60 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA1223.a,OfNat.ofNatProof uses:
id,Eq.mpr,HSub.hSub,Nat.nth,Nat.Prime,congrArg,Nat.nth_prime_three_eq_seven,Nat.nth_prime_two_eq_five,Eq.refl4 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 2 := by …
Mentions: OeisA1223.a
- theorem
OeisA1223.conjecturesorry line 73 sourcedepends on sorry what this means
Statement uses:
Not,Nat,GE.ge,OfNat.ofNat,Set.Infinite,Set.ofPred,Eq,List, OeisA1223.gapSubsequence,HAdd.hAddProof 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.