/- Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ module public import FormalConjecturesUtil /-! # Erdős Problem 516 *References:* - [erdosproblems.com/516](https://www.erdosproblems.com/516) - [Fu63] Fuchs, W. H. J., Proof of a conjecture of G. Pólya concerning gap series. Illinois J. Math. (1963), 661--667. - [Ko65] Kövari, Thomas, A gap-theorem for entire functions of infinite order. Michigan Math. J. (1965), 133--140. - [Ki26] Kitamura, Kenta, A Lean counterexample to the Fejér-gap variant of Erdős Problem 516. [GitHub](https://github.com/KitaKen1/erdos-516-fejer-counterexample) (2026). -/ @[expose] public section open scoped Nat open Filter Real Set namespace Erdos516 /-- An entire function `f` is said to be of finite order if there exist numbers c, a ≥ 0 such that for all `z`, `‖f z‖ ≤ c * rexp (‖z‖ ^ a)`. -/ def OfFiniteOrder {E F: Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedAddCommGroup F] [NormedSpace ℂ F] (f : E → F) : Prop := Differentiable ℂ f ∧ ∃ c ≥ 0, ∃ a ≥ 0, ∀ z, ‖f z‖ ≤ c * rexp (‖z‖ ^ a) noncomputable def ratio (r : ℝ) (f : ℂ → ℂ) : ℝ := (⨅ z : {z : ℂ // ‖z‖ = r}, ‖f z‖).log / (⨆ z : {z : ℂ // ‖z‖ = r}, ‖f z‖).log set_option linter.style.formal_proof_palomar false in /-- Let `f = ∑ aₖzⁿₖ` be an entire function of finite order such that `nₖ / k → ∞`. Then `limsup (fun r => ratio r f) atTop = 1`. This is proved in [Fu63]. -/ @[category research solved, AMS 30, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos516.lean#L4812"] theorem erdos_516 {f : ℂ → ℂ} {n : ℕ → ℕ} (hn : HasFabryGaps n) {a : ℕ → ℂ} (ha : ∀ n, a n ≠ 0) (hfn : ∀ z, HasSum (fun k => a k * z ^ n k) (f z)) (hf : OfFiniteOrder f) : limsup (fun r => ratio r f) atTop = 1 := by sorry /-- Let `f = ∑ aₖzⁿₖ` be an entire function with strictly increasing exponents such that `nₖ > k (log k) ^ (2 + c)`. Then `limsup (fun r => ratio r f) atTop = 1`. This is proved in [Ko65]. Without `StrictMono n`, repeated exponents let nonzero coefficients cancel, and `f = 0` satisfies the other hypotheses. -/ @[category research solved, AMS 30] theorem erdos_516.variants.limsup_ratio_eq_one {f : ℂ → ℂ} {n : ℕ → ℕ} (hmono : StrictMono n) (hn : ∃ c > (0 : ℝ), ∀ k, n k > k * log k ^ (2 + c)) {a : ℕ → ℂ} (ha : ∀ n, a n ≠ 0) (hfn : ∀ z, HasSum (fun k => a k * z ^ n k) (f z)) : limsup (fun r => ratio r f) atTop = 1 := by sorry set_option linter.style.formal_proof_palomar false in /-- Is it true that for all entire functions `f = ∑ aₖzⁿₖ` such that `∑' 1 / nₖ < ∞`, `limsup (fun r => ratio r f) atTop = 1`? The answer is no: [Ki26] gives an explicit counterexample whose `limsup` is not `1`. -/ @[category research solved, question, AMS 30, formal_proof using lean4 at "https://github.com/KitaKen1/erdos-516-fejer-counterexample/blob/675d078d1c9fee4fcaa1c1a2eecde1c174853ff5/lean/Erdos516FejerFC.lean#L1304-L1314"] theorem erdos_516.variants.limsup_ratio_eq_one_of_hasFejerGaps : ¬ ∀ {f : ℂ → ℂ} {n : ℕ → ℕ} (hn : HasFejerGaps n) {a : ℕ → ℂ} (ha : ∀ n, a n ≠ 0) (hfn : ∀ z, HasSum (fun k => a k * z ^ n k) (f z)), limsup (fun r => ratio r f) atTop = 1 := by sorry end Erdos516