Theorem: MeasurableSpace.generateMeasurable_eq_rec
File: Mathlib/MeasureTheory/MeasurableSpace/Card.lean

tactic: ext t
state_before: α : Type u
s : Set (Set α)
⊢ {t | GenerateMeasurable s t} = ⋃ i, generateMeasurableRec s i
state_after: case h
α : Type u
s : Set (Set α)
t : Set α
⊢ t ∈ {t | GenerateMeasurable s t} ↔ t ∈ ⋃ i, generateMeasurableRec s i

tactic: refine ⟨fun ht => ?_, fun ht => ?_⟩
state_before: case h
α : Type u
s : Set (Set α)
t : Set α
⊢ t ∈ {t | GenerateMeasurable s t} ↔ t ∈ ⋃ i, generateMeasurableRec s i
state_after: case h.refine_1
α : Type u
s : Set (Set α)
t : Set α
ht : t ∈ {t | GenerateMeasurable s t}
⊢ t ∈ ⋃ i, generateMeasurableRec s i

case h.refine_2
α : Type u
s : Set (Set α)
t : Set α
ht : t ∈ ⋃ i, generateMeasurableRec s i
⊢ t ∈ {t | GenerateMeasurable s t}

tactic: inhabit ω₁
state_before: case h.refine_1
α : Type u
s : Set (Set α)
t : Set α
ht : t ∈ {t | GenerateMeasurable s t}
⊢ t ∈ ⋃ i, generateMeasurableRec s i
state_after: case h.refine_1
α : Type u
s : Set (Set α)
t : Set α
ht : t ∈ {t | GenerateMeasurable s t}
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
⊢ t ∈ ⋃ i, generateMeasurableRec s i

tactic: induction' ht with u hu u _ IH f _ IH
state_before: case h.refine_1
α : Type u
s : Set (Set α)
t : Set α
ht : t ∈ {t | GenerateMeasurable s t}
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
⊢ t ∈ ⋃ i, generateMeasurableRec s i
state_after: case h.refine_1.basic
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
u : Set α
hu : u ∈ s
⊢ u ∈ ⋃ i, generateMeasurableRec s i

case h.refine_1.empty
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
⊢ ∅ ∈ ⋃ i, generateMeasurableRec s i

case h.refine_1.compl
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
u : Set α
a✝ : GenerateMeasurable s u
IH : u ∈ ⋃ i, generateMeasurableRec s i
⊢ uᶜ ∈ ⋃ i, generateMeasurableRec s i

case h.refine_1.iUnion
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
⊢ ⋃ i, f i ∈ ⋃ i, generateMeasurableRec s i

tactic: exact mem_iUnion.2 ⟨default, self_subset_generateMeasurableRec s _ hu⟩
state_before: case h.refine_1.basic
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
u : Set α
hu : u ∈ s
⊢ u ∈ ⋃ i, generateMeasurableRec s i
state_after: no goals

tactic: exact mem_iUnion.2 ⟨default, empty_mem_generateMeasurableRec s _⟩
state_before: case h.refine_1.empty
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
⊢ ∅ ∈ ⋃ i, generateMeasurableRec s i
state_after: no goals

tactic: rcases mem_iUnion.1 IH with ⟨i, hi⟩
state_before: case h.refine_1.compl
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
u : Set α
a✝ : GenerateMeasurable s u
IH : u ∈ ⋃ i, generateMeasurableRec s i
⊢ uᶜ ∈ ⋃ i, generateMeasurableRec s i
state_after: case h.refine_1.compl.intro
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
u : Set α
a✝ : GenerateMeasurable s u
IH : u ∈ ⋃ i, generateMeasurableRec s i
i : (Quotient.out (aleph 1).ord).α
hi : u ∈ generateMeasurableRec s i
⊢ uᶜ ∈ ⋃ i, generateMeasurableRec s i

