{
  "id": "4097",
  "ident": "NS.04097",
  "slug": "green-4",
  "title": "Ben Green's Open Problem 4",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "What is the largest product-free set in the alternating group $A_n$?",
  "subjects": [
    "math.GR",
    "msc:20"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green4.green_4",
  "statement_lean": "theorem green_4 (n : ℕ) :\n    MaximalFor (ProdFree (M := alternatingGroup <| Fin n)) Set.ncard (green_4.answer n)",
  "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# Ben Green's Open Problem 4\n\n*Reference:* [Ben Green's Open Problem 4](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#section.4 Problem 4)\n-/\n\n@[expose] public section\n\nnamespace Green4\n\n/-- A set in a monoid is product-free if there are no elements `x, y, z` in the set such that\n`x * y = z`. -/\ndef ProdFree {M : Type*} [Monoid M] (S : Set M) : Prop := ∀ x ∈ S, ∀ y ∈ S, x * y ∉ S\n\ndef green_4.answer : (n : ℕ) → Set ↥(alternatingGroup (Fin n)) := sorry\n\n/-- What is the largest product-free set in the alternating group $A_n$? -/\n@[category research open, question value, AMS 20]\ntheorem green_4 (n : ℕ) :\n    MaximalFor (ProdFree (M := alternatingGroup <| Fin n)) Set.ncard (green_4.answer n) := by\n  sorry\n\n/-- Defines a family of subsets of $A_n$ where each permutation $\\pi$ in a subset obeys $\\pi(x)$\nand $\\forall v \\in I$, $\\pi(v)\\notin I$ for a fixed $x$ and $I$. It is easy to demonstrate that such\na subset is product-free, because for any a,b,c in such a set, $(a*b) (x)=a(b(x))\\notin I$ but $c(x)\nin I$\n-/\ndef extremalFamily {n : ℕ} (x : Fin n) (I : Set (Fin n)) : Set <| alternatingGroup <| Fin n :=\n  {π | π.val x ∈ I ∧ Disjoint (I.image π) I}\n\n/-- In the case of large n, the problem was solved in\n[On the largest product-free subsets of the alternating groups](https://arxiv.org/pdf/2205.15191).\nSpecifically, this theorem formalizes the statement of theorem 1.1 in the mentioned paper\n-/\n@[category research solved, AMS 20]\ntheorem large_green_4 : ∀ᶠ n in .atTop,\n    ∀ S, MaximalFor (ProdFree (M := alternatingGroup <| Fin n)) Set.ncard S →\n    ∃ x I, S = extremalFamily x I ∨ S = (extremalFamily x I).image (·⁻¹) := by\n  sorry\n\nend Green4\n",
  "statement_hash": "6b091d37d8e72fac48176cbcd0b7382fc1dd02e57b3897d4fc345c3f71698e40",
  "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."
}