{
  "id": "2697",
  "ident": "NS.02697",
  "slug": "erdos-643",
  "title": "Erdős Problem 643",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $f(n;t)$ be minimal such that if a $t$-uniform hypergraph on $n$ vertices contains at least\n$f(n;t)$ edges then there must be four edges $A,B,C,D$ such that\n$$A\\cup B= C\\cup D$$\nand\n$$A\\cap B=C\\cap D=\\emptyset.$$\nEstimate $f(n;t)$ - in particular, is it true that for $t\\geq 3$\n$$f(n;t)=(1+o(1))\\binom{n}{t-1}?$$",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos643.erdos_643.parts.i",
  "statement_lean": "theorem erdos_643.parts.i :\n    ∀ t : ℕ, 1 ≤ t →\n      (fun n ↦ (forcingThreshold n t : ℝ)) ~[atTop] erdos_643.parts.i.answer t",
  "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 643\n\n*References:*\n- [erdosproblems.com/643](https://www.erdosproblems.com/643)\n- [Fu84] F\\\"uredi, Z., Hypergraphs in which all disjoint pairs have distinct unions. Combinatorica\n  (1984), 161--168.\n- [PiVe09] Pikhurko, Oleg and Verstra\\\"{e}te, Jacques, The maximum size of hypergraphs without\n  generalized 4-cycles. J. Combin. Theory Ser. A (2009), 637--649.\n- [HMY26] Huang, Hao, Ma, Jie, and Yang, Tianchi, *Extremal hypergraphs without generalized\n  4-cycles*. [arXiv:2609.37744](https://arxiv.org/abs/2609.37744) (2026), Theorem 1.2.\n-/\n\n@[expose] public section\n\nnamespace Erdos643\n\nopen Filter Asymptotics\n\n/-- The least number of edges forcing two distinct disjoint pairs with the same union.\nIt is one more than the maximum size of an avoiding family. -/\nnoncomputable def forcingThreshold (n t : ℕ) : ℕ :=\n  Hypergraph.extremalNumber n t (fun H ↦ ¬ H.HasRepeatedDisjointUnion) + 1\n\ndef erdos_643.parts.i.answer : ℕ → ℕ → ℝ := sorry\n\n/--\nLet $f(n;t)$ be minimal such that if a $t$-uniform hypergraph on $n$ vertices contains at least\n$f(n;t)$ edges then there must be four edges $A,B,C,D$ such that\n$$A\\cup B= C\\cup D$$\nand\n$$A\\cap B=C\\cap D=\\emptyset.$$\nEstimate $f(n;t)$ - in particular, is it true that for $t\\geq 3$\n$$f(n;t)=(1+o(1))\\binom{n}{t-1}?$$\n-/\n@[category research open, question value, AMS 5]\ntheorem erdos_643.parts.i :\n    ∀ t : ℕ, 1 ≤ t →\n      (fun n ↦ (forcingThreshold n t : ℝ)) ~[atTop] erdos_643.parts.i.answer t := by\n  sorry\n\n/--\nIs it true that $f(n;t)=(1+o(1))\\binom{n}{t-1}$ for $t\\geq 3$?\n\nFor $t\\geq4$, Huang, Ma, and Yang [HMY26] prove the exact extremal formula below.\nThe case $t=3$ remains open.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_643.parts.ii :\n    ∀ t : ℕ, 3 ≤ t →\n    (fun n ↦ (forcingThreshold n t : ℝ)) ~[atTop]\n        (fun n ↦ (n.choose (t - 1) : ℝ)) := by\n  sorry\n\n/-- Huang, Ma, and Yang [HMY26, Theorem 1.2] determine the maximum size of an avoiding family\nfor each fixed $t\\geq4$ and all sufficiently large $n$:\n$$\\binom{n-1}{t-1}+\\left\\lfloor\\frac{n-1}{t}\\right\\rfloor.$$\nThe forcing threshold is one larger. -/\n@[category research solved, AMS 5]\ntheorem erdos_643.variants.exact_t_ge_four :\n    ∀ t : ℕ, 4 ≤ t → ∀ᶠ n : ℕ in atTop,\n      Hypergraph.extremalNumber n t (fun H ↦ ¬ H.HasRepeatedDisjointUnion) =\n        (n - 1).choose (t - 1) + (n - 1) / t := by\n  sorry\n\n/-- The largest avoiding family attains the value one below the forcing threshold. -/\n@[category API, AMS 5]\ntheorem exists_avoiding_maximizer (n t : ℕ) :\n    ∃ H : Finset (Finset (Fin n)), H.IsUniform t ∧ ¬ H.HasRepeatedDisjointUnion ∧\n      H.card + 1 = forcingThreshold n t := by\n  classical\n  let S := ((Finset.univ : Finset (Fin n)).powersetCard t).powerset.filter\n    fun H ↦ ¬ H.HasRepeatedDisjointUnion\n  have hne : S.Nonempty := by\n    refine ⟨∅, ?_⟩\n    simp [S, Finset.HasRepeatedDisjointUnion]\n  obtain ⟨H, hH, hmax⟩ := Finset.exists_mem_eq_sup S hne Finset.card\n  have hmem := Finset.mem_filter.1 hH\n  refine ⟨H, ?_, hmem.2, ?_⟩\n  · intro e he\n    exact (Finset.mem_powersetCard.1 (Finset.mem_powerset.1 hmem.1 he)).2\n  · unfold forcingThreshold\n    apply congrArg (fun k : ℕ ↦ k + 1)\n    calc\n      H.card = S.sup Finset.card := hmax.symm\n      _ = Hypergraph.extremalNumber n t (fun H ↦ ¬ H.HasRepeatedDisjointUnion) := by\n        unfold Hypergraph.extremalNumber\n        congr 1\n        ext K\n        simp [S]\n\n/-- A bound is at least the forcing threshold exactly when every uniform family with that\nmany edges contains the forbidden four-edge configuration. -/\n@[category API, AMS 5]\ntheorem forcingThreshold_le_iff (n t m : ℕ) :\n    forcingThreshold n t ≤ m ↔\n      ∀ H : Finset (Finset (Fin n)), H.IsUniform t →\n        m ≤ H.card → H.HasRepeatedDisjointUnion := by\n  classical\n  constructor\n  · intro hm H hHt hcard\n    by_contra hfree\n    have hmem : H ∈ ((Finset.univ : Finset (Fin n)).powersetCard t).powerset.filter\n        (fun H ↦ ¬ H.HasRepeatedDisjointUnion) := by\n      refine Finset.mem_filter.2 ⟨Finset.mem_powerset.2 ?_, hfree⟩\n      intro e he\n      exact Finset.mem_powersetCard.2 ⟨Finset.subset_univ _, hHt e he⟩\n    have hmax : H.card < forcingThreshold n t := by\n      unfold forcingThreshold\n      apply Nat.lt_succ_of_le\n      unfold Hypergraph.extremalNumber\n      apply Finset.le_sup\n      simpa using hmem\n    omega\n  · intro hm\n    obtain ⟨H, hHt, hfree, hmax⟩ := exists_avoiding_maximizer n t\n    by_contra hlt\n    exact hfree (hm H hHt (by omega))\n\n/-- When no edge of size $t$ fits in the ground set, the threshold is one. -/\n@[category test, AMS 5]\ntheorem forcingThreshold_eq_one_of_lt {n t : ℕ} (h : n < t) :\n    forcingThreshold n t = 1 := by\n  classical\n  have hempty : (Finset.univ : Finset (Fin n)).powersetCard t = ∅ :=\n    Finset.powersetCard_eq_empty.2 (by simpa using h)\n  simp [forcingThreshold, Hypergraph.extremalNumber, hempty, Finset.HasRepeatedDisjointUnion]\n\nend Erdos643\n",
  "statement_hash": "f1e17f2547a53fc90b6aa2bb0ac475186cf78cdec83e42d6f6a9d23cafc6872f",
  "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."
}