Theorem: MeasureTheory.stronglyMeasurable_uncurry_of_continuous_of_stronglyMeasurable
File: Mathlib/MeasureTheory/Function/StronglyMeasurable/Basic.lean

tactic: borelize β
state_before: α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
⊢ StronglyMeasurable (uncurry u)

tactic: obtain ⟨t_sf, ht_sf⟩ :
  ∃ t : ℕ → SimpleFunc ι ι, ∀ j x, Tendsto (fun n => u (t n j) x) atTop (𝓝 <| u j x) := by
  have h_str_meas : StronglyMeasurable (id : ι → ι) := stronglyMeasurable_id
  refine' ⟨h_str_meas.approx, fun j x => _⟩
  exact ((hu_cont x).tendsto j).comp (h_str_meas.tendsto_approx j)
state_before: α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
⊢ StronglyMeasurable (uncurry u)

tactic: let U (n : ℕ) (p : ι × α) := u (t_sf n p.fst) p.snd
state_before: case intro
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
⊢ StronglyMeasurable (uncurry u)

tactic: have h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd) := by
  rw [tendsto_pi_nhds]
  exact fun p => ht_sf p.fst p.snd
state_before: case intro
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
⊢ StronglyMeasurable (uncurry u)

tactic: refine' stronglyMeasurable_of_tendsto _ (fun n => _) h_tendsto
state_before: case intro
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
⊢ StronglyMeasurable (uncurry u)

tactic: have :
  (fun p : ι × α => u (t_sf n p.fst) p.snd) =
    (fun p : ↥(t_sf n).range × α => u p.fst p.snd) ∘ fun p : ι × α =>
      (⟨t_sf n p.fst, SimpleFunc.mem_range_self _ _⟩, p.snd) :=
  rfl
state_before: case intro
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
h_str_meas : StronglyMeasurable fun p => u (↑p.fst) p.snd
⊢ StronglyMeasurable (U n)

tactic: simp_rw [this]
state_before: case intro
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
h_str_meas : StronglyMeasurable fun p => u (↑p.fst) p.snd
this :
  (fun p => u (↑(t_sf n) p.fst) p.snd) =
    (fun p => u (↑p.fst) p.snd) ∘ fun p =>
      ({ val := ↑(t_sf n) p.fst, property := (_ : ↑(t_sf n) p.fst ∈ SimpleFunc.range (t_sf n)) }, p.snd)
⊢ StronglyMeasurable (U n)

tactic: refine' h_str_meas.comp_measurable (Measurable.prod_mk _ measurable_snd)
state_before: case intro
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
h_str_meas : StronglyMeasurable fun p => u (↑p.fst) p.snd
this :
  (fun p => u (↑(t_sf n) p.fst) p.snd) =
    (fun p => u (↑p.fst) p.snd) ∘ fun p =>
      ({ val := ↑(t_sf n) p.fst, property := (_ : ↑(t_sf n) p.fst ∈ SimpleFunc.range (t_sf n)) }, p.snd)
⊢ StronglyMeasurable
    ((fun p => u (↑p.fst) p.snd) ∘ fun p =>
      ({ val := ↑(t_sf n) p.fst, property := (_ : ↑(t_sf n) p.fst ∈ SimpleFunc.range (t_sf n)) }, p.snd))

tactic: exact ((t_sf n).measurable.comp measurable_fst).subtype_mk
state_before: case intro
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
h_str_meas : StronglyMeasurable fun p => u (↑p.fst) p.snd
this :
  (fun p => u (↑(t_sf n) p.fst) p.snd) =
    (fun p => u (↑p.fst) p.snd) ∘ fun p =>
      ({ val := ↑(t_sf n) p.fst, property := (_ : ↑(t_sf n) p.fst ∈ SimpleFunc.range (t_sf n)) }, p.snd)
⊢ Measurable fun p => { val := ↑(t_sf n) p.fst, property := (_ : ↑(t_sf n) p.fst ∈ SimpleFunc.range (t_sf n)) }

tactic: have h_str_meas : StronglyMeasurable (id : ι → ι) := stronglyMeasurable_id
state_before: α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
⊢ ∃ t, ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t n) j) x) atTop (𝓝 (u j x))

tactic: refine' ⟨h_str_meas.approx, fun j x => _⟩
state_before: α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
h_str_meas : StronglyMeasurable id
⊢ ∃ t, ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t n) j) x) atTop (𝓝 (u j x))

tactic: exact ((hu_cont x).tendsto j).comp (h_str_meas.tendsto_approx j)
state_before: α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
h_str_meas : StronglyMeasurable id
j : ι
x : α
⊢ Tendsto (fun n => u (↑(StronglyMeasurable.approx h_str_meas n) j) x) atTop (𝓝 (u j x))

