{
  "id": "4243",
  "ident": "NS.04243",
  "slug": "green-92",
  "title": "Ben Green's Open Problem 92",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "I have a string $x \\in \\{0,1\\}^n$. Let $\\tilde{x}$ be the random string obtained by deleting bits\nfrom $x$ independently at random with probability $\\frac{1}{2}$ (thus, for example, if $n = 8$ and\n$x = 00110110$, it might be the case that $\\tilde{x} = 0111$, generated by deleting bits\n$2, 3, 5, 8$.) An instance of $\\tilde{x}$ is called a 'trace'. How many independent traces\n$\\tilde{x}_1, \\dots, \\tilde{x}_m$ are needed before one can reconstruct $x$ with probability $0.9$?\n\nThis is the trace reconstruction problem. `numTraces n` is the least $m$ for which some decoder\nsucceeds with probability at least $0.9$ for every $x$. Replacing $0.9$ by another constant in\n$(1/2, 1)$ changes $m$ by at most a constant factor (repeat and take a majority vote), so we ask\nfor `numTraces n` up to constant factors.",
  "subjects": [
    "math.PR",
    "math.CO",
    "msc:60",
    "msc:68"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green92.green_92",
  "statement_lean": "theorem green_92 : (fun n ↦ (numTraces n : ℝ)) =Θ[atTop] green_92.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# Ben Green's Open Problem 92\n\n*References:*\n- [Gr24] [Green, Ben. \"100 open problems.\" (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.92)\n- [NP17] Nazarov, F. and Peres, Y., *Trace reconstruction with $\\exp(O(n^{1/3}))$ samples*.\n  Proceedings of STOC 2017, ACM, New York (2017), 1042--1046.\n  [arXiv:1612.03599](https://arxiv.org/abs/1612.03599)\n- [DOS19] De, A., O'Donnell, R. and Servedio, R., *Optimal mean-based algorithms for trace\n  reconstruction*. Ann. Appl. Probab. 29 (2019), 851--874.\n  [arXiv:1612.03148](https://arxiv.org/abs/1612.03148)\n- [Ch20] Chase, Z., *New upper bounds for trace reconstruction*.\n  [arXiv:2009.03296](https://arxiv.org/abs/2009.03296) (2020).\n- [Ch21] Chase, Z., *New lower bounds for trace reconstruction*. Ann. Inst. Henri Poincaré\n  Probab. Stat. 57 (2021), 627--643. [arXiv:1905.03031](https://arxiv.org/abs/1905.03031)\n-/\n\n@[expose] public section\n\nopen Filter Asymptotics\n\nnamespace Green92\n\n/--\n`trace x S` is the trace of the string `x` that keeps the bits in the positions of `S` and\ndeletes the others, read in order.\n-/\ndef trace {n : ℕ} (x : Fin n → Bool) (S : Finset (Fin n)) : List Bool :=\n  ((List.finRange n).filter fun i ↦ decide (i ∈ S)).map x\n\nopen scoped Classical in\n/--\n`successProb R x` is the probability that the decoder `R` returns `x` when it is applied to `m`\nindependent traces of `x`. Each bit is kept independently with probability $1/2$, so the family\n`S : Fin m → Finset (Fin n)` of sets of kept positions is uniformly distributed.\n-/\nnoncomputable def successProb {n m : ℕ} (R : (Fin m → List Bool) → Fin n → Bool)\n    (x : Fin n → Bool) : ℝ :=\n  (Finset.univ.filter fun (S : Fin m → Finset (Fin n)) ↦ R (fun j ↦ trace x (S j)) = x).card /\n    (Fintype.card (Fin m → Finset (Fin n)) : ℝ)\n\n/--\n`numTraces n` is the least number $m$ of traces such that some decoder recovers every string\n$x \\in \\{0,1\\}^n$ from $m$ independent traces with probability at least $0.9$.\n\nSuch an $m$ exists: a single trace keeps all bits with probability $2^{-n}$, so a decoder that\nreturns a trace of full length, if there is one, succeeds with probability at least\n$1 - (1 - 2^{-n})^m$. Hence the `sInf` is a minimum.\n-/\nnoncomputable def numTraces (n : ℕ) : ℕ :=\n  sInf {m | ∃ R : (Fin m → List Bool) → Fin n → Bool,\n    ∀ x, (9 / 10 : ℝ) ≤ successProb R x}\n\n/--\nThe example of [Gr24]: deleting bits $2, 3, 5, 8$ (numbered from $1$) of $x = 00110110$ gives\nthe trace $0111$. In `Fin 8`, numbered from $0$, the kept positions are $0, 3, 5, 6$.\n-/\n@[category test, AMS 68]\ntheorem trace_example :\n    trace ![false, false, true, true, false, true, true, false] {0, 3, 5, 6} =\n      [false, true, true, true] := by\n  decide\n\ndef green_92.answer : ℕ → ℝ := sorry\n\n/--\nI have a string $x \\in \\{0,1\\}^n$. Let $\\tilde{x}$ be the random string obtained by deleting bits\nfrom $x$ independently at random with probability $\\frac{1}{2}$ (thus, for example, if $n = 8$ and\n$x = 00110110$, it might be the case that $\\tilde{x} = 0111$, generated by deleting bits\n$2, 3, 5, 8$.) An instance of $\\tilde{x}$ is called a 'trace'. How many independent traces\n$\\tilde{x}_1, \\dots, \\tilde{x}_m$ are needed before one can reconstruct $x$ with probability $0.9$?\n\nThis is the trace reconstruction problem. `numTraces n` is the least $m$ for which some decoder\nsucceeds with probability at least $0.9$ for every $x$. Replacing $0.9$ by another constant in\n$(1/2, 1)$ changes $m$ by at most a constant factor (repeat and take a majority vote), so we ask\nfor `numTraces n` up to constant factors.\n-/\n@[category research open, question value, AMS 60 68]\ntheorem green_92 : (fun n ↦ (numTraces n : ℝ)) =Θ[atTop] green_92.answer := by\n  sorry\n\n/--\n**Chase's upper bound.** For every deletion probability $q \\in (0, 1)$ and every $\\delta > 0$\nthere is $C > 0$ such that every $x \\in \\{0,1\\}^n$ can be reconstructed with probability at least\n$1 - \\delta$ from $\\exp(C n^{1/5} \\log^5 n)$ independent traces of $x$ [Ch20, Theorem 1]. We\nstate it for $q = 1/2$ and $\\delta = 1/10$, with the number of traces rounded up, for large $n$.\nIt improves the bound $\\exp(C n^{1/3})$ of [NP17] and [DOS19].\n-/\n@[category research solved, AMS 60 68]\ntheorem green_92.variants.chase_upper :\n    ∃ C : ℝ, 0 < C ∧ ∀ᶠ n : ℕ in atTop,\n      numTraces n ≤ ⌈Real.exp (C * (n : ℝ) ^ (1 / 5 : ℝ) * Real.log n ^ 5)⌉₊ := by\n  sorry\n\n/--\n**Chase's lower bound.** For every deletion probability $q \\in (0, 1)$ and every\n$\\delta \\in (0, 1)$ there is $c > 0$ such that at least $c n^{3/2} / \\log^7 n$ traces are required\nto distinguish between $x_n = (01)^k 1 (01)^{k+1}$ and $y_n = (01)^{k+1} 1 (01)^k$ with\nprobability at least $1 - \\delta$, where $n = 4k + 3$ [Ch21, Theorem 1]. A decoder that recovers\nevery string distinguishes these two. We state it for $q = 1/2$ and $\\delta = 1/10$, for large\n$n \\equiv 3 \\pmod 4$. [Gr24] quotes the bound $n^{3/2} (\\log n)^{-16}$ of the first arXiv\nversion of [Ch21]; the published version has $(\\log n)^{-7}$.\n-/\n@[category research solved, AMS 60 68]\ntheorem green_92.variants.chase_lower :\n    ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop, n % 4 = 3 →\n      c * (n : ℝ) ^ (3 / 2 : ℝ) / Real.log n ^ 7 ≤ numTraces n := by\n  sorry\n\nend Green92\n",
  "statement_hash": "4ef2658c3cb9fa37553042edb63e212c5f23583bf47b3b0d481e70c036dcc550",
  "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."
}