Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 643

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let f(n;t)f(n;t) be minimal such that if a tt-uniform hypergraph on nn vertices contains at least f(n;t)f(n;t) edges then there must be four edges A,B,C,DA,B,C,D such that A∪B=C∪DA\cup B= C\cup D and A∩B=C∩D=∅.A\cap B=C\cap D=\emptyset. Estimate f(n;t)f(n;t) - in particular, is it true that for t≥3t\geq 3 f(n;t)=(1+o(1))(nt−1)?f(n;t)=(1+o(1))\binom{n}{t-1}?

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question
Cite as:NS.02697 [math.CO] · NS.02697v1 for this version
Declaration:Erdos643.erdos_643.parts.i
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:f1e17f2547a53fc90b6aa2bb0ac475186cf78cdec83e42d6f6a9d23cafc6872f
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/643.lean

Formal statement

theorem erdos_643.parts.i :
    ∀ t : ℕ, 1 ≤ t →
      (fun n ↦ (forcingThreshold n t : ℝ)) ~[atTop] erdos_643.parts.i.answer t
Show the full Challenge.lean (149 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 643

*References:*
- [erdosproblems.com/643](https://www.erdosproblems.com/643)
- [Fu84] F\"uredi, Z., Hypergraphs in which all disjoint pairs have distinct unions. Combinatorica
  (1984), 161--168.
- [PiVe09] Pikhurko, Oleg and Verstra\"{e}te, Jacques, The maximum size of hypergraphs without
  generalized 4-cycles. J. Combin. Theory Ser. A (2009), 637--649.
- [HMY26] Huang, Hao, Ma, Jie, and Yang, Tianchi, *Extremal hypergraphs without generalized
  4-cycles*. [arXiv:2609.37744](https://arxiv.org/abs/2609.37744) (2026), Theorem 1.2.
-/

@[expose] public section

namespace Erdos643

open Filter Asymptotics

/-- The least number of edges forcing two distinct disjoint pairs with the same union.
It is one more than the maximum size of an avoiding family. -/
noncomputable def forcingThreshold (n t : ℕ) : ℕ :=
  Hypergraph.extremalNumber n t (fun H ↦ ¬ H.HasRepeatedDisjointUnion) + 1

def erdos_643.parts.i.answer : ℕ → ℕ → ℝ := sorry

/--
Let $f(n;t)$ be minimal such that if a $t$-uniform hypergraph on $n$ vertices contains at least
$f(n;t)$ edges then there must be four edges $A,B,C,D$ such that
$$A\cup B= C\cup D$$
and
$$A\cap B=C\cap D=\emptyset.$$
Estimate $f(n;t)$ - in particular, is it true that for $t\geq 3$
$$f(n;t)=(1+o(1))\binom{n}{t-1}?$$
-/
@[category research open, question value, AMS 5]
theorem erdos_643.parts.i :
    ∀ t : ℕ, 1 ≤ t →
      (fun n ↦ (forcingThreshold n t : ℝ)) ~[atTop] erdos_643.parts.i.answer t := by
  sorry

/--
Is it true that $f(n;t)=(1+o(1))\binom{n}{t-1}$ for $t\geq 3$?

For $t\geq4$, Huang, Ma, and Yang [HMY26] prove the exact extremal formula below.
The case $t=3$ remains open.
-/
@[category research open, question, AMS 5]
theorem erdos_643.parts.ii :
    ∀ t : ℕ, 3 ≤ t →
    (fun n ↦ (forcingThreshold n t : ℝ)) ~[atTop]
        (fun n ↦ (n.choose (t - 1) : ℝ)) := by
  sorry

/-- Huang, Ma, and Yang [HMY26, Theorem 1.2] determine the maximum size of an avoiding family
for each fixed $t\geq4$ and all sufficiently large $n$:
$$\binom{n-1}{t-1}+\left\lfloor\frac{n-1}{t}\right\rfloor.$$
The forcing threshold is one larger. -/
@[category research solved, AMS 5]
theorem erdos_643.variants.exact_t_ge_four :
    ∀ t : ℕ, 4 ≤ t → ∀ᶠ n : ℕ in atTop,
      Hypergraph.extremalNumber n t (fun H ↦ ¬ H.HasRepeatedDisjointUnion) =
        (n - 1).choose (t - 1) + (n - 1) / t := by
  sorry

/-- The largest avoiding family attains the value one below the forcing threshold. -/
@[category API, AMS 5]
theorem exists_avoiding_maximizer (n t : ℕ) :
    ∃ H : Finset (Finset (Fin n)), H.IsUniform t ∧ ¬ H.HasRepeatedDisjointUnion ∧
      H.card + 1 = forcingThreshold n t := by
  classical
  let S := ((Finset.univ : Finset (Fin n)).powersetCard t).powerset.filter
    fun H ↦ ¬ H.HasRepeatedDisjointUnion
  have hne : S.Nonempty := by
    refine ⟨∅, ?_⟩
    simp [S, Finset.HasRepeatedDisjointUnion]
  obtain ⟨H, hH, hmax⟩ := Finset.exists_mem_eq_sup S hne Finset.card
  have hmem := Finset.mem_filter.1 hH
  refine ⟨H, ?_, hmem.2, ?_⟩
  · intro e he
    exact (Finset.mem_powersetCard.1 (Finset.mem_powerset.1 hmem.1 he)).2
  · unfold forcingThreshold
    apply congrArg (fun k : ℕ ↦ k + 1)
    calc
      H.card = S.sup Finset.card := hmax.symm
      _ = Hypergraph.extremalNumber n t (fun H ↦ ¬ H.HasRepeatedDisjointUnion) := by
        unfold Hypergraph.extremalNumber
        congr 1
        ext K
        simp [S]

/-- A bound is at least the forcing threshold exactly when every uniform family with that
many edges contains the forbidden four-edge configuration. -/
@[category API, AMS 5]
theorem forcingThreshold_le_iff (n t m : ℕ) :
    forcingThreshold n t ≤ m ↔
      ∀ H : Finset (Finset (Fin n)), H.IsUniform t →
        m ≤ H.card → H.HasRepeatedDisjointUnion := by
  classical
  constructor
  · intro hm H hHt hcard
    by_contra hfree
    have hmem : H ∈ ((Finset.univ : Finset (Fin n)).powersetCard t).powerset.filter
        (fun H ↦ ¬ H.HasRepeatedDisjointUnion) := by
      refine Finset.mem_filter.2 ⟨Finset.mem_powerset.2 ?_, hfree⟩
      intro e he
      exact Finset.mem_powersetCard.2 ⟨Finset.subset_univ _, hHt e he⟩
    have hmax : H.card < forcingThreshold n t := by
      unfold forcingThreshold
      apply Nat.lt_succ_of_le
      unfold Hypergraph.extremalNumber
      apply Finset.le_sup
      simpa using hmem
    omega
  · intro hm
    obtain ⟨H, hHt, hfree, hmax⟩ := exists_avoiding_maximizer n t
    by_contra hlt
    exact hfree (hm H hHt (by omega))

/-- When no edge of size $t$ fits in the ground set, the threshold is one. -/
@[category test, AMS 5]
theorem forcingThreshold_eq_one_of_lt {n t : ℕ} (h : n < t) :
    forcingThreshold n t = 1 := by
  classical
  have hempty : (Finset.univ : Finset (Fin n)).powersetCard t = ∅ :=
    Finset.powersetCard_eq_empty.2 (by simpa using h)
  simp [forcingThreshold, Hypergraph.extremalNumber, hempty, Finset.HasRepeatedDisjointUnion]

end Erdos643

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos643.erdos_643.parts.i with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_i : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-643
nosorry submit erdos-643 nosorry/erdos-643/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.