FormalConjectures/ErdosProblems/689.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
1 declarations, 1 contain sorry, 0 declared as axioms
Imports (1)
Imported by 1 file
- theorem
Erdos689.erdos_689Letnbe sufficiently large sorry line 37 sourceSource documentation
Let
nbe sufficiently large. Is there some choice of congruence classa_pfor all primes2 ≤ p ≤ nsuch that every integer in[1,n]satisfies at least two of the congruences≡ a_p (mod p)?depends on sorry what this means
Statement uses:
Iff,True,Filter.Eventually,Nat,Exists,Membership.mem,Finset,Finset.Icc,OfNat.ofNat,LE.le,Finset.card,Finset.filter,And,Nat.Prime,Nat.ModEq,Filter.atTopProof 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_689 : answer(sorry) ↔ ∀ᶠ n in .atTop, ∃ a : ℕ → ℕ, ∀ m ∈ Finset.Icc 1 n, 2 ≤ (Finset.Icc 1 n |>.filter fun p => p.Prime ∧ a p ≡ m [MOD p]).card := by …