FormalConjectures/ErdosProblems/473.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
2 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 473
References:
- erdosproblems.com/473
- [ErGr80] Erdős, P. and Graham, R., Old and new problems and results in combinatorial number theory, Monographies de L'Enseignement Mathématique (1980).
Imports (1)
- theorem
Erdos473.erdos_473sorry line 44 sourcedepends on sorry what this means
Statement uses:
Iff,True,Exists,Equiv,Nat,PNat,Nat.Prime,HAdd.hAdd,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos473.erdos_473.variants.finiteSegal also asked whether for every $n \ge 2$ there is a permutation $a_1, \ldots, a_n$ of $\{1, \ldots, n\}$ such that $a_k + a_{k+1}$ is prime for all $1 \le k < n$ sorry line 54 sourceSource documentation
Segal also asked whether for every $n \ge 2$ there is a permutation $a_1, \ldots, a_n$ of $\{1, \ldots, n\}$ such that $a_k + a_{k+1}$ is prime for all $1 \le k < n$. This is conjectured to be true, and has been verified for infinitely many $n$.
depends on sorry what this means
Statement uses:
Iff,True,Nat,LE.le,OfNat.ofNat,Exists,Equiv,Fin,LT.lt,HAdd.hAdd,Nat.Prime,Fin.mkProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous18 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_473.variants.finite : answer(sorry) ↔ ∀ n : ℕ, 2 ≤ n → ∃ a : Fin n ≃ Fin n, ∀ k : Fin n, ∀ h : k.val + 1 < n, ((a k).val + 1 + ((a ⟨k.val + 1, h⟩).val + 1)).Prime := by …