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 497

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

How many antichains in [n][n] are there? That is, how many families of subsets of [n][n] are there such that, if F\mathcal{F} is such a family and A,B∈FA,B\in \mathcal{F}, then A⊈BA\not\subseteq B?

Sperner's theorem states that ∣F∣≤(n⌊n/2⌋)\lvert \mathcal{F}\rvert \leq \binom{n}{\lfloor n/2\rfloor}. This is also known as Dedekind's problem. Resolved by Kleitman [Kl69], who proved that the number of such families is 2(1+o(1))(n⌊n/2⌋).2^{(1+o(1))\binom{n}{\lfloor n/2\rfloor}}.

Subjects:Combinatorics (math.CO)
MSC classes:05, 06
Tags:formal_proof
Cite as:NS.02277 [math.CO] · NS.02277v1 for this version
Declaration:Erdos497.erdos_497
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:1d045fe1bd9acedd955a092b2b1117cb1388000314a7f9efe3279712166c7e69
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/497.lean

Formal statement

theorem erdos_497 :
    ∃ (o : ℕ → ℝ) (_ : o =o[atTop] (1 : ℕ → ℝ)),
      ∀ n : ℕ, (DedekindNumber.M' n : ℝ) = 2 ^ ((1 + o n) * (n.choose (n / 2) : ℝ))
Show the full Challenge.lean (56 lines) — definitions included
module

public import FormalConjectures.Wikipedia.DedekindNumber
public import FormalConjecturesUtil

/-!
# Erdős Problem 497

*References:*
- [erdosproblems.com/497](https://www.erdosproblems.com/497)
- [Er61] Erdős, Paul, *Some unsolved problems*. Magyar Tud. Akad. Mat. Kutató Int. Közl. (1961),
  221-254.
- [Kl69] Kleitman, Daniel, *On Dedekind's problem: The number of monotone Boolean functions*.
  Proc. Amer. Math. Soc. (1969), 677-682.
-/

@[expose] public section

open Filter

namespace Erdos497

set_option linter.style.formal_proof_palomar false in
/--
How many antichains in $[n]$ are there? That is, how many families of subsets of $[n]$ are
there such that, if $\mathcal{F}$ is such a family and $A,B\in \mathcal{F}$, then
$A\not\subseteq B$?

Sperner's theorem states that $\lvert \mathcal{F}\rvert \leq \binom{n}{\lfloor n/2\rfloor}$.
This is also known as Dedekind's problem. Resolved by Kleitman [Kl69], who proved that the
number of such families is
$$2^{(1+o(1))\binom{n}{\lfloor n/2\rfloor}}.$$
-/
@[category research solved, AMS 5 6, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/1d7b3f00780b85ed0462e79a1cd5650ee9055655/src/v4.29.1/ErdosProblems/Erdos497.lean"]
theorem erdos_497 :
    ∃ (o : ℕ → ℝ) (_ : o =o[atTop] (1 : ℕ → ℝ)),
      ∀ n : ℕ, (DedekindNumber.M' n : ℝ) = 2 ^ ((1 + o n) * (n.choose (n / 2) : ℝ)) := by
  sorry

end Erdos497

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

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

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.