{
  "id": "3423",
  "ident": "NS.03423",
  "slug": "erdos-86",
  "title": "Erdős Problem 86",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $Q_n$ be the $n$-dimensional hypercube graph (so that $Q_n$ has $2^n$ vertices and $n2^{n-1}$ edges). Is it true that every subgraph of $Q_n$ with $$\\geq \\left(\\frac{1}{2}+o(1)\\right)n2^{n-1}$$ many edges contains a $C_4$?",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos86.erdos_86",
  "statement_lean": "theorem erdos_86 :\n    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop, ∀ H : SimpleGraph (Fin n → Bool),\n      H ≤ hypercube n →\n        (1 / 2 + ε) * n * 2 ^ (n - 1 : ℕ) ≤ (H.edgeSet.ncard : ℝ) →\n          cycleGraph 4 ⊑ H",
  "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 86\n\n*References:*\n- [erdosproblems.com/86](https://www.erdosproblems.com/86)\n- [BHLL14] Balogh, József and Hu, Ping and Lidický, Bernard and Liu, Hong, *Upper bounds on the size\n  of 4- and 6-cycle-free subgraphs of the hypercube*. European J. Combin. (2014), 75-85.\n- [BHN95] Brass, Peter and Harborth, Heiko and Nienborg, Hauke, *On the maximum number of edges in a\n  {$C_4$}-free subgraph of {$Q_n$}*. J. Graph Theory (1995), 17--23.\n- [Ba12b] R. Baber, *Turán densities of hypercubes*. arXiv:1201.3587 (2012).\n- [Er91] Erdős, P., *Problems and results in combinatorial analysis and combinatorial number\n  theory*. Graph theory, combinatorics, and applications, Vol. 1 (Kalamazoo, MI, 1988) (1991),\n  397-406.\n-/\n\n@[expose] public section\n\nopen Filter SimpleGraph\n\nnamespace Erdos86\n\n/--\nLet $Q_n$ be the $n$-dimensional hypercube graph (so that $Q_n$ has $2^n$ vertices and $n2^{n-1}$ edges). Is it true that every subgraph of $Q_n$ with $$\\geq \\left(\\frac{1}{2}+o(1)\\right)n2^{n-1}$$ many edges contains a $C_4$?\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_86 :\n    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop, ∀ H : SimpleGraph (Fin n → Bool),\n      H ≤ hypercube n →\n        (1 / 2 + ε) * n * 2 ^ (n - 1 : ℕ) ≤ (H.edgeSet.ncard : ℝ) →\n          cycleGraph 4 ⊑ H := by\n  sorry\n\nend Erdos86\n",
  "statement_hash": "52a1ddadf9f4d01759613a6f7c5378dada830b02899ca5a58792d07fd7d74558",
  "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."
}