FormalConjectures/ErdosProblems/275.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
Erdős Problem 275
References:
- erdosproblems.com/275
- [CrVE70] R.B. Crittenden and C.L. Vanden Eynden, Any n arithmetic progressions covering the first 2^n integers cover all integers, Proc. Amer. Math. Soc. 24 (1970), 475-481.
Imports (1)
- theorem
Erdos275.erdos_275If a finite system of $r$ congruences $\{ a_i\pmod{n_i} : 1\leq i\leq r\}$ (the $n_i$ are not necessarily distinct) covers $2^r$ consecutive integers then it covers all integers sorry line 45 sourceSource documentation
If a finite system of $r$ congruences $\{ a_i\pmod{n_i} : 1\leq i\leq r\}$ (the $n_i$ are not necessarily distinct) covers $2^r$ consecutive integers then it covers all integers.
This is best possible as the system $2^{i-1}\pmod{2^i}$ shows. This was proved independently by Selfridge and Crittenden and Vanden Eynden [CrVE70].
This was formalized in Lean by Alexeev using Aristotle.
depends on sorry what this means
Statement uses:
Nat,Fin,Int,Exists,Membership.mem,Set,Set.Ico,HAdd.hAdd,HPow.hPow,OfNat.ofNat,Int.ModEqProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous33 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_275 (r : ℕ) (a : Fin r → ℤ) (n : Fin r → ℕ) (H : ∃ k : ℤ, ∀ x ∈ Ico k (k + 2 ^ r), ∃ i, x ≡ a i [ZMOD n i]) (x : ℤ) : ∃ i, x ≡ a i [ZMOD n i] := by …