{
  "id": "2172",
  "ident": "NS.02172",
  "slug": "erdos-447",
  "title": "Erdős Problem 447",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "How large can a union-free collection $\\mathcal{F}$ of subsets of $[n]$ be? By union-free we mean\nthere are no solutions to $A\\cup B=C$ with distinct $A,B,C\\in \\mathcal{F}$. Must\n$\\lvert \\mathcal{F}\\rvert =o(2^n)$?\n\nIn [Er65b] Erdős reported that the estimate $\\lvert \\mathcal{F}\\rvert=o(2^n)$ was proved in\nunpublished work by Sárközy and Szemerédi.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos447.erdos_447.parts.i",
  "statement_lean": "theorem erdos_447.parts.i :\n    (fun n : ℕ => (maxUnionFree n : ℝ)) =o[atTop] (fun n : ℕ => (2 : ℝ) ^ n)",
  "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 447\n\n*References:*\n- [erdosproblems.com/447](https://www.erdosproblems.com/447)\n- [Er65b] Erdős, Paul, *Some recent advances and current problems in number theory*. Lectures on\n  Modern Mathematics, Vol. III (1965), 196-244.\n- [Kl71] Kleitman, Daniel, *Collections of subsets containing no two sets and their union*.\n  Proceedings of the LA Meeting AMS (1971), 153-155.\n-/\n\n@[expose] public section\n\nopen Filter\n\nnamespace Erdos447\n\n/-- The largest size of a union-free collection $\\mathcal{F}$ of subsets of $[n]$. -/\nnoncomputable def maxUnionFree (n : ℕ) : ℕ :=\n  sSup { k | ∃ F : Finset (Finset (Fin n)), F.UnionFree ∧ F.card = k }\n\n/--\nHow large can a union-free collection $\\mathcal{F}$ of subsets of $[n]$ be? By union-free we mean\nthere are no solutions to $A\\cup B=C$ with distinct $A,B,C\\in \\mathcal{F}$. Must\n$\\lvert \\mathcal{F}\\rvert =o(2^n)$?\n\nIn [Er65b] Erdős reported that the estimate $\\lvert \\mathcal{F}\\rvert=o(2^n)$ was proved in\nunpublished work by Sárközy and Szemerédi.\n-/\n@[category research solved, question, AMS 5]\ntheorem erdos_447.parts.i :\n    (fun n : ℕ => (maxUnionFree n : ℝ)) =o[atTop] (fun n : ℕ => (2 : ℝ) ^ n) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nHow large can a union-free collection $\\mathcal{F}$ of subsets of $[n]$ be? By union-free we mean\nthere are no solutions to $A\\cup B=C$ with distinct $A,B,C\\in \\mathcal{F}$. Perhaps even\n$$\\lvert \\mathcal{F}\\rvert <(1+o(1))\\binom{n}{\\lfloor n/2\\rfloor}?$$\n\nSolved by Kleitman [Kl71], who proved\n$$\\lvert \\mathcal{F}\\rvert <(1+o(1))\\binom{n}{\\lfloor n/2\\rfloor}.$$\n-/\n@[category research solved, question, AMS 5, formal_proof using lean4 at \"https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos447.lean\"]\ntheorem erdos_447.parts.ii :\n    ∃ c : ℕ → ℝ, (c =o[atTop] (1 : ℕ → ℝ)) ∧ ∀ᶠ n : ℕ in atTop,\n      (maxUnionFree n : ℝ) < (1 + c n) * (n.choose (n / 2) : ℝ) := by\n  sorry\n\nend Erdos447\n",
  "statement_hash": "7b4708404dce4c4a0e481dec402d460d93e07ee3a2b4a19f75896f58f9010073",
  "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."
}