{
  "id": "4231",
  "ident": "NS.04231",
  "slug": "green-87",
  "title": "Green's Open Problem 87",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "For every $k$, $i(n, k)$ converges as $n \\to \\infty$ [BW15, Section 2]; the limit is\n$p(k)$ in Green's notation. It is the probability that the random multiset with\n$\\mathrm{Pois}(1/j)$ parts of size $j$ ($1 \\le j \\le k$, independent) has a sub-multiset\nof total size $k$.",
  "subjects": [
    "math.CO",
    "math.GR",
    "math.PR",
    "msc:05",
    "msc:20",
    "msc:60"
  ],
  "tags": [],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green87.green_87.variants.exists_tendsto",
  "statement_lean": "theorem green_87.variants.exists_tendsto (k : ℕ) :\n    ∃ L : ℝ, Tendsto (fun n ↦ i n k) atTop (𝓝 L)",
  "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# Green's Open Problem 87\n\nReferences:\n- [Gr24] [Green, Ben. \"100 open problems.\" (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.87)\n- [BW15] Britnell, John R., and Mark Wildon. \"Computing derangement probabilities of the symmetric\n  group acting on k-sets.\" arXiv preprint arXiv:1511.04106 (2015).\n- [EFG16] Eberhard, Sean, Kevin Ford, and Ben Green. \"Permutations fixing a k-set.\" International\n  Mathematics Research Notices 2016.21 (2016): 6713-6731. arXiv:1507.04465.\n- [GS26] Green, Ben, and Mehtaab Sawhney. \"The proportion of permutations fixing a k-set.\"\n  arXiv preprint arXiv:2604.28116 (2026).\n- [Ve26] Veljjanoski, Daniel. \"p(k) for permutations fixing a k-set: values and checks for\n  k ≤ 121.\" https://github.com/veljjanoski/green87-fixing-k-set (2026).\n-/\n\n@[expose] public section\n\nopen Filter Asymptotics Topology\n\nnamespace Green87\n\n/-- A permutation $\\sigma$ of $[n]$ *fixes a set of size $k$* (Green: \"preserves some set of\nsize $k$\") if some $k$-element subset of $[n]$ is mapped to itself by $\\sigma$. -/\ndef FixesSet {n : ℕ} (σ : Equiv.Perm (Fin n)) (k : ℕ) : Prop :=\n  ∃ s : Finset (Fin n), s.card = k ∧ s.image σ = s\n\n/-- `i n k` is the proportion of permutations of $[n]$ that fix a set of size $k$, denoted\n$i(n, k)$ in [BW15] and [EFG16]. -/\nnoncomputable def i (n k : ℕ) : ℝ :=\n  (Nat.card {σ : Equiv.Perm (Fin n) // FixesSet σ k} : ℝ) / (Nat.card (Equiv.Perm (Fin n)) : ℝ)\n\n/-- For every $k$, $i(n, k)$ converges as $n \\to \\infty$ [BW15, Section 2]; the limit is\n$p(k)$ in Green's notation. It is the probability that the random multiset with\n$\\mathrm{Pois}(1/j)$ parts of size $j$ ($1 \\le j \\le k$, independent) has a sub-multiset\nof total size $k$. -/\n@[category research solved, AMS 5 20 60]\ntheorem green_87.variants.exists_tendsto (k : ℕ) :\n    ∃ L : ℝ, Tendsto (fun n ↦ i n k) atTop (𝓝 L) := by\n  sorry\n\n/-- The Erdős–Ford–Tenenbaum constant $\\delta = 1 - \\frac{1 + \\log \\log 2}{\\log 2} \\approx 0.086$,\ncalled $\\alpha$ in [Gr24]. -/\nnoncomputable def δ : ℝ := 1 - (1 + Real.log (Real.log 2)) / Real.log 2\n\n/-- Let $p(k)$ be the limit, as $n \\to \\infty$, of the probability that a random permutation of\n$[n]$ preserves some set of size $k$. Is $p(k)$ a decreasing function of $k$?\n\nThis is a conjecture of Peter Cameron (2010), see [BW15]. The statement is taken in the strict\nsense, as in [BW15]: they verified $p(k) > p(k + 1)$ for $k < 30$, and the values computed\nnumerically in [Ve26] satisfy it for $k < 121$. Note $p(0) = 1$, since the empty set is always\nfixed, and $p(1) = 1 - 1/e$. The limit $p$ is quantified inside the statement; it exists and is\nunique by `green_87.variants.exists_tendsto`. -/\n@[category research open, question, AMS 5 20 60]\ntheorem green_87.decreasing :\n    ∀ p : ℕ → ℝ, (∀ k, Tendsto (fun n ↦ i n k) atTop (𝓝 (p k))) → StrictAnti p := by\n  sorry\n\n/-- $p(k)$ is bounded above and below by constant multiples of $k^{-\\delta} (\\log k)^{-3/2}$.\n[EFG16, Theorem 1.1] proves this for $i(n, k)$ uniformly in $1 \\le k \\le n/2$ (with\n$(1 + \\log k)^{-3/2}$); letting $n \\to \\infty$ gives the statement for $p$. -/\n@[category research solved, AMS 5 20 60]\ntheorem green_87.variants.order :\n    ∀ p : ℕ → ℝ, (∀ k, Tendsto (fun n ↦ i n k) atTop (𝓝 (p k))) →\n      p =Θ[atTop] fun k : ℕ ↦ (k : ℝ) ^ (-δ) * (Real.log k) ^ (-(3 / 2 : ℝ)) := by\n  sorry\n\n/-- Is $p(k) = (C + o(1)) k^{-\\delta} (\\log k)^{-3/2}$ for some absolute constant $C$?\n\nGreen and Sawhney [GS26] proved $p(k) = (1 + o(1)) f(\\{\\log_2 k\\}) k^{-\\delta} (\\log k)^{-3/2}$\nfor an explicit smooth, positive $f$ on $\\mathbb{R} / \\mathbb{Z}$ with\n$\\max f / \\min f < 1 + 2 \\cdot 10^{-7}$. The question is therefore equivalent to whether $f$ is\nconstant; they conjecture that it is not, so the expected answer is no, but this has not been\nproved. -/\n@[category research open, question, AMS 5 20 60]\ntheorem green_87.asymptotic :\n    ∀ p : ℕ → ℝ, (∀ k, Tendsto (fun n ↦ i n k) atTop (𝓝 (p k))) →\n      ∃ C : ℝ, 0 < C ∧\n        p ~[atTop] fun k : ℕ ↦ C * (k : ℝ) ^ (-δ) * (Real.log k) ^ (-(3 / 2 : ℝ)) := by\n  sorry\n\nend Green87\n",
  "statement_hash": "f8802ec39f0d5abb4984fc76e41621c21fe3fa0c22343867daa7bfe72ec74151",
  "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."
}