tactic: rw [tendsto_pi_nhds]
state_before: α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
⊢ Tendsto U atTop (𝓝 fun p => u p.fst p.snd)

tactic: exact fun p => ht_sf p.fst p.snd
state_before: α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
⊢ ∀ (x : ι × α), Tendsto (fun i => U i x) atTop (𝓝 (u x.fst x.snd))

tactic: refine' stronglyMeasurable_iff_measurable_separable.2 ⟨_, _⟩
state_before: α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
⊢ StronglyMeasurable fun p => u (↑p.fst) p.snd

tactic: have :
  (fun p : ↥(t_sf n).range × α => u (↑p.fst) p.snd) =
    (fun p : α × (t_sf n).range => u (↑p.snd) p.fst) ∘ Prod.swap :=
  rfl
state_before: case refine'_1
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
⊢ Measurable fun p => u (↑p.fst) p.snd

tactic: rw [this, measurable_swap_iff]
state_before: case refine'_1
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
this : (fun p => u (↑p.fst) p.snd) = (fun p => u (↑p.snd) p.fst) ∘ Prod.swap
⊢ Measurable fun p => u (↑p.fst) p.snd

tactic: exact measurable_from_prod_countable fun j => (h j).measurable
state_before: case refine'_1
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
this : (fun p => u (↑p.fst) p.snd) = (fun p => u (↑p.snd) p.fst) ∘ Prod.swap
⊢ Measurable fun p => u (↑p.snd) p.fst

tactic: have : IsSeparable (⋃ i : (t_sf n).range, range (u i)) :=
  isSeparable_iUnion fun i => (h i).isSeparable_range
state_before: case refine'_2
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
⊢ IsSeparable (range fun p => u (↑p.fst) p.snd)

tactic: apply this.mono
state_before: case refine'_2
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
this : IsSeparable (⋃ (i : { x // x ∈ SimpleFunc.range (t_sf n) }), range (u ↑i))
⊢ IsSeparable (range fun p => u (↑p.fst) p.snd)

tactic: rintro _ ⟨⟨i, x⟩, rfl⟩
state_before: case refine'_2
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
this : IsSeparable (⋃ (i : { x // x ∈ SimpleFunc.range (t_sf n) }), range (u ↑i))
⊢ (range fun p => u (↑p.fst) p.snd) ⊆ ⋃ (i : { x // x ∈ SimpleFunc.range (t_sf n) }), range (u ↑i)

tactic: simp only [mem_iUnion, mem_range]
state_before: case refine'_2.intro.mk
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
this : IsSeparable (⋃ (i : { x // x ∈ SimpleFunc.range (t_sf n) }), range (u ↑i))
i : { x // x ∈ SimpleFunc.range (t_sf n) }
x : α
⊢ (fun p => u (↑p.fst) p.snd) (i, x) ∈ ⋃ (i : { x // x ∈ SimpleFunc.range (t_sf n) }), range (u ↑i)

tactic: exact ⟨i, x, rfl⟩
state_before: case refine'_2.intro.mk
α✝ : Type ?u.560896
β✝ : Type ?u.560899
γ : Type ?u.560902
ι✝ : Type ?u.560905
inst✝⁸ : Countable ι✝
α : Type u_1
β : Type u_2
ι : Type u_3
inst✝⁷ : TopologicalSpace ι
inst✝⁶ : MetrizableSpace ι
inst✝⁵ : MeasurableSpace ι
inst✝⁴ : SecondCountableTopology ι
inst✝³ : OpensMeasurableSpace ι
inst✝² : TopologicalSpace β
inst✝¹ : PseudoMetrizableSpace β
inst✝ : MeasurableSpace α
u : ι → α → β
hu_cont : ∀ (x : α), Continuous fun i => u i x
h : ∀ (i : ι), StronglyMeasurable (u i)
this✝¹ : MeasurableSpace β := borel β
this✝ : BorelSpace β
t_sf : ℕ → ι →ₛ ι
ht_sf : ∀ (j : ι) (x : α), Tendsto (fun n => u (↑(t_sf n) j) x) atTop (𝓝 (u j x))
U : ℕ → ι × α → β := fun n p => u (↑(t_sf n) p.fst) p.snd
h_tendsto : Tendsto U atTop (𝓝 fun p => u p.fst p.snd)
n : ℕ
this : IsSeparable (⋃ (i : { x // x ∈ SimpleFunc.range (t_sf n) }), range (u ↑i))
i : { x // x ∈ SimpleFunc.range (t_sf n) }
x : α
⊢ ∃ i_1 y, u (↑i_1) y = u (↑i) x