{
  "id": "714",
  "ident": "NS.00714",
  "slug": "erdos-1116",
  "title": "Erdős Problem 1116",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "For a meromorphic function $f$ let $n(r,a)$ count the number of roots of $f(z)=a$ in the disc\n$\\lvert z\\rvert <r$. Does there exist a meromorphic (or entire) $f$ such that for every\n$a\\neq b$\n$$\\limsup_{r\\to \\infty}\\frac{n(r,a)}{n(r,b)}=\\infty?$$\n\nThis is Problem 1.25 in [Ha74], where it is attributed to Erdős. Gol'dberg [Go78] and Toppila\n[To76, Theorem 3] constructed such entire functions. We state this case, for finite\n$a\\neq b$, using `UnboundedCountRatio`.",
  "subjects": [
    "math.CV",
    "msc:30"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1116.erdos_1116",
  "statement_lean": "theorem erdos_1116 :\n    ∃ f : ℂ → ℂ, Differentiable ℂ f ∧\n      ∀ a b : ℂ, a ≠ b → UnboundedCountRatio f a b",
  "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 1116\n\n*References:*\n- [erdosproblems.com/1116](https://www.erdosproblems.com/1116)\n- [Ha74] Hayman, W. K., *Research problems in function theory: new problems*. Proceedings of\n  the Symposium on Complex Analysis (Canterbury, 1973), London Math. Soc. Lecture Note Ser. 12\n  (1974), 155--180.\n- [To76] Toppila, Sakari, *On the counting function for the $a$-values of a meromorphic\n  function*. Ann. Acad. Sci. Fenn. Ser. A I Math. 2 (1976), 565--572.\n  [PDF](https://www.acadsci.fi/mathematica/Vol02/vol02pp565-572.pdf)\n- [Go78] Gol'dberg, A. A., *Counting functions of sequences of $a$-points for entire\n  functions*. Sibirsk. Mat. Zh. 19 (1978), 28--36, 236.\n- [HaLi18] Hayman, W. K. and Lingham, E. F., *Research problems in function theory*.\n  [arXiv:1809.07200](https://arxiv.org/abs/1809.07200) (2018).\n-/\n\n@[expose] public section\n\nnamespace Erdos1116\n\n/--\n$n(r,a)$ for $f$: the number of roots of $f(z)=a$ in the open disc $\\lvert z\\rvert<r$, counted\nwith multiplicity, as on erdosproblems.com. [To76, p. 565] and [HaLi18, Chapter 1, Notation]\ncount roots in the closed disc $\\lvert z\\rvert\\le r$; this does not change the $\\limsup$ below,\nsince the open-disc count at $r$ equals the closed-disc count at some slightly smaller radius.\n\nThe count is the sum, over the disc, of the positive part of the divisor of $f-a$. For an entire\n$f$ the divisor has finite support, so `∑ᶠ` is the ordinary finite sum. For $f \\equiv a$ the\ndivisor is $0$.\n-/\nnoncomputable def aPointCount (f : ℂ → ℂ) (r : ℝ) (a : ℂ) : ℕ :=\n  ∑ᶠ z : ℂ,\n    Int.toNat (MeromorphicOn.divisor (fun w ↦ f w - a) (Metric.ball (0 : ℂ) r) z)\n\n/--\nDivision-free form of $\\limsup_{r\\to\\infty} n(r,a)/n(r,b)=\\infty$. For every $M$ and $R$ there\nis $r>R$ with $n(r,b)>0$ and $n(r,a)>M\\,n(r,b)$. In particular, $f$ takes the value $b$, so\nthe ratio is never $x/0$.\n-/\ndef UnboundedCountRatio (f : ℂ → ℂ) (a b : ℂ) : Prop :=\n  ∀ M : ℕ, ∀ R : ℝ, ∃ r : ℝ, R < r ∧\n    0 < aPointCount f r b ∧ M * aPointCount f r b < aPointCount f r a\n\nset_option linter.style.formal_proof_palomar false in\n/--\nFor a meromorphic function $f$ let $n(r,a)$ count the number of roots of $f(z)=a$ in the disc\n$\\lvert z\\rvert <r$. Does there exist a meromorphic (or entire) $f$ such that for every\n$a\\neq b$\n$$\\limsup_{r\\to \\infty}\\frac{n(r,a)}{n(r,b)}=\\infty?$$\n\nThis is Problem 1.25 in [Ha74], where it is attributed to Erdős. Gol'dberg [Go78] and Toppila\n[To76, Theorem 3] constructed such entire functions. We state this case, for finite\n$a\\neq b$, using `UnboundedCountRatio`.\n-/\n@[category research solved, question, AMS 30, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1116.lean#L4968\"]\ntheorem erdos_1116 :\n    ∃ f : ℂ → ℂ, Differentiable ℂ f ∧\n      ∀ a b : ℂ, a ≠ b → UnboundedCountRatio f a b := by\n  sorry\n\nend Erdos1116\n",
  "statement_hash": "f0f5528942d4e0d7bfd942b4a19d2efc2562d4d6c8443982c147c879fb50f6d9",
  "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."
}