case pos
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}

case neg
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : ¬NeBot l
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
by_cases hl : l.NeBot
case neg
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : ¬NeBot l
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}

case pos
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
case pos
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}

case neg
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : ¬NeBot l
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
swap
case pos
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this : UpgradedPolishSpace γ := upgradePolishSpace γ
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
case pos
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
letI := upgradePolishSpace γ
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
case pos
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this : UpgradedPolishSpace γ := upgradePolishSpace γ
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
rcases l.exists_antitone_basis with ⟨u, hu⟩
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
⊢ MeasurableSet {x | Cauchy (map (fun n => f n x) l)}
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
simp_rw [← cauchy_map_iff_exists_tendsto]
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
⊢ MeasurableSet {x | NeBot (map (fun n => f n x) l) ∧ map (fun n => f n x) l ×ˢ map (fun n => f n x) l ≤ uniformity γ}
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
⊢ MeasurableSet {x | Cauchy (map (fun n => f n x) l)}
change MeasurableSet { x | _ ∧ _ }
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
⊢ MeasurableSet {x | NeBot (map (fun n => f n x) l) ∧ map (fun n => f n x) l ×ˢ map (fun n => f n x) l ≤ uniformity γ}
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
⊢ MeasurableSet {x | NeBot (map (fun n => f n x) l) ∧ map (fun n => f n x) l ×ˢ map (fun n => f n x) l ≤ uniformity γ}
have :
  ∀ x,
    (map (fun i => f i x) l ×ˢ map (fun i => f i x) l).HasAntitoneBasis fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n) :=
  fun x => hu.map.prod hu.map
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
⊢ MeasurableSet
    (⋂ (i : ℕ) (_ : True),
      {x |
        ∃ i_2,
          True ∧ ((fun n => f n x) '' u i_2) ×ˢ ((fun n => f n x) '' u i_2) ⊆ {p | dist p.fst p.snd < 1 / (↑i + 1)}})
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
⊢ MeasurableSet {x | NeBot (map (fun n => f n x) l) ∧ map (fun n => f n x) l ×ˢ map (fun n => f n x) l ≤ uniformity γ}
simp_rw [and_iff_right (hl.map _),
  Filter.HasBasis.le_basis_iff (this _).toHasBasis Metric.uniformity_basis_dist_inv_nat_succ,
  Set.setOf_forall]
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
K : ℕ
x✝ : K ∈ fun i => True
⊢ MeasurableSet
    {x | ∃ i, True ∧ ((fun n => f n x) '' u i) ×ˢ ((fun n => f n x) '' u i) ⊆ {p | dist p.fst p.snd < 1 / (↑K + 1)}}
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
⊢ MeasurableSet
    (⋂ (i : ℕ) (_ : True),
      {x |
        ∃ i_2,
          True ∧ ((fun n => f n x) '' u i_2) ×ˢ ((fun n => f n x) '' u i_2) ⊆ {p | dist p.fst p.snd < 1 / (↑i + 1)}})
refine' MeasurableSet.biInter Set.countable_univ fun K _ => _
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
K : ℕ
x✝ : K ∈ fun i => True
⊢ MeasurableSet
    (⋃ (i : ℕ), {x | ((fun n => f n x) '' u i) ×ˢ ((fun n => f n x) '' u i) ⊆ {p | dist p.fst p.snd < 1 / (↑K + 1)}})
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
K : ℕ
x✝ : K ∈ fun i => True
⊢ MeasurableSet
    {x | ∃ i, True ∧ ((fun n => f n x) '' u i) ×ˢ ((fun n => f n x) '' u i) ⊆ {p | dist p.fst p.snd < 1 / (↑K + 1)}}
simp_rw [Set.setOf_exists, true_and]
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
K : ℕ
x✝ : K ∈ fun i => True
N : ℕ
⊢ MeasurableSet {x | ((fun n => f n x) '' u N) ×ˢ ((fun n => f n x) '' u N) ⊆ {p | dist p.fst p.snd < 1 / (↑K + 1)}}
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
K : ℕ
x✝ : K ∈ fun i => True
⊢ MeasurableSet
    (⋃ (i : ℕ), {x | ((fun n => f n x) '' u i) ×ˢ ((fun n => f n x) '' u i) ⊆ {p | dist p.fst p.snd < 1 / (↑K + 1)}})
refine' MeasurableSet.iUnion fun N => _
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
K : ℕ
x✝ : K ∈ fun i => True
N : ℕ
⊢ MeasurableSet
    (⋂ (i : ι) (_ : i ∈ u N) (i_1 : ι) (_ : i_1 ∈ u N),
      {x | (i, i_1) ∈ (fun p => (f p.fst x, f p.snd x)) ⁻¹' {p | dist p.fst p.snd < 1 / (↑K + 1)}})
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
K : ℕ
x✝ : K ∈ fun i => True
N : ℕ
⊢ MeasurableSet {x | ((fun n => f n x) '' u N) ×ˢ ((fun n => f n x) '' u N) ⊆ {p | dist p.fst p.snd < 1 / (↑K + 1)}}
simp_rw [prod_image_image_eq, image_subset_iff, prod_subset_iff, Set.setOf_forall]
no goals
case pos.intro
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : NeBot l
this✝ : UpgradedPolishSpace γ := upgradePolishSpace γ
u : ℕ → Set ι
hu : HasAntitoneBasis l u
this :
  ∀ (x : β),
    HasAntitoneBasis (map (fun i => f i x) l ×ˢ map (fun i => f i x) l) fun n =>
      ((fun i => f i x) '' u n) ×ˢ ((fun i => f i x) '' u n)
K : ℕ
x✝ : K ∈ fun i => True
N : ℕ
⊢ MeasurableSet
    (⋂ (i : ι) (_ : i ∈ u N) (i_1 : ι) (_ : i_1 ∈ u N),
      {x | (i, i_1) ∈ (fun p => (f p.fst x, f p.snd x)) ⁻¹' {p | dist p.fst p.snd < 1 / (↑K + 1)}})
exact
  MeasurableSet.biInter (to_countable (u N)) fun i _ =>
    MeasurableSet.biInter (to_countable (u N)) fun j _ =>
      measurableSet_lt (Measurable.dist (hf i) (hf j)) measurable_const
case neg
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : l = ⊥
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
case neg
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : ¬NeBot l
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
rw [not_neBot] at hl
no goals
case neg
α : Type ?u.327871
inst✝⁷ : TopologicalSpace α
ι : Type u_2
γ : Type u_1
tγ : TopologicalSpace γ
inst✝⁶ : PolishSpace γ
inst✝⁵ : MeasurableSpace γ
hγb : BorelSpace γ
β : Type u_3
tβ : TopologicalSpace β
inst✝⁴ : T2Space β
inst✝³ : MeasurableSpace β
inst✝² : BorelSpace β
s : Set γ
f✝ : γ → β
hγ : OpensMeasurableSpace γ
inst✝¹ : Countable ι
l : Filter ι
inst✝ : IsCountablyGenerated l
f : ι → β → γ
hf : ∀ (i : ι), Measurable (f i)
hl : l = ⊥
⊢ MeasurableSet {x | ∃ c, Tendsto (fun n => f n x) l (𝓝 c)}
simp [hl]