tactic: obtain ⟨j, hj⟩ := exists_gt i
state_before: case h.refine_1.compl.intro
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
u : Set α
a✝ : GenerateMeasurable s u
IH : u ∈ ⋃ i, generateMeasurableRec s i
i : (Quotient.out (aleph 1).ord).α
hi : u ∈ generateMeasurableRec s i
⊢ uᶜ ∈ ⋃ i, generateMeasurableRec s i
state_after: case h.refine_1.compl.intro.intro
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
u : Set α
a✝ : GenerateMeasurable s u
IH : u ∈ ⋃ i, generateMeasurableRec s i
i : (Quotient.out (aleph 1).ord).α
hi : u ∈ generateMeasurableRec s i
j : (Quotient.out (aleph 1).ord).α
hj : i < j
⊢ uᶜ ∈ ⋃ i, generateMeasurableRec s i

tactic: exact mem_iUnion.2 ⟨j, compl_mem_generateMeasurableRec hj hi⟩
state_before: case h.refine_1.compl.intro.intro
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
u : Set α
a✝ : GenerateMeasurable s u
IH : u ∈ ⋃ i, generateMeasurableRec s i
i : (Quotient.out (aleph 1).ord).α
hi : u ∈ generateMeasurableRec s i
j : (Quotient.out (aleph 1).ord).α
hj : i < j
⊢ uᶜ ∈ ⋃ i, generateMeasurableRec s i
state_after: no goals

tactic: have : ∀ n, ∃ i, f n ∈ generateMeasurableRec s i := fun n => by simpa using IH n
state_before: case h.refine_1.iUnion
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
⊢ ⋃ i, f i ∈ ⋃ i, generateMeasurableRec s i
state_after: case h.refine_1.iUnion
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
this : ∀ (n : ℕ), ∃ i, f n ∈ generateMeasurableRec s i
⊢ ⋃ i, f i ∈ ⋃ i, generateMeasurableRec s i

tactic: choose I hI using this
state_before: case h.refine_1.iUnion
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
this : ∀ (n : ℕ), ∃ i, f n ∈ generateMeasurableRec s i
⊢ ⋃ i, f i ∈ ⋃ i, generateMeasurableRec s i
state_after: case h.refine_1.iUnion
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
⊢ ⋃ i, f i ∈ ⋃ i, generateMeasurableRec s i

tactic: simpa using IH n
state_before: α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
n : ℕ
⊢ ∃ i, f n ∈ generateMeasurableRec s i
state_after: no goals

tactic: rw [Ordinal.type_lt]
state_before: case h.refine_1.iUnion.refine_1
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
this : IsWellOrder (Quotient.out (aleph 1).ord).α fun x x_1 => x < x_1
⊢ (Ordinal.lsub fun n => Ordinal.typein (fun x x_1 => x < x_1) (I n)) < Ordinal.type fun x x_1 => x < x_1
state_after: case h.refine_1.iUnion.refine_1
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
this : IsWellOrder (Quotient.out (aleph 1).ord).α fun x x_1 => x < x_1
⊢ (Ordinal.lsub fun n => Ordinal.typein (fun x x_1 => x < x_1) (I n)) < (aleph 1).ord

tactic: refine Ordinal.lsub_lt_ord_lift ?_ fun i => Ordinal.typein_lt_self _
state_before: case h.refine_1.iUnion.refine_1
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
this : IsWellOrder (Quotient.out (aleph 1).ord).α fun x x_1 => x < x_1
⊢ (Ordinal.lsub fun n => Ordinal.typein (fun x x_1 => x < x_1) (I n)) < (aleph 1).ord
state_after: case h.refine_1.iUnion.refine_1
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
this : IsWellOrder (Quotient.out (aleph 1).ord).α fun x x_1 => x < x_1
⊢ lift.{u, 0} #ℕ < (aleph 1).ord.cof

tactic: rw [mk_denumerable, lift_aleph0, isRegular_aleph_one.cof_eq]
state_before: case h.refine_1.iUnion.refine_1
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
this : IsWellOrder (Quotient.out (aleph 1).ord).α fun x x_1 => x < x_1
⊢ lift.{u, 0} #ℕ < (aleph 1).ord.cof
state_after: case h.refine_1.iUnion.refine_1
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
this : IsWellOrder (Quotient.out (aleph 1).ord).α fun x x_1 => x < x_1
⊢ ℵ₀ < aleph 1

tactic: exact aleph0_lt_aleph_one
state_before: case h.refine_1.iUnion.refine_1
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
this : IsWellOrder (Quotient.out (aleph 1).ord).α fun x x_1 => x < x_1
⊢ ℵ₀ < aleph 1
state_after: no goals

