Theorem: MeasureTheory.tendsto_diracProba_iff_tendsto
File: Mathlib/MeasureTheory/Measure/DiracProba.lean

tactic: constructor
state_before: X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
⊢ Tendsto diracProba L (𝓝 (diracProba x)) ↔ Tendsto id L (𝓝 x)
state_after: case mp
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
⊢ Tendsto diracProba L (𝓝 (diracProba x)) → Tendsto id L (𝓝 x)

case mpr
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
⊢ Tendsto id L (𝓝 x) → Tendsto diracProba L (𝓝 (diracProba x))

tactic: contrapose
state_before: case mp
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
⊢ Tendsto diracProba L (𝓝 (diracProba x)) → Tendsto id L (𝓝 x)
state_after: case mp
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
⊢ ¬Tendsto id L (𝓝 x) → ¬Tendsto diracProba L (𝓝 (diracProba x))

tactic: exact not_tendsto_diracProba_of_not_tendsto L
state_before: case mp
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
⊢ ¬Tendsto id L (𝓝 x) → ¬Tendsto diracProba L (𝓝 (diracProba x))
state_after: no goals

tactic: intro h
state_before: case mpr
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
⊢ Tendsto id L (𝓝 x) → Tendsto diracProba L (𝓝 (diracProba x))
state_after: case mpr
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
h : Tendsto id L (𝓝 x)
⊢ Tendsto diracProba L (𝓝 (diracProba x))

tactic: have aux := (@continuous_diracProba X _ _ _).continuousAt (x := x)
state_before: case mpr
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
h : Tendsto id L (𝓝 x)
⊢ Tendsto diracProba L (𝓝 (diracProba x))
state_after: case mpr
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
h : Tendsto id L (𝓝 x)
aux : ContinuousAt (fun x => diracProba x) x
⊢ Tendsto diracProba L (𝓝 (diracProba x))

tactic: simp only [ContinuousAt] at aux
state_before: case mpr
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
h : Tendsto id L (𝓝 x)
aux : ContinuousAt (fun x => diracProba x) x
⊢ Tendsto diracProba L (𝓝 (diracProba x))
state_after: case mpr
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
h : Tendsto id L (𝓝 x)
aux : Tendsto (fun x => diracProba x) (𝓝 x) (𝓝 (diracProba x))
⊢ Tendsto diracProba L (𝓝 (diracProba x))

tactic: exact aux.comp h
state_before: case mpr
X : Type u_1
inst✝³ : MeasurableSpace X
inst✝² : TopologicalSpace X
inst✝¹ : OpensMeasurableSpace X
inst✝ : CompletelyRegularSpace X
x : X
L : Filter X
h : Tendsto id L (𝓝 x)
aux : Tendsto (fun x => diracProba x) (𝓝 x) (𝓝 (diracProba x))
⊢ Tendsto diracProba L (𝓝 (diracProba x))
state_after: no goals