{
  "id": "2502",
  "ident": "NS.02502",
  "slug": "erdos-578",
  "title": "Erdős Problem 578",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "If $G$ is a random graph on $2^d$ vertices, including each edge with probability $1/2$, then $G$\nalmost surely contains a copy of $Q_d$ (the $d$-dimensional hypercube with $2^d$ vertices and\n$d2^{d-1}$ many edges).\n\nA conjecture of Erdős and Bollobás. Solved by Riordan [Ri00], who in fact proved this with any\nedge-probability $>1/4$.\n\nHere almost surely means that the probability tends to $1$ as $d\\to\\infty$.",
  "subjects": [
    "math.CO",
    "math.PR",
    "msc:05",
    "msc:60"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos578.erdos_578",
  "statement_lean": "theorem erdos_578 :\n    Tendsto (fun d : ℕ =>\n      binomialRandom (Fin d → Bool) ⟨1 / 2, by norm_num⟩\n        {G | (hypercube d).IsContained G}) atTop (nhds 1)",
  "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 578\n\n*References:*\n- [erdosproblems.com/578](https://www.erdosproblems.com/578)\n- [Ri00] Riordan, Oliver, *Spanning subgraphs of random graphs*.\n  Combin. Probab. Comput. (2000), 125-148. [DOI](https://doi.org/10.1017/S0963548399004150)\n-/\n\n@[expose] public section\n\nopen Filter SimpleGraph\n\nnamespace Erdos578\n\n/--\nIf $G$ is a random graph on $2^d$ vertices, including each edge with probability $1/2$, then $G$\nalmost surely contains a copy of $Q_d$ (the $d$-dimensional hypercube with $2^d$ vertices and\n$d2^{d-1}$ many edges).\n\nA conjecture of Erdős and Bollobás. Solved by Riordan [Ri00], who in fact proved this with any\nedge-probability $>1/4$.\n\nHere almost surely means that the probability tends to $1$ as $d\\to\\infty$.\n-/\n@[category research solved, AMS 5 60]\ntheorem erdos_578 :\n    Tendsto (fun d : ℕ =>\n      binomialRandom (Fin d → Bool) ⟨1 / 2, by norm_num⟩\n        {G | (hypercube d).IsContained G}) atTop (nhds 1) := by\n  sorry\n\n/-- For every fixed edge-probability $p>1/4$, the probability that a random graph on $2^d$\nvertices contains a copy of $Q_d$ tends to $1$ as $d\\to\\infty$. Proved by Riordan [Ri00]. -/\n@[category research solved, AMS 5 60]\ntheorem erdos_578.variants.riordan (p : unitInterval) (hp : (1 : ℝ) / 4 < p) :\n    Tendsto (fun d : ℕ =>\n      binomialRandom (Fin d → Bool) p {G | (hypercube d).IsContained G})\n      atTop (nhds 1) := by\n  sorry\n\nend Erdos578\n",
  "statement_hash": "e4c270d6f64bc7fdc14e9595376c6eb33c38578827a7dc52b670923547ab7fb2",
  "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."
}