tactic: apply Ordinal.lt_lsub fun n : ℕ => _
state_before: case h.refine_1.iUnion.refine_2
α : Type u
s : Set (Set α)
t : Set α
inhabited_h : Inhabited (Quotient.out (aleph 1).ord).α
f : ℕ → Set α
a✝ : ∀ (n : ℕ), GenerateMeasurable s (f n)
IH : ∀ (n : ℕ), f n ∈ ⋃ i, generateMeasurableRec s i
I : ℕ → (Quotient.out (aleph 1).ord).α
hI : ∀ (n : ℕ), f n ∈ generateMeasurableRec s (I n)
this : IsWellOrder (Quotient.out (aleph 1).ord).α fun x x_1 => x < x_1
n : ℕ
⊢ Ordinal.typein (fun x x_1 => x < x_1) (I n) < Ordinal.lsub fun n => Ordinal.typein (fun x x_1 => x < x_1) (I n)
state_after: no goals

tactic: rcases ht with ⟨t, ⟨i, rfl⟩, hx⟩
state_before: case h.refine_2
α : Type u
s : Set (Set α)
t : Set α
ht : t ∈ ⋃ i, generateMeasurableRec s i
⊢ t ∈ {t | GenerateMeasurable s t}
state_after: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
t : Set α
i : (Quotient.out (aleph 1).ord).α
hx : t ∈ (fun i => generateMeasurableRec s i) i
⊢ t ∈ {t | GenerateMeasurable s t}

tactic: revert t
state_before: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
t : Set α
i : (Quotient.out (aleph 1).ord).α
hx : t ∈ (fun i => generateMeasurableRec s i) i
⊢ t ∈ {t | GenerateMeasurable s t}
state_after: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
i : (Quotient.out (aleph 1).ord).α
⊢ ∀ t ∈ (fun i => generateMeasurableRec s i) i, t ∈ {t | GenerateMeasurable s t}

tactic: apply (aleph 1).ord.out.wo.wf.induction i
state_before: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
i : (Quotient.out (aleph 1).ord).α
⊢ ∀ t ∈ (fun i => generateMeasurableRec s i) i, t ∈ {t | GenerateMeasurable s t}
state_after: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
i : (Quotient.out (aleph 1).ord).α
⊢ ∀ (x : (Quotient.out (aleph 1).ord).α),
    (∀ (y : (Quotient.out (aleph 1).ord).α),
        (Quotient.out (aleph 1).ord).r y x →
          ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}) →
      ∀ t ∈ (fun i => generateMeasurableRec s i) x, t ∈ {t | GenerateMeasurable s t}

tactic: intro j H t ht
state_before: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
i : (Quotient.out (aleph 1).ord).α
⊢ ∀ (x : (Quotient.out (aleph 1).ord).α),
    (∀ (y : (Quotient.out (aleph 1).ord).α),
        (Quotient.out (aleph 1).ord).r y x →
          ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}) →
      ∀ t ∈ (fun i => generateMeasurableRec s i) x, t ∈ {t | GenerateMeasurable s t}
state_after: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
t : Set α
ht : t ∈ (fun i => generateMeasurableRec s i) j
⊢ t ∈ {t | GenerateMeasurable s t}

tactic: unfold generateMeasurableRec at ht
state_before: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
t : Set α
ht : t ∈ (fun i => generateMeasurableRec s i) j
⊢ t ∈ {t | GenerateMeasurable s t}
state_after: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
t : Set α
ht :
  t ∈
    let i := j;
    let S := ⋃ j, generateMeasurableRec s ↑j;
    s ∪ {∅} ∪ compl '' S ∪ range fun f => ⋃ n, ↑(f n)
⊢ t ∈ {t | GenerateMeasurable s t}

tactic: rcases ht with (((h | (rfl : t = ∅)) | ⟨u, ⟨-, ⟨⟨k, hk⟩, rfl⟩, hu⟩, rfl⟩) | ⟨f, rfl⟩)
state_before: case h.refine_2.intro.intro.intro
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
t : Set α
ht :
  t ∈
    let i := j;
    let S := ⋃ j, generateMeasurableRec s ↑j;
    s ∪ {∅} ∪ compl '' S ∪ range fun f => ⋃ n, ↑(f n)
