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 636

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:

Suppose GG is a graph on nn vertices which contains no complete graph or independent set on ≫log⁡n\gg \log n many vertices. Must GG contain ≫n5/2\gg n^{5/2} induced subgraphs which pairwise differ in either the number of vertices or the number of edges?

A problem of Erdős, Faudree, and Sós (although in [Er93] Erdős credits this question to Alon and Bollobás). This was proved by Kwan and Sudakov [KwSu21].

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

Formal statement

theorem erdos_636 :
    ∀ C > (0 : ℝ), ∃ γ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      (G.cliqueNum : ℝ) < C * Real.log n → (G.indepNum : ℝ) < C * Real.log n →
        HasManyDistinctInducedSubgraphs G (γ * (n : ℝ) ^ (5 / 2 : ℝ))
Show the full Challenge.lean (96 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 636

*References:*
- [erdosproblems.com/636](https://www.erdosproblems.com/636)
- [AlKo09] Alon, N. and Kostochka, A. V., *Induced subgraphs with distinct sizes*.
  Random Structures Algorithms 34 (2009), 45-53.
- [Er93] Erdős, Paul, *Some of my favorite solved and unsolved problems in graph theory*.
  Quaestiones Math. (1993), 333-350.
- [Er97d] Erdős, Paul, *Some recent problems and results in graph theory*. Discrete Math. (1997),
  81-85.
- [KwSu21] Kwan, M. and Sudakov, B., *Proof of a conjecture on induced subgraphs of Ramsey graphs*.
  Trans. Amer. Math. Soc. 372 (2019), 5571-5594.
  [arXiv:1712.05656](https://arxiv.org/abs/1712.05656)
-/

@[expose] public section

open Filter

namespace Erdos636

/--
`G` contains at least `k` many induced subgraphs which pairwise differ in either the number of
vertices or the number of edges, that is, there is a family of at least `k` many sets of vertices
such that any two of them have different sizes or induce different numbers of edges.
-/
def HasManyDistinctInducedSubgraphs {V : Type*} (G : SimpleGraph V) (k : ℝ) : Prop :=
  ∃ 𝒮 : Set (Set V), 𝒮.Pairwise (fun s t => s.ncard ≠ t.ncard ∨
      (G.induce s).edgeSet.ncard ≠ (G.induce t).edgeSet.ncard) ∧
    k ≤ (𝒮.ncard : ℝ)

set_option linter.style.formal_proof_palomar false in
/--
Suppose $G$ is a graph on $n$ vertices which contains no complete graph or independent set on
$\gg \log n$ many vertices. Must $G$ contain $\gg n^{5/2}$ induced subgraphs which pairwise differ
in either the number of vertices or the number of edges?

A problem of Erdős, Faudree, and Sós (although in [Er93] Erdős credits this question to Alon and
Bollobás). This was proved by Kwan and Sudakov [KwSu21].
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos636.lean#L739"]
theorem erdos_636 :
    ∀ C > (0 : ℝ), ∃ γ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      (G.cliqueNum : ℝ) < C * Real.log n → (G.indepNum : ℝ) < C * Real.log n →
        HasManyDistinctInducedSubgraphs G (γ * (n : ℝ) ^ (5 / 2 : ℝ)) := by
  sorry

/--
Erdős, Faudree, and Sós proved that there exist $\gg n^{3/2}$ many such subgraphs, as stated on
erdosproblems.com. Section 2 of [KwSu21] describes two short proofs of this weaker bound.
-/
@[category research solved, AMS 5]
theorem erdos_636.variants.erdos_faudree_sos :
    ∀ C > (0 : ℝ), ∃ γ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      (G.cliqueNum : ℝ) < C * Real.log n → (G.indepNum : ℝ) < C * Real.log n →
        HasManyDistinctInducedSubgraphs G (γ * (n : ℝ) ^ (3 / 2 : ℝ)) := by
  sorry

/--
Erdős, Faudree, and Sós note that the exponent $5/2$ would be best possible: there are graphs on
$n$ vertices with no complete graph or independent set on $\gg \log n$ many vertices which contain
only $O(n^{5/2})$ induced subgraphs that pairwise differ in either the number of vertices or the
number of edges. For example, the random graph $G(n, 1/2)$ has this property with high
probability. This is the remark following Theorem 1.1 in [KwSu21], where it is proved in sketch
form by a concentration inequality and a union bound; see also [AlKo09, Section 4].
-/
@[category research solved, AMS 5]
theorem erdos_636.variants.best_possible :
    ∃ C > (0 : ℝ), ∃ K : ℝ, ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n),
      (G.cliqueNum : ℝ) < C * Real.log n ∧ (G.indepNum : ℝ) < C * Real.log n ∧
        ¬ HasManyDistinctInducedSubgraphs G (K * (n : ℝ) ^ (5 / 2 : ℝ)) := by
  sorry

end Erdos636

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

nosorry fetch erdos-636
nosorry submit erdos-636 nosorry/erdos-636/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.