{
  "id": "409",
  "ident": "NS.00409",
  "slug": "erdos-1027",
  "title": "Erdős Problem 1027",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $c>0$, and let $n$ be sufficiently large depending on $c$. Suppose that $\\mathcal{F}$ is a\nfamily of at most $c2^n$ many finite sets of size $n$. Let $X=\\cup_{A\\in \\mathcal{F}}A$.\n\nMust there exist $\\gg_c 2^{\\lvert X\\rvert}$ many sets $B\\subset X$ which intersect every set in\n$\\mathcal{F}$, yet contain none of them?\n\nThe existence of a single such $B$ is equivalent to $\\mathcal{F}$ being $2$-chromatic (or having\nproperty B), see [901](https://www.erdosproblems.com/901).\n\nThis is true, and a proof was given in the comment section by Koishi Chan.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1027.erdos_1027",
  "statement_lean": "theorem erdos_1027 : ∀ c : ℝ, 0 < c → ∃ δ : ℝ, 0 < δ ∧\n    ∀ᶠ n : ℕ in atTop, ∀ (α : Type) [DecidableEq α] (F : Finset (Finset α)),\n      (∀ A ∈ F, A.card = n) → (F.card : ℝ) ≤ c * 2 ^ n →\n        δ * 2 ^ (groundSet F).card ≤ (goodSets F).card",
  "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 1027\n\n*References:*\n- [erdosproblems.com/1027](https://www.erdosproblems.com/1027)\n- [Er64e] Erdős, P., *On a combinatorial problem. II*. Acta Math. Acad. Sci. Hungar. (1964),\n  445-447.\n- [Er71] Erdős, P., *Some unsolved problems in graph theory and combinatorial analysis*.\n  Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) (1971), 97-109.\n-/\n\n@[expose] public section\n\nopen Filter\n\nnamespace Erdos1027\n\nvariable {α : Type*} [DecidableEq α]\n\n/-- The ground set $X=\\bigcup_{A\\in\\mathcal{F}}A$ of a finite family of finite sets. -/\ndef groundSet (F : Finset (Finset α)) : Finset α := F.biUnion id\n\nopen scoped Classical in\n/-- The sets $B\\subseteq X$ which intersect every set in $\\mathcal{F}$, yet contain none of them. -/\ndef goodSets (F : Finset (Finset α)) : Finset (Finset α) :=\n  (groundSet F).powerset.filter fun B ↦ ∀ A ∈ F, (A ∩ B).Nonempty ∧ ¬ A ⊆ B\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $c>0$, and let $n$ be sufficiently large depending on $c$. Suppose that $\\mathcal{F}$ is a\nfamily of at most $c2^n$ many finite sets of size $n$. Let $X=\\cup_{A\\in \\mathcal{F}}A$.\n\nMust there exist $\\gg_c 2^{\\lvert X\\rvert}$ many sets $B\\subset X$ which intersect every set in\n$\\mathcal{F}$, yet contain none of them?\n\nThe existence of a single such $B$ is equivalent to $\\mathcal{F}$ being $2$-chromatic (or having\nproperty B), see [901](https://www.erdosproblems.com/901).\n\nThis is true, and a proof was given in the comment section by Koishi Chan.\n-/\n@[category research solved, question, AMS 5, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1027.lean#L209\"]\ntheorem erdos_1027 : ∀ c : ℝ, 0 < c → ∃ δ : ℝ, 0 < δ ∧\n    ∀ᶠ n : ℕ in atTop, ∀ (α : Type) [DecidableEq α] (F : Finset (Finset α)),\n      (∀ A ∈ F, A.card = n) → (F.card : ℝ) ≤ c * 2 ^ n →\n        δ * 2 ^ (groundSet F).card ≤ (goodSets F).card := by\n  sorry\n\nend Erdos1027\n",
  "statement_hash": "f7de8505e918e72c37ff4c90612ac7b368823ffaa3e090a92fdbbf9ce0f2465b",
  "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."
}