FormalConjectures/ErdosProblems/427.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
5 declarations, 3 contain sorry, 0 declared as axioms
Erdős Problem 427
Reference: erdosproblems.com/427
Imports (1)
- def
Erdos427.erdos427The predicate that for every $n$ and $d$, there exists $k$ such that $$ d \mid p_{n + 1} + \cdots + p_{n + k}, $$ where $p_r$ denotes the $r$th prime? line 37 sourceSource documentation
The predicate that for every $n$ and $d$, there exists $k$ such that $$ d \mid p_{n + 1} + \cdots + p_{n + k}, $$ where $p_r$ denotes the $r$th prime?
standard axioms: Classical.choice, Quot.sound, propext what this means
Proof uses:
Nat,Ne,OfNat.ofNat,Exists,And,Dvd.dvd,Finset.sum,Finset.Ico,HAdd.hAdd,Nat.nth,Nat.Prime7 instances, coercions and auxiliary constants left out.
def erdos427 : Prop := ∀ (n d : ℕ), …
- def
Erdos427.ShiuTheoremDocumented declaration: ShiuTheorem line 50 sourceSource documentation
The statement of Shiu's theorem: for any $k \geq 1$ and $(a, q) = 1$ there exist infinitely many $k$-tuples of consecutive primes $p_m, \dots, p_{m + k - 1}$ all of which are congruent to $a$ modulo $q$.
[Sh00] Shiu, D. K. L., Strings of congruent primes. J. London Math. Soc. (2) (2000), 359-373.
standard axioms: Classical.choice, Quot.sound, propext what this means
Proof uses:
Nat,LE.le,OfNat.ofNat,Eq,Nat.gcd,Set.Infinite,Set.ofPred,Membership.mem,Finset,Finset.image,Nat.nth,Nat.Prime,Finset.Ico,HAdd.hAdd,Nat.ModEq9 instances, coercions and auxiliary constants left out.
def ShiuTheorem : Prop := ∀ (k a q : ℕ), 1 ≤ k → 1 ≤ q → a.gcd q = 1 → …
- theorem
Erdos427.erdos_427.variants.shiuDocumented declaration: shiu sorry line 64 sourceSource documentation
Shiu's theorem: for any $k \geq 1$ and $(a, q) = 1$ there exist infinitely many $k$-tuples of consecutive primes $p_m, \dots, p_{m + k - 1}$ all of which are congruent to $a$ modulo $q$.
This is stated ahead of
erdos_427because the formal proof linked there assumes it, and theassumingclause must name a declaration that already exists.[Sh00] Shiu, D. K. L., Strings of congruent primes. J. London Math. Soc. (2) (2000), 359-373.
depends on sorry what this means
Statement uses: Erdos427.ShiuTheorem
Proof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,Nat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_427.variants.shiu : ShiuTheorem := by …
Mentions: Erdos427.ShiuTheorem
- theorem
Erdos427.erdos_427sorry line 78 sourcedepends on sorry what this means
Statement uses:
Iff,True, Erdos427.erdos427Proof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,Nat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos427.erdos_427.variants.of_shiuCedric Pilatte has observed that a positive solution to Erdős Problem 427 follows from Shiu's theorem sorry line 86 sourceSource documentation
Cedric Pilatte has observed that a positive solution to Erdős Problem 427 follows from Shiu's theorem.
depends on sorry what this means
Statement uses: Erdos427.ShiuTheorem, Erdos427.erdos427
Proof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,Nat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_427.variants.of_shiu (H : ShiuTheorem) : erdos427 := by …
Mentions: Erdos427.ShiuTheorem, Erdos427.erdos427