⊢ t ∈ {t | GenerateMeasurable s t}
state_after: case h.refine_2.intro.intro.intro.inl.inl.inl
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
t : Set α
h : t ∈ s
⊢ t ∈ {t | GenerateMeasurable s t}

case h.refine_2.intro.intro.intro.inl.inl.inr
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
⊢ ∅ ∈ {t | GenerateMeasurable s t}

case h.refine_2.intro.intro.intro.inl.inr.intro.intro.intro.intro.intro.mk
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
u : Set α
k : (Quotient.out (aleph 1).ord).α
hk : k ∈ Iio j
hu : u ∈ (fun j_1 => generateMeasurableRec s ↑j_1) ⟨k, hk⟩
⊢ uᶜ ∈ {t | GenerateMeasurable s t}

case h.refine_2.intro.intro.intro.inr.intro
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
f : ℕ → ↑(⋃ j_1, generateMeasurableRec s ↑j_1)
⊢ (fun f => ⋃ n, ↑(f n)) f ∈ {t | GenerateMeasurable s t}

tactic: exact .basic t h
state_before: case h.refine_2.intro.intro.intro.inl.inl.inl
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
t : Set α
h : t ∈ s
⊢ t ∈ {t | GenerateMeasurable s t}
state_after: no goals

tactic: exact .empty
state_before: case h.refine_2.intro.intro.intro.inl.inl.inr
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
⊢ ∅ ∈ {t | GenerateMeasurable s t}
state_after: no goals

tactic: exact .compl u (H k hk u hu)
state_before: case h.refine_2.intro.intro.intro.inl.inr.intro.intro.intro.intro.intro.mk
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
u : Set α
k : (Quotient.out (aleph 1).ord).α
hk : k ∈ Iio j
hu : u ∈ (fun j_1 => generateMeasurableRec s ↑j_1) ⟨k, hk⟩
⊢ uᶜ ∈ {t | GenerateMeasurable s t}
state_after: no goals

tactic: refine .iUnion _ @fun n => ?_
state_before: case h.refine_2.intro.intro.intro.inr.intro
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
f : ℕ → ↑(⋃ j_1, generateMeasurableRec s ↑j_1)
⊢ (fun f => ⋃ n, ↑(f n)) f ∈ {t | GenerateMeasurable s t}
state_after: case h.refine_2.intro.intro.intro.inr.intro
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
f : ℕ → ↑(⋃ j_1, generateMeasurableRec s ↑j_1)
n : ℕ
⊢ GenerateMeasurable s ↑(f n)

tactic: obtain ⟨-, ⟨⟨k, hk⟩, rfl⟩, hf⟩ := (f n).prop
state_before: case h.refine_2.intro.intro.intro.inr.intro
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
f : ℕ → ↑(⋃ j_1, generateMeasurableRec s ↑j_1)
n : ℕ
⊢ GenerateMeasurable s ↑(f n)
state_after: case h.refine_2.intro.intro.intro.inr.intro.intro.intro.intro.mk
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
f : ℕ → ↑(⋃ j_1, generateMeasurableRec s ↑j_1)
n : ℕ
k : (Quotient.out (aleph 1).ord).α
hk : k ∈ Iio j
hf : ↑(f n) ∈ (fun j_1 => generateMeasurableRec s ↑j_1) ⟨k, hk⟩
⊢ GenerateMeasurable s ↑(f n)

tactic: exact H k hk _ hf
state_before: case h.refine_2.intro.intro.intro.inr.intro.intro.intro.intro.mk
α : Type u
s : Set (Set α)
i j : (Quotient.out (aleph 1).ord).α
H :
  ∀ (y : (Quotient.out (aleph 1).ord).α),
    (Quotient.out (aleph 1).ord).r y j → ∀ t ∈ (fun i => generateMeasurableRec s i) y, t ∈ {t | GenerateMeasurable s t}
f : ℕ → ↑(⋃ j_1, generateMeasurableRec s ↑j_1)
n : ℕ
k : (Quotient.out (aleph 1).ord).α
hk : k ∈ Iio j
hf : ↑(f n) ∈ (fun j_1 => generateMeasurableRec s ↑j_1) ⟨k, hk⟩
⊢ GenerateMeasurable s ↑(f n)
state_after: no goals