{
  "id": "2928",
  "ident": "NS.02928",
  "slug": "erdos-702",
  "title": "Erdős Problem 702",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $k\\geq 4$. If $\\mathcal{F}$ is a family of subsets of $\\{1,\\ldots,n\\}$ with $\\lvert A\\rvert=k$\nfor all $A\\in \\mathcal{F}$ and $\\lvert \\mathcal{F}\\rvert >\\binom{n-2}{k-2}$ then there are\n$A,B\\in\\mathcal{F}$ such that $\\lvert A\\cap B\\rvert=1$.\n\nA conjecture of Erdős and Sós. Katona (unpublished) proved this when $k=4$, and Frankl [Fr77]\nproved this for all $k\\geq 4$.\n\nFrankl's theorem is for $n$ sufficiently large in terms of $k$, and this is the form stated here.\nWithout this assumption the statement is false, see `erdos_702.variants.all_n_false`.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos702.erdos_702",
  "statement_lean": "theorem erdos_702 (k : ℕ) (hk : 4 ≤ k) :\n    ∀ᶠ n in atTop, ∀ 𝓕 : Finset (Finset (Fin n)), 𝓕.IsUniform k →\n      (n - 2).choose (k - 2) < 𝓕.card → ∃ A ∈ 𝓕, ∃ B ∈ 𝓕, (A ∩ B).card = 1",
  "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 702\n\n*References:*\n- [erdosproblems.com/702](https://www.erdosproblems.com/702)\n- [Er75f] Erdős, Paul, _On some problems of elementary and combinatorial geometry_. Ann. Mat.\n  Pura Appl. (4) (1975), 99-108.\n- [Er76b] Erdős, P., _Problems and results in graph theory and combinatorial analysis_.\n  Proceedings of the Fifth British Combinatorial Conference (Univ. Aberdeen, Aberdeen, 1975)\n  (1976), 169-192.\n- [Er81] Erdős, P., _On the combinatorial problems which I would most like to see solved_.\n  Combinatorica (1981), 25-42.\n- [Er82e] Erdős, Paul, _Some of my favourite problems which recently have been solved_. (1982),\n  59--79.\n- [Fr77] Frankl, Péter, _On families of finite sets no two of which intersect in a singleton_.\n  Bull. Austral. Math. Soc. (1977), 125-134.\n-/\n\n@[expose] public section\n\nopen Filter Finset\n\nnamespace Erdos702\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $k\\geq 4$. If $\\mathcal{F}$ is a family of subsets of $\\{1,\\ldots,n\\}$ with $\\lvert A\\rvert=k$\nfor all $A\\in \\mathcal{F}$ and $\\lvert \\mathcal{F}\\rvert >\\binom{n-2}{k-2}$ then there are\n$A,B\\in\\mathcal{F}$ such that $\\lvert A\\cap B\\rvert=1$.\n\nA conjecture of Erdős and Sós. Katona (unpublished) proved this when $k=4$, and Frankl [Fr77]\nproved this for all $k\\geq 4$.\n\nFrankl's theorem is for $n$ sufficiently large in terms of $k$, and this is the form stated here.\nWithout this assumption the statement is false, see `erdos_702.variants.all_n_false`.\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos702.lean#L4740\"]\ntheorem erdos_702 (k : ℕ) (hk : 4 ≤ k) :\n    ∀ᶠ n in atTop, ∀ 𝓕 : Finset (Finset (Fin n)), 𝓕.IsUniform k →\n      (n - 2).choose (k - 2) < 𝓕.card → ∃ A ∈ 𝓕, ∃ B ∈ 𝓕, (A ∩ B).card = 1 := by\n  sorry\n\n/--\nThe statement does not hold for all $n$. For $k=4$ and $n=5$, the family of all $4$-subsets of\n$\\{1,\\ldots,5\\}$ has $5>\\binom{3}{2}$ members, and any two of them meet in at least $3$ elements.\n-/\n@[category textbook, AMS 5]\ntheorem erdos_702.variants.all_n_false :\n    ¬ ∀ k : ℕ, 4 ≤ k → ∀ (n : ℕ) (𝓕 : Finset (Finset (Fin n))), 𝓕.IsUniform k →\n      (n - 2).choose (k - 2) < 𝓕.card → ∃ A ∈ 𝓕, ∃ B ∈ 𝓕, (A ∩ B).card = 1 := by\n  intro h\n  obtain ⟨A, hA, B, hB, hAB⟩ := h 4 le_rfl 5 {A | A.card = 4}\n    (fun A hA ↦ (mem_filter.1 hA).2) (by decide)\n  revert A B\n  decide\n\nend Erdos702\n",
  "statement_hash": "42269b9449947ef8bd6b6e6dc6b5c8980ef43d04f5bfbfdb76a8c5534701c757",
  "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."
}