{
  "id": "909",
  "ident": "NS.00909",
  "slug": "erdos-1183",
  "title": "Erdős Problem 1183",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $f(n)$ be maximal such that in any $2$-colouring of the subsets of $\\{1,\\ldots,n\\}$ there is\nalways a monochromatic family of at least $f(n)$ sets which is closed under taking unions and\nintersections. Estimate $f(n)$.\n\nLet $F(n)$ be defined similarly, except that we only require the family be closed under taking\nunions. Estimate $F(n)$. In particular, is it true that $F(n)\\geq n^{\\omega(n)}$ for some\n$\\omega(n)\\to \\infty$ as $n\\to \\infty$, and $F(n)<(1+o(1))^n$?\n\nThis is the first part, a problem of Erdős and Ulam [Er78, p. 39]. We read \"estimate\" as\n$f(n)=\\Theta(\\text{answer})$.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1183.erdos_1183.parts.i",
  "statement_lean": "theorem erdos_1183.parts.i :\n    (fun n : ℕ ↦ (f n : ℝ)) =Θ[atTop] erdos_1183.parts.i.answer",
  "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 1183\n\n*References:*\n- [erdosproblems.com/1183](https://www.erdosproblems.com/1183)\n- [Er78] Erdős, P., *Problems and results in combinatorial analysis and combinatorial number\n  theory*. Proceedings of the Ninth Southeastern Conference on Combinatorics, Graph Theory, and\n  Computing (Florida Atlantic Univ., Boca Raton, Fla., 1978) (1978), 29-40.\n  [PDF](https://www.renyi.hu/~p_erdos/1978-36.pdf)\n-/\n\n@[expose] public section\n\nopen Filter Asymptotics\n\nnamespace Erdos1183\n\n/-- A family `ℱ` of subsets is monochromatic for the colouring `c` if all its members have the\nsame colour. -/\ndef IsMonochromatic {n : ℕ} (c : Finset (Fin n) → Bool) (ℱ : Finset (Finset (Fin n))) : Prop :=\n  ∃ b : Bool, ∀ A ∈ ℱ, c A = b\n\n/-- $f(n)$: the largest $m$ such that every $2$-colouring `c` of the subsets of\n$\\{1,\\ldots,n\\}$ has a monochromatic family of at least $m$ sets that is closed under unions and\nintersections (`IsSublattice`).\n\nThe ground set is `Fin n`, and the subsets are `Finset (Fin n)`, the empty set included. The set\nof such $m$ contains $0$ and is bounded by $2^n$, so `sSup` is a true maximum. A family with\n$m \\geq 1$ members is nonempty. -/\nnoncomputable def f (n : ℕ) : ℕ :=\n  sSup {m : ℕ | ∀ c : Finset (Fin n) → Bool, ∃ ℱ : Finset (Finset (Fin n)),\n    m ≤ ℱ.card ∧ IsMonochromatic c ℱ ∧ IsSublattice (ℱ : Set (Finset (Fin n)))}\n\n/-- $F(n)$: the same as $f(n)$, except that the family is only required to be closed under\nunions (`SupClosed`; the supremum of two finsets is their union). -/\nnoncomputable def F (n : ℕ) : ℕ :=\n  sSup {m : ℕ | ∀ c : Finset (Fin n) → Bool, ∃ ℱ : Finset (Finset (Fin n)),\n    m ≤ ℱ.card ∧ IsMonochromatic c ℱ ∧ SupClosed (ℱ : Set (Finset (Fin n)))}\n\ndef erdos_1183.parts.i.answer : ℕ → ℝ := sorry\n\n/--\nLet $f(n)$ be maximal such that in any $2$-colouring of the subsets of $\\{1,\\ldots,n\\}$ there is\nalways a monochromatic family of at least $f(n)$ sets which is closed under taking unions and\nintersections. Estimate $f(n)$.\n\nLet $F(n)$ be defined similarly, except that we only require the family be closed under taking\nunions. Estimate $F(n)$. In particular, is it true that $F(n)\\geq n^{\\omega(n)}$ for some\n$\\omega(n)\\to \\infty$ as $n\\to \\infty$, and $F(n)<(1+o(1))^n$?\n\nThis is the first part, a problem of Erdős and Ulam [Er78, p. 39]. We read \"estimate\" as\n$f(n)=\\Theta(\\text{answer})$.\n-/\n@[category research open, question value, AMS 5]\ntheorem erdos_1183.parts.i :\n    (fun n : ℕ ↦ (f n : ℝ)) =Θ[atTop] erdos_1183.parts.i.answer := by\n  sorry\n\ndef erdos_1183.parts.ii.answer : ℕ → ℝ := sorry\n\n/--\nLet $f(n)$ be maximal such that in any $2$-colouring of the subsets of $\\{1,\\ldots,n\\}$ there is\nalways a monochromatic family of at least $f(n)$ sets which is closed under taking unions and\nintersections. Estimate $f(n)$.\n\nLet $F(n)$ be defined similarly, except that we only require the family be closed under taking\nunions. Estimate $F(n)$. In particular, is it true that $F(n)\\geq n^{\\omega(n)}$ for some\n$\\omega(n)\\to \\infty$ as $n\\to \\infty$, and $F(n)<(1+o(1))^n$?\n\nThis is the second part. We read \"estimate\" as $F(n)=\\Theta(\\text{answer})$.\n-/\n@[category research open, question value, AMS 5]\ntheorem erdos_1183.parts.ii :\n    (fun n : ℕ ↦ (F n : ℝ)) =Θ[atTop] erdos_1183.parts.ii.answer := by\n  sorry\n\n/--\nLet $f(n)$ be maximal such that in any $2$-colouring of the subsets of $\\{1,\\ldots,n\\}$ there is\nalways a monochromatic family of at least $f(n)$ sets which is closed under taking unions and\nintersections. Estimate $f(n)$.\n\nLet $F(n)$ be defined similarly, except that we only require the family be closed under taking\nunions. Estimate $F(n)$. In particular, is it true that $F(n)\\geq n^{\\omega(n)}$ for some\n$\\omega(n)\\to \\infty$ as $n\\to \\infty$, and $F(n)<(1+o(1))^n$?\n\nThis is the third part, the \"in particular\" question: both conjuncts must hold. We state it as\nprinted in [Er78, p. 39]: $F(n) > n^c$ for every $c$ if $n > n_0(c)$, and\n$F(n) < (1+\\varepsilon)^n$ for every $\\varepsilon > 0$ if $n > n_0(\\varepsilon)$.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_1183.parts.iii :\n    (∀ c : ℝ, ∀ᶠ n : ℕ in atTop, (n : ℝ) ^ c < (F n : ℝ)) ∧\n      ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop, (F n : ℝ) < (1 + ε) ^ n := by\n  sorry\n\n/--\nIt is trivial that $f(n)\\geq \\frac{n+1}{2}$, since there is a sequence of $n+1$ many nested\nsubsets.\n-/\n@[category textbook, AMS 5]\ntheorem erdos_1183.variants.f_ge (n : ℕ) : ((n : ℝ) + 1) / 2 ≤ (f n : ℝ) := by\n  sorry\n\nend Erdos1183\n",
  "statement_hash": "cf274164215b489bb538efa1390b7f25562a63a5e4e2792e9c82fc7a60323e2c",
  "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."
}