{
  "id": "820",
  "ident": "NS.00820",
  "slug": "erdos-1160",
  "title": "Erdős Problem 1160",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $g(n)$ denote the number of groups of order $n$. If $n\\leq 2^m$ then\n$g(n)\\leq g(2^m)$.\n\nThis is [Va99, 5.71] and an open problem (Question 22.16) in [BNV07], where its origin could not\nbe traced. It has been attributed to Erdős, Higman and others. Pantelidakis [Pa03] proved it for\nodd $n$ and $m\\geq 3619$.\n\nIt is a conjecture, not a question. We take $n\\geq 1$; for $n=0$ it holds trivially, since\n$g(0)=0$.",
  "subjects": [
    "math.GR",
    "msc:20"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1160.erdos_1160",
  "statement_lean": "theorem erdos_1160 : ∀ n m : ℕ, 0 < n → n ≤ 2 ^ m → g n ≤ g (2 ^ m)",
  "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 1160\n\n*References:*\n- [erdosproblems.com/1160](https://www.erdosproblems.com/1160)\n- [Va99] Various, *Some of Paul's favorite problems*. Booklet produced for the conference\n  \"Paul Erdős and his mathematics\", Budapest, July 1999 (1999).\n- [BNV07] Blackburn, S. R., Neumann, P. M. and Venkataraman, G., *Enumeration of finite groups*.\n  Cambridge Tracts in Mathematics 173, Cambridge University Press (2007), xii+281.\n- [Pa03] Pantelidakis, I., *On the Number of Non-isomorphic Groups of the Same Order*. DPhil\n  thesis, University of Oxford (2003).\n-/\n\n@[expose] public section\n\nopen Filter\n\nnamespace Erdos1160\n\n/-- $g(n)$, the number of groups of order $n$ up to isomorphism: the number of isomorphism\nclasses of finite groups $G$ with $\\lvert G\\rvert = n$.\n\nThe groups are the objects of `FiniteGrp.{0}`, the category of finite groups in the lowest\nuniverse. Every finite group is isomorphic to one of them. Two objects are in the same class if\n`Nonempty (G ≅ H)` (`CategoryTheory.isIsomorphicSetoid`). We take the image of\n`{G | Nat.card G = n}` in the quotient by this relation and count it with `Set.ncard`.\n\nFor $n\\geq 1$ the number of classes is finite, because a group of order $n$ is determined up to\nisomorphism by a multiplication table on `Fin n`. So `Set.ncard` is the true count and not the\njunk value $0$ of an infinite set. For $n=0$ the set is empty (a group has an identity), so\n$g(0)=0$. -/\nnoncomputable def g (n : ℕ) : ℕ :=\n  (Quotient.mk (CategoryTheory.isIsomorphicSetoid FiniteGrp.{0}) ''\n    {G : FiniteGrp.{0} | Nat.card G = n}).ncard\n\n/-- There are no groups of order $0$. -/\n@[category test, AMS 20]\ntheorem g_zero : g 0 = 0 := by\n  have h : {G : FiniteGrp.{0} | Nat.card G = 0} = ∅ :=\n    Set.eq_empty_of_forall_notMem fun G hG ↦ Nat.card_pos.ne' hG\n  simp [g, h]\n\n/-- Let $g(n)$ denote the number of groups of order $n$. If $n\\leq 2^m$ then\n$g(n)\\leq g(2^m)$.\n\nThis is [Va99, 5.71] and an open problem (Question 22.16) in [BNV07], where its origin could not\nbe traced. It has been attributed to Erdős, Higman and others. Pantelidakis [Pa03] proved it for\nodd $n$ and $m\\geq 3619$.\n\nIt is a conjecture, not a question. We take $n\\geq 1$; for $n=0$ it holds trivially, since\n$g(0)=0$. -/\n@[category research open, AMS 20]\ntheorem erdos_1160 : ∀ n m : ℕ, 0 < n → n ≤ 2 ^ m → g n ≤ g (2 ^ m) := by\n  sorry\n\n/-- Question 22.18 of [BNV07] suggests the even stronger conjecture\n$$\\sum_{n<2^m}g(n) \\leq g(2^m)$$\nfor all sufficiently large $m$ (perhaps even as soon as $m\\geq 7$).\n\nThe sum is over $1\\leq n<2^m$. -/\n@[category research open, AMS 20]\ntheorem erdos_1160.variants.sum :\n    ∀ᶠ m : ℕ in atTop, ∑ n ∈ Finset.Ico 1 (2 ^ m), g n ≤ g (2 ^ m) := by\n  sorry\n\nend Erdos1160\n",
  "statement_hash": "cc9cd793eb64f7bba5c70d5a0b1cdc08f6efb89eead9c08bfefe8b8bf331b3f3",
  "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."
}