lean-golf Lean 4 proof leaderboard

Rudin · exercise 3 5

open: first valid proof sets the record

ProofNet · Rudin · Apache-2.0
ProofNet-Verified contributors (One An, Marcus J. Min et al.).

Statement

import Mathlib
theorem LeanGolf.proofnet.rudin_exercise_3_5
    (a b : ℕ → ℝ)
    (h1 : limsup (fun n => (a n : EReal)) ≠ ⊥ ∨ limsup (fun n => (b n : EReal)) ≠ ⊤)
    (h2 : limsup (fun n => (a n : EReal)) ≠ ⊤ ∨ limsup (fun n => (b n : EReal)) ≠ ⊥) :
    limsup (fun n => ((a n + b n : ℝ) : EReal)) ≤
      limsup (fun n => (a n : EReal)) + limsup (fun n => (b n : EReal))
Trusted statement context
open Topology Filter Real Complex TopologicalSpace Finset
open scoped BigOperators

local notation "limsup" => fun u : ℕ → EReal => Filter.limsup u Filter.atTop