Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 204

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Are there nn such that there is a covering system with moduli the divisors of nn which is 'as disjoint as possible'?

That is, for all d∣nd\mid n with d>1d>1 there is an associated ada_d such that every integer is congruent to some ad(modd)a_d\pmod{d}, and if there is some integer xx with x≡ad(modd) and x≡ad′(modd′)x\equiv a_d\pmod{d}\textrm{ and }x\equiv a_{d'}\pmod{d'}then (d,d′)=1(d,d')=1.

The density of such nn is zero. Erdős and Graham believed that no such nn exist.

Adenwalla [Ad25] has proved there are no such nn.

This was formalized by van Doorn in Lean using Aristotle.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question, formal_proof
Cite as:NS.01292 [math.CO] · NS.01292v1 for this version
Declaration:Erdos204.erdos_204
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:f0e055747683fb2009c0f5a442f5d6c97bcdc65d4272a11f898dd7ad385e1f99
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/204.lean

Formal statement

theorem erdos_204 : ¬ ∃ (n : ℕ) (a : ℕ → ℤ),
    let D := {d : ℕ | d ∣ n ∧ d > 1}
    (∀ x : ℤ, ∃ d ∈ D, x ≡ a d [ZMOD d]) ∧
    (∀ d ∈ D, ∀ d' ∈ D, d ≠ d' → (∃ x : ℤ, x ≡ a d [ZMOD d] ∧ x ≡ a d' [ZMOD d']) →
      Nat.gcd d d' = 1)
Show the full Challenge.lean (56 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 204

*References:*
- [erdosproblems.com/204](https://www.erdosproblems.com/204)
- [Ad25] S. Adenwalla, A Question of Erdős and Graham on Covering Systems. arXiv:2501.15170 (2025).
-/

@[expose] public section

namespace Erdos204

set_option linter.style.formal_proof_palomar false in
/--
Are there $n$ such that there is a covering system with moduli the divisors of $n$ which is 'as
disjoint as possible'?

That is, for all $d\mid n$ with $d>1$ there is an associated $a_d$ such that every integer is
congruent to some $a_d\pmod{d}$, and if there is some integer $x$ with
$$x\equiv a_d\pmod{d}\textrm{ and }x\equiv a_{d'}\pmod{d'}$$then $(d,d')=1$.

The density of such $n$ is zero. Erdős and Graham believed that no such $n$ exist.

Adenwalla [Ad25] has proved there are no such $n$.

This was formalized by van Doorn in Lean using Aristotle.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/Woett/Lean-files/blob/main/ErdosProblem204.lean"]
theorem erdos_204 : ¬ ∃ (n : ℕ) (a : ℕ → ℤ),
    let D := {d : ℕ | d ∣ n ∧ d > 1}
    (∀ x : ℤ, ∃ d ∈ D, x ≡ a d [ZMOD d]) ∧
    (∀ d ∈ D, ∀ d' ∈ D, d ≠ d' → (∃ x : ℤ, x ≡ a d [ZMOD d] ∧ x ≡ a d' [ZMOD d']) →
      Nat.gcd d d' = 1) := by
  sorry

end Erdos204

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos204.erdos_204 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_204 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-204
nosorry submit erdos-204 nosorry/erdos-204/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.