Lean / Reader
Lean readerErdos520.lean
Lean 4 Web has Mathlib, so it can check files that import only Mathlib. This one also imports ErdosProblems.Erdos520.Unconditional, which it does not have: you can read it there, but it will not check. Build the project itself to check it.
/- leanprover/lean4:v4.33.0 mathlib v4.33.0 -//-Copyright (c) 2026 Sigurd William Rachlew Høystad.Released under Apache 2.0 license as described in Erdos520/LICENSE.Formalization by Sigurd William Rachlew Høystad with GPT-5.6 Pro and Claude Fable 5.Source: https://github.com/saasom/Erdos520/tree/v1.1.0Revision: dea062793bf11efd962752ee378ef84720c9857e (Lean 4.30.0-rc2).Claim: https://www.erdosproblems.com/forum/thread/520/proof-claims#proof-claim-183-/import ErdosProblems.Erdos520.Unconditionalopen Filter MeasureTheoryopen scoped Topologynamespace Erdos.Problem520theorem normalized_tendsto_zero :∀ᵐ omega ∂μ, Tendsto (fun N : ℕ =>|partialSum omega N| / Real.sqrt ((N : ℝ) * Real.log (Real.log N)))atTop (𝓝 0) :=erdos520Disproof_unconditionaltheorem not_erdos_520 :¬ ∃ c : ℝ, 0 < c ∧ ∀ᵐ omega ∂μ,limsup (fun N : ℕ =>partialSum omega N / Real.sqrt ((N : ℝ) * Real.log (Real.log N))) atTop = c := byrintro ⟨c, hc, hlimsup⟩have hfalse : ∀ᵐ omega ∂μ, False := byfilter_upwards [erdos520NoPositiveConstant_unconditional, hlimsup] with omega hne heqexact hne c hc heqobtain ⟨_, h⟩ := hfalse.existsexact hend Erdos.Problem520