ENNReal.tendsto_toReal_iff_of_eventually_ne_top
theoremverifiedformalizationimported Lean
ENNReal.tendsto_toReal_iff_of_eventually_ne_top
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Topology in open Filter Topology ENNReal in theorem ENNReal.tendsto_toReal_iff_of_eventually_ne_top {ι} {fi : Filter ι} {f : ι → ℝ≥0∞} (hf : ∀ᶠ i in fi, f i ≠ ∞) {x : ℝ≥0∞} (hx : x ≠ ∞) : Tendsto (fun n => (f n).toReal) fi (𝓝 x.toReal) ↔ Tendsto f fi (𝓝 x)
- Formalizes
- QuantumInfo, `ENNReal.tendsto_toReal_iff_of_eventually_ne_top`
- Lean proof
- By Alex Meiburg, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2025 Alex Meiburg. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.ENNReal.tendsto_toReal_iff_of_eventually_ne_top← ENNReal.tendsto_toReal_iff_of_eventually_ne_top (QuantumInfo/ForMathlib/Filter.lean:51): verbatim
- Verified
- 17 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Topology in open Filter Topology ENNReal in theorem ENNReal.tendsto_toReal_iff_of_eventually_ne_top {ι} {fi : Filter ι} {f : ι → ℝ≥0∞} (hf : ∀ᶠ i in fi, f i ≠ ∞) {x : ℝ≥0∞} (hx : x ≠ ∞) : Tendsto (fun n => (f n).toReal) fi (𝓝 x.toReal) ↔ Tendsto f fi (𝓝 x) := by have he₁ : f =ᶠ[fi] (fun n ↦ (f n).toNNReal) := by rw [EventuallyEq] filter_upwards [hf] with i h simp [h] have he₂ : (fun n ↦ (f n).toReal) = (fun n ↦ ((f n).toNNReal : ℝ≥0∞).toReal) := rfl rw [Filter.tendsto_congr' he₁, he₂] exact tendsto_toReal_iff (by finiteness) hx