FormalConjectures/OEIS/2407.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
Cuban Primes
OEIS A002407 lists the primes that are differences of two consecutive positive cubes. The sequence is conjectured to be infinite.
References:
Imports (1)
- def
OeisA2407.AA natural number is in A002407 when it is prime and is the difference of two consecutive positive cubes line 36 sourceSource documentation
A natural number is in A002407 when it is prime and is the difference of two consecutive positive cubes. The addition equality avoids truncated subtraction in
ℕ.standard axioms: propext what this means
Statement uses:
NatProof uses:
And,Nat.Prime,Exists,GT.gt,OfNat.ofNat,Eq,HAdd.hAdd,HPow.hPow8 instances, coercions and auxiliary constants left out.
def A (p : ℕ) : Prop := …
- theorem
OeisA2407.a_7line 40 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA2407.A,
OfNat.ofNat,NatProof uses:
And.intro,Nat.Prime,Exists,And,GT.gt,Eq,HAdd.hAdd,HPow.hPow,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_0,Bool.false,Exists.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_eq_trueand 5 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA2407.a_19line 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA2407.A,
OfNat.ofNat,NatProof uses:
And.intro,Nat.Prime,Exists,And,GT.gt,Eq,HAdd.hAdd,HPow.hPow,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_0,Exists.intro,Mathlib.Meta.NormNum.isNat_lt_trueand 5 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA2407.a_37line 48 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA2407.A,
OfNat.ofNat,NatProof uses:
And.intro,Nat.Prime,Exists,And,GT.gt,Eq,HAdd.hAdd,HPow.hPow,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_0,Exists.intro,Mathlib.Meta.NormNum.isNat_lt_trueand 5 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA2407.a_61line 52 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA2407.A,
OfNat.ofNat,NatProof uses:
And.intro,Nat.Prime,Exists,And,GT.gt,Eq,HAdd.hAdd,HPow.hPow,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_0,Exists.intro,Mathlib.Meta.NormNum.isNat_lt_trueand 5 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA2407.a_127line 56 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA2407.A,
OfNat.ofNat,NatProof uses:
And.intro,Nat.Prime,Exists,And,GT.gt,Eq,HAdd.hAdd,HPow.hPow,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_0and 7 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA2407.not_a_91line 60 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Not, OeisA2407.A,OfNat.ofNat,NatProof uses:
of_eq_true,Eq.trans,True,False,congrArg,And,Nat.Prime,Exists,GT.gt,Eq,HAdd.hAdd,HPow.hPow,LT.lt,congr,eq_false,Mathlib.Meta.NormNum.isNat_not_prime,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.not_prime_mul_of_ble,Booland 8 more11 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA2407.conjectureThis sequence is believed to be infinite sorry line 67 sourceSource documentation
This sequence is believed to be infinite.
depends on sorry what this means
Statement uses:
Set.Infinite,Nat,Set.ofPred, OeisA2407.AProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : {p : ℕ | A p}.Infinite := by …Mentions: OeisA2407.A