FormalConjectures/ErdosProblems/141.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
10 declarations, 5 contain sorry, 0 declared as axioms
Imports (1)
Imported by 1 file
- def
Erdos141.Set.IsPrimeProgressionOfLengthThe predicate that a setsconsists oflconsecutive primes (possibly infinite) line 36 sourceSource documentation
The predicate that a set
sconsists oflconsecutive primes (possibly infinite). This predicate does not assert a specific value for the first term.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat,ENatProof uses:
Exists,And,Eq,ENat.card,Set.ofPred,LT.lt,Nat.nth,Nat.Prime,HAdd.hAdd6 instances, coercions and auxiliary constants left out.
def Set.IsPrimeProgressionOfLength (s : Set ℕ) (l : ℕ∞) : Prop := …
- theorem
Erdos141.first_three_odd_primesThe first three odd primes are an example of three consecutive primes line 45 sourceSource documentation
The first three odd primes are an example of three consecutive primes.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos141.Set.IsPrimeProgressionOfLength,
Insert.insert,Nat,Set,OfNat.ofNat,Singleton.singleton,ENatProof uses:
Exists.intro,And,Eq,ENat.card,Set.ofPred,Exists,LT.lt,Nat.nth,Nat.Prime,HAdd.hAdd,And.intro,of_eq_true,Eq.trans,True,congrFun',congrArg,Fintype.card,ENat.card_eq_coe_fintype_card,Fintype.ofFinset,Finsetand 32 more68 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
theorem first_three_odd_primes : ({3, 5, 7} : Set ℕ).IsPrimeProgressionOfLength 3 := by … - def
Erdos141.Set.IsAPAndPrimeProgressionOfLengthThe predicate that a setsis both an arithmetic progression of lengthland a progression oflconsecutive primes line 56 sourceSource documentation
The predicate that a set
sis both an arithmetic progression of lengthland a progression oflconsecutive primes.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
And, Set.IsAPOfLength,ENat, Erdos141.Set.IsPrimeProgressionOfLength3 instances, coercions and auxiliary constants left out.
def Set.IsAPAndPrimeProgressionOfLength (s : Set ℕ) (l : ℕ) := …
- theorem
Erdos141.exists_three_consecutive_primes_in_apThere are 3 consecutive primes in arithmetic progression line 63 sourceSource documentation
There are 3 consecutive primes in arithmetic progression.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Exists,Set,Nat, Erdos141.Set.IsAPAndPrimeProgressionOfLength,OfNat.ofNatProof uses:
Exists.intro,Insert.insert,Singleton.singleton,And.intro, Set.IsAPOfLength,ENat, Erdos141.Set.IsPrimeProgressionOfLength, Set.IsAPOfLengthWith,id,Eq,ENat.card,Set.ofPred,LT.lt,HAdd.hAdd,HSMul.hSMul,of_eq_true,Eq.trans,True,congrFun',congrArgand 38 more75 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
theorem exists_three_consecutive_primes_in_ap : ∃ (s : Set ℕ), s.IsAPAndPrimeProgressionOfLength 3 := by …
- theorem
Erdos141.erdos_141Let $k≥3$ sorry line 78 sourceSource documentation
Let $k≥3$. Are there $k$ consecutive primes in arithmetic progression?
depends on sorry what this means
Statement uses:
Iff,True,Nat,GE.ge,OfNat.ofNat,Exists,Set, Erdos141.Set.IsAPAndPrimeProgressionOfLengthProof 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 erdos_141 : answer(sorry) ↔ ∀ k ≥ 3, ∃ (s : Set ℕ), s.IsAPAndPrimeProgressionOfLength k := by … - theorem
Erdos141.erdos_141.variants.first_casesThe existence of such progressions has been verified for $k≤10$ sorry line 86 sourceSource documentation
The existence of such progressions has been verified for $k≤10$.
depends on sorry what this means
Statement uses:
Nat,GE.ge,OfNat.ofNat,LE.le,Exists,Set, Erdos141.Set.IsAPAndPrimeProgressionOfLengthProof 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 erdos_141.variants.first_cases : (∀ k ≥ 3, k ≤ 10 → ∃ (s : Set ℕ), s.IsAPAndPrimeProgressionOfLength k) := by … - theorem
Erdos141.erdos_141.variants.elevenAre there $11$ consecutive primes in arithmetic progression? sorry line 94 sourceSource documentation
Are there $11$ consecutive primes in arithmetic progression?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Set,Nat, Erdos141.Set.IsAPAndPrimeProgressionOfLength,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_141.variants.eleven : answer(sorry) ↔ ∃ (s : Set ℕ), s.IsAPAndPrimeProgressionOfLength 11 := by … - def
Erdos141.consecutivePrimeArithmeticProgressionsThe set of arithmetic progressions of consecutive primes of length $k$ line 101 sourceSource documentation
The set of arithmetic progressions of consecutive primes of length $k$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,SetProof uses:
Set.ofPred, Erdos141.Set.IsAPAndPrimeProgressionOfLengthdef consecutivePrimeArithmeticProgressions (k : ℕ) : Set (Set ℕ) := …
- theorem
Erdos141.erdos_141.variants.infinite_threeIt is open, even for $k=3$, whether there are infinitely many such progressions sorry line 108 sourceSource documentation
It is open, even for $k=3$, whether there are infinitely many such progressions.
depends on sorry what this means
Statement uses:
Iff,True,Set.Infinite,Set,Nat, Erdos141.consecutivePrimeArithmeticProgressions,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_141.variants.infinite_three : answer(sorry) ↔ (consecutivePrimeArithmeticProgressions 3).Infinite := by … - theorem
Erdos141.erdos_141.variants.infinite_general_caseFix a $k \geq 3$ sorry line 116 sourceSource documentation
Fix a $k \geq 3$. Is it true that there are infinitely many arithmetic prime progressions of length $k$?
depends on sorry what this means
Statement uses:
Iff,True,Nat,GE.ge,OfNat.ofNat,Set.Infinite,Set, Erdos141.consecutivePrimeArithmeticProgressionsProof 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 erdos_141.variants.infinite_general_case : answer(sorry) ↔ ∀ k ≥ 3, (consecutivePrimeArithmeticProgressions k).Infinite := by …