{
  "id": "927",
  "ident": "NS.00927",
  "slug": "erdos-1189",
  "title": "Erdős Problem 1189",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Call a set of distinct integers $1<n_1<\\cdots<n_k$ a covering set if there is a choice of\n$a_i\\pmod{n_i}$ for $1\\leq i\\leq k$ such that every integer satisfies at least one of these\ncongruences. A set is an irreducible covering set if no proper subset is a covering set.\n\nHow many irreducible covering sets of size $k$ are there?\n\nThis is the first part of the questions of Erdős [Er80, p. 95]. We read \"how many\" as asking for\nthe asymptotics of $\\log I(k)$, where $I(k)$ is the number of irreducible covering sets of size\n$k$; this is the scale on which the number of minimal covering systems is known [BBMST24].",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1189.erdos_1189.parts.i",
  "statement_lean": "theorem erdos_1189.parts.i :\n    (fun k : ℕ ↦ Real.log (irreducibleCount k : ℝ)) ~[atTop] erdos_1189.parts.i.answer",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 1189\n\n*References:*\n- [erdosproblems.com/1189](https://www.erdosproblems.com/1189)\n- [Er80] Erdős, P., *A survey of problems in combinatorial number theory*. Ann. Discrete Math. 6\n  (1980), 89-115. [PDF](https://www.renyi.hu/~p_erdos/1980-03.pdf)\n- [Si85] Simpson, R. J., *Regular coverings of the integers by arithmetic progressions*. Acta Arith.\n  45 (1985), 145-152.\n- [Su07] Sun, Z.-W., *On covering numbers*. Combinatorial Number Theory, de Gruyter (2007),\n  443-453. [arXiv:math/0601017](https://arxiv.org/abs/math/0601017)\n- [BBMST24] Balister, P., Bollobás, B., Morris, R., Sahasrabudhe, J. and Tiba, M., *The structure\n  and number of Erdős covering systems*. J. Eur. Math. Soc. 26 (2024), 75-109.\n  [arXiv:1904.04806](https://arxiv.org/abs/1904.04806)\n\nSee also [erdosproblems.com/1188](https://www.erdosproblems.com/1188), which counts minimal\ncovering systems with bounded moduli.\n-/\n\n@[expose] public section\n\nopen Filter Asymptotics\n\nnamespace Erdos1189\n\n/-- `M` is a covering set: all its elements are $> 1$ and some choice of residues\n`a m (mod m)`, one for each `m ∈ M`, is such that every integer satisfies at least one of the\ncongruences. -/\ndef IsCoveringSet (M : Finset ℕ) : Prop :=\n  (∀ m ∈ M, 1 < m) ∧ ∃ a : ℕ → ℤ, ∀ z : ℤ, ∃ m ∈ M, z ≡ a m [ZMOD m]\n\n/-- `M` is an irreducible covering set: it is a covering set and no proper subset of it is. -/\ndef IsIrreducibleCoveringSet (M : Finset ℕ) : Prop :=\n  IsCoveringSet M ∧ ∀ N : Finset ℕ, N ⊂ M → ¬ IsCoveringSet N\n\n/-- The empty set is not a covering set, since the integer `0` satisfies no congruence. -/\n@[category test, AMS 11]\ntheorem not_isCoveringSet_empty : ¬ IsCoveringSet ∅ := by\n  rintro ⟨-, a, ha⟩\n  obtain ⟨m, hm, -⟩ := ha 0\n  simp at hm\n\n/-- $I(k)$ is the number of irreducible covering sets of size `k`. There are only finitely many\n[Er80, p. 95], so `ncard` is the true count. It is `0` if there are none. -/\nnoncomputable def irreducibleCount (k : ℕ) : ℕ :=\n  {M : Finset ℕ | IsIrreducibleCoveringSet M ∧ M.card = k}.ncard\n\n/-- The values taken by the largest modulus $n_k$ over the irreducible covering sets of size\n`k`. -/\ndef largestModulus (k : ℕ) : Set ℕ :=\n  {n | ∃ M : Finset ℕ, IsIrreducibleCoveringSet M ∧ M.card = k ∧ IsGreatest (M : Set ℕ) n}\n\n/-- The maximum of $\\sum 1/n_i$ over the irreducible covering sets $\\{n_1, \\ldots, n_k\\}$ of size\n`k`. There are only finitely many such sets, so the `sSup` is a maximum, except that it is `0` if\nthere are none. -/\nnoncomputable def maxReciprocalSum (k : ℕ) : ℝ :=\n  sSup {s : ℝ | ∃ M : Finset ℕ, IsIrreducibleCoveringSet M ∧ M.card = k ∧\n    s = ∑ m ∈ M, (m : ℝ)⁻¹}\n\ndef erdos_1189.parts.i.answer : ℕ → ℝ := sorry\n\n/--\nCall a set of distinct integers $1<n_1<\\cdots<n_k$ a covering set if there is a choice of\n$a_i\\pmod{n_i}$ for $1\\leq i\\leq k$ such that every integer satisfies at least one of these\ncongruences. A set is an irreducible covering set if no proper subset is a covering set.\n\nHow many irreducible covering sets of size $k$ are there?\n\nThis is the first part of the questions of Erdős [Er80, p. 95]. We read \"how many\" as asking for\nthe asymptotics of $\\log I(k)$, where $I(k)$ is the number of irreducible covering sets of size\n$k$; this is the scale on which the number of minimal covering systems is known [BBMST24].\n-/\n@[category research open, question value, AMS 11]\ntheorem erdos_1189.parts.i :\n    (fun k : ℕ ↦ Real.log (irreducibleCount k : ℝ)) ~[atTop] erdos_1189.parts.i.answer := by\n  sorry\n\ndef erdos_1189.parts.ii.answer : ℕ → ℕ × ℕ := sorry\n\n/--\nCall a set of distinct integers $1<n_1<\\cdots<n_k$ a covering set if there is a choice of\n$a_i\\pmod{n_i}$ for $1\\leq i\\leq k$ such that every integer satisfies at least one of these\ncongruences. A set is an irreducible covering set if no proper subset is a covering set.\n\nWhat is the minimum and maximum that $n_k$ can be?\n\nThis is the second part. Here $n_k$ is the largest element of an irreducible covering set of\nsize $k$. The answer is a pair (minimum, maximum), stated for each $k$ for which an irreducible\ncovering set of size $k$ exists.\n-/\n@[category research open, question value, AMS 11]\ntheorem erdos_1189.parts.ii (k : ℕ)\n    (hk : ∃ M : Finset ℕ, IsIrreducibleCoveringSet M ∧ M.card = k) :\n    IsLeast (largestModulus k) (erdos_1189.parts.ii.answer k).1 ∧\n      IsGreatest (largestModulus k) (erdos_1189.parts.ii.answer k).2 := by\n  sorry\n\ndef erdos_1189.parts.iii.answer : ℕ → ℝ := sorry\n\n/--\nCall a set of distinct integers $1<n_1<\\cdots<n_k$ a covering set if there is a choice of\n$a_i\\pmod{n_i}$ for $1\\leq i\\leq k$ such that every integer satisfies at least one of these\ncongruences. A set is an irreducible covering set if no proper subset is a covering set.\n\nDetermine or estimate $\\max \\sum\\frac{1}{n_i}$, where the maximum ranges over all irreducible\ncovering sets of size $k$.\n\nThis is the third part. We read \"determine or estimate\" as an estimate up to constant factors.\nIn [Er80, p. 95] the maximum is taken over the irreducible covering sets\n$1<n_1<\\cdots<n_k\\leq x$, as a function of $x$; we follow the problem page, which takes it over\nthe irreducible covering sets of size $k$.\n-/\n@[category research open, question value, AMS 11]\ntheorem erdos_1189.parts.iii :\n    maxReciprocalSum =Θ[atTop] erdos_1189.parts.iii.answer := by\n  sorry\n\n/--\nCall a set of distinct integers $1<n_1<\\cdots<n_k$ a covering set if there is a choice of\n$a_i\\pmod{n_i}$ for $1\\leq i\\leq k$ such that every integer satisfies at least one of these\ncongruences. A set is an irreducible covering set if no proper subset is a covering set.\n\nAre there infinitely many $n$ such that the divisors of $n$ (which are $>1$) form an irreducible\ncovering set?\n\nThis is the fourth part. Sun [Su07, Theorem 1.4(i) and Corollary 1.3] proved that the answer is\nyes: see `erdos_1189.variants.sun`.\n-/\n@[category research solved, question, AMS 11]\ntheorem erdos_1189.parts.iv :\n    {n : ℕ | IsIrreducibleCoveringSet (n.divisors.filter (1 < ·))}.Infinite := by\n  sorry\n\n/--\nThe divisors of $12$ (which are $>1$) are an example of an irreducible covering set. Sun [Su07]\nproved more generally that, for any odd prime $p$, the divisors (which are $>1$) of $2^{p-1}p$\nform an irreducible covering set, settling the final question.\n\nThat $n=12$ is an example is already noted in [Er80, p. 95].\n-/\n@[category research solved, AMS 11]\ntheorem erdos_1189.variants.sun (p : ℕ) (hp : p.Prime) (hodd : Odd p) :\n    IsIrreducibleCoveringSet ((2 ^ (p - 1) * p).divisors.filter (1 < ·)) := by\n  sorry\n\n/--\nSimpson [Si85] proved $n_k\\leq 2^{k-1}$.\n\nHere $n_k$ is the largest element of an irreducible covering set of size $k$. The bound follows\nfrom Simpson's theorem [Si85] (see [BBMST24, Theorem 2.4]), as stated in [BBMST24, Section 1].\n-/\n@[category research solved, AMS 11]\ntheorem erdos_1189.variants.simpson (M : Finset ℕ) (hM : IsIrreducibleCoveringSet M) :\n    ∀ n ∈ M, n ≤ 2 ^ (M.card - 1) := by\n  sorry\n\n/-- The constant $\\tau = \\sum_{t \\geq 1} \\log^2\\left(\\frac{t+1}{t}\\right)$ of [BBMST24]. -/\nnoncomputable def bbmstTau : ℝ :=\n  ∑' t : ℕ, Real.log (((t : ℝ) + 2) / ((t : ℝ) + 1)) ^ 2\n\n/--\nLet $I(k)$ count the number of irreducible covering sets of size $k$. Balister, Bollobás, Morris,\nSahasrabudhe, and Tiba [BBMST24] proved that\n$$I(k) \\leq \\exp\\left((c+o(1))\\frac{k^{3/2}}{(\\log k)^{1/2}}\\right)$$\nby proving that the right-hand side is an asymptotic for the number of minimal covering systems\non $k$ moduli.\n\nHere $c = 4\\sqrt{\\tau}/3$ [BBMST24, Theorem 1.1]. The bound for $I(k)$ follows because each\nirreducible covering set is the set of moduli of a minimal covering system. The $o(1)$ is stated\nwith an arbitrary $\\varepsilon > 0$.\n-/\n@[category research solved, AMS 11]\ntheorem erdos_1189.variants.bbmst (ε : ℝ) (hε : 0 < ε) :\n    ∀ᶠ k : ℕ in atTop, (irreducibleCount k : ℝ) ≤\n      Real.exp ((4 * Real.sqrt bbmstTau / 3 + ε) *\n        ((k : ℝ) ^ (3 / 2 : ℝ) / Real.sqrt (Real.log k))) := by\n  sorry\n\nend Erdos1189\n",
  "statement_hash": "fe29b5bd4a76c7b7f2ecacad5d8de2bdb17138f7333aa4632a95ad1515569618",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}