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 1036

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:

Let GG be a graph on nn vertices which does not contain a trivial (empty or complete) graph on more than clog⁡nc\log n vertices. Must GG contain at least 2Ωc(n)2^{\Omega_c(n)} many induced subgraphs which are not pairwise isomorphic?

This is true, and was proved by Shelah [Sh98].

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

Formal statement

theorem erdos_1036 :
    ∀ c : ℝ, 0 < c → ∃ δ : ℝ, 0 < δ ∧ ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      G.IsCRamsey c →
        HasManyNonIsomorphicInducedSubgraphs G ((2 : ℝ) ^ (δ * (n : ℝ)))
Show the full Challenge.lean (98 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1036

*References:*
- [erdosproblems.com/1036](https://www.erdosproblems.com/1036)
- [AlHa91] Alon, N. and Hajnal, A., *Ramsey graphs contain many distinct induced subgraphs*.
  Graphs Combin. (1991), 1-6.
- [ErHa89b] Erdős, P. and Hajnal, A., *On the number of distinct induced subgraphs of a graph*.
  Discrete Math. (1989), 145-154.
- [Sh98] Shelah, Saharon, *Erdős and Rényi conjecture*. J. Combin. Theory Ser. A (1998), 179-185.
-/

@[expose] public section

open Filter

namespace Erdos1036

/--
`G` contains at least `k` many induced subgraphs which are not pairwise isomorphic, that is,
there is a family of at least `k` many sets of vertices whose induced subgraphs are pairwise
non-isomorphic.
-/
def HasManyNonIsomorphicInducedSubgraphs {V : Type*} (G : SimpleGraph V) (k : ℝ) : Prop :=
  ∃ 𝒮 : Set (Set V), (𝒮.Pairwise fun s t => IsEmpty (G.induce s ≃g G.induce t)) ∧
    k ≤ (𝒮.ncard : ℝ)

/--
Neither `G` nor its complement contains a balanced complete bipartite graph $K_{k,k}$ on more
than `m` vertices as a (not necessarily induced) subgraph. That is, there are no two disjoint
sets of `k` vertices with $2k > m$ such that every pair of vertices from different sets is
adjacent in `G`, or every such pair is non-adjacent in `G`.
-/
def NoLargeBiclique {V : Type*} (G : SimpleGraph V) (m : ℝ) : Prop :=
  ∀ k : ℕ, ((completeBipartiteGraph (Fin k) (Fin k)).IsContained G ∨
    (completeBipartiteGraph (Fin k) (Fin k)).IsContained Gᶜ) → (2 * k : ℝ) ≤ m

set_option linter.style.formal_proof_palomar false in
/--
Let $G$ be a graph on $n$ vertices which does not contain a trivial (empty or complete) graph on
more than $c\log n$ vertices. Must $G$ contain at least $2^{\Omega_c(n)}$ many induced subgraphs
which are not pairwise isomorphic?

This is true, and was proved by Shelah [Sh98].
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos1036.lean"]
theorem erdos_1036 :
    ∀ c : ℝ, 0 < c → ∃ δ : ℝ, 0 < δ ∧ ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      G.IsCRamsey c →
        HasManyNonIsomorphicInducedSubgraphs G ((2 : ℝ) ^ (δ * (n : ℝ))) := by
  sorry

/--
Alon and Hajnal [AlHa91] proved that $G$ must contain at least
$$\exp\left(n(\log n)^{-O(\log\log n)}\right)$$
many non-isomorphic induced subgraphs.
-/
@[category research solved, AMS 5]
theorem erdos_1036.variants.alon_hajnal :
    ∀ c : ℝ, 0 < c → ∃ C : ℝ, 0 < C ∧ ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      G.IsCRamsey c →
        HasManyNonIsomorphicInducedSubgraphs G
          (Real.exp ((n : ℝ) * Real.log (n : ℝ) ^ (-(C * Real.log (Real.log (n : ℝ)))))) := by
  sorry

/--
Erdős and Hajnal [ErHa89b] proved that if neither $G$ nor its complement contains a balanced
complete bipartite graph $K_{k,k}$ on more than $c\log n$ vertices (as a not necessarily induced
subgraph) then $G$ contains at least $2^{\Omega_c(n)}$ many non-isomorphic induced subgraphs.
-/
@[category research solved, AMS 5]
theorem erdos_1036.variants.erdos_hajnal :
    ∀ c : ℝ, 0 < c → ∃ δ : ℝ, 0 < δ ∧ ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      NoLargeBiclique G (c * Real.log (n : ℝ)) →
        HasManyNonIsomorphicInducedSubgraphs G ((2 : ℝ) ^ (δ * (n : ℝ))) := by
  sorry

end Erdos1036

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

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