Users' Mathboxes Mathbox for Emmett Weisz < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  setrec1lem2 Structured version   Visualization version   GIF version

Theorem setrec1lem2 46394
Description: Lemma for setrec1 46397. If a family of sets are all recursively generated by 𝐹, so is their union. In this theorem, 𝑋 is a family of sets which are all elements of 𝑌, and 𝑉 is any class. Use dfss3 3909, equivalence and equality theorems, and unissb at the end. Sandwich with applications of setrec1lem1. (Contributed by Emmett Weisz, 24-Jan-2021.) (New usage is discouraged.)
Hypotheses
Ref Expression
setrec1lem2.1 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
setrec1lem2.2 (𝜑𝑋𝑉)
setrec1lem2.3 (𝜑𝑋𝑌)
Assertion
Ref Expression
setrec1lem2 (𝜑 𝑋𝑌)
Distinct variable groups:   𝑦,𝐹   𝑤,𝑋,𝑦   𝑧,𝑋,𝑦
Allowed substitution hints:   𝜑(𝑦,𝑧,𝑤)   𝐹(𝑧,𝑤)   𝑉(𝑦,𝑧,𝑤)   𝑌(𝑦,𝑧,𝑤)

Proof of Theorem setrec1lem2
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 setrec1lem2.3 . . . . . . 7 (𝜑𝑋𝑌)
2 dfss3 3909 . . . . . . 7 (𝑋𝑌 ↔ ∀𝑥𝑋 𝑥𝑌)
31, 2sylib 217 . . . . . 6 (𝜑 → ∀𝑥𝑋 𝑥𝑌)
4 setrec1lem2.1 . . . . . . . 8 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
5 vex 3436 . . . . . . . . 9 𝑥 ∈ V
65a1i 11 . . . . . . . 8 (𝜑𝑥 ∈ V)
74, 6setrec1lem1 46393 . . . . . . 7 (𝜑 → (𝑥𝑌 ↔ ∀𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
87ralbidv 3112 . . . . . 6 (𝜑 → (∀𝑥𝑋 𝑥𝑌 ↔ ∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
93, 8mpbid 231 . . . . 5 (𝜑 → ∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
10 ralcom4 3164 . . . . 5 (∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) ↔ ∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
119, 10sylib 217 . . . 4 (𝜑 → ∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
12 nfra1 3144 . . . . . 6 𝑥𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)
13 nfv 1917 . . . . . 6 𝑥𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))
14 rsp 3131 . . . . . . . 8 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (𝑥𝑋 → (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
15 elssuni 4871 . . . . . . . . . . . 12 (𝑥𝑋𝑥 𝑋)
16 sstr2 3928 . . . . . . . . . . . 12 (𝑤𝑥 → (𝑥 𝑋𝑤 𝑋))
1715, 16syl5com 31 . . . . . . . . . . 11 (𝑥𝑋 → (𝑤𝑥𝑤 𝑋))
1817imim1d 82 . . . . . . . . . 10 (𝑥𝑋 → ((𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))))
1918alimdv 1919 . . . . . . . . 9 (𝑥𝑋 → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))))
2019imim1d 82 . . . . . . . 8 (𝑥𝑋 → ((∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
2114, 20sylcom 30 . . . . . . 7 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (𝑥𝑋 → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
2221com23 86 . . . . . 6 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑥𝑋𝑥𝑧)))
2312, 13, 22ralrimd 3143 . . . . 5 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2423alimi 1814 . . . 4 (∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2511, 24syl 17 . . 3 (𝜑 → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
26 unissb 4873 . . . . 5 ( 𝑋𝑧 ↔ ∀𝑥𝑋 𝑥𝑧)
2726imbi2i 336 . . . 4 ((∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) ↔ (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2827albii 1822 . . 3 (∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) ↔ ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2925, 28sylibr 233 . 2 (𝜑 → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
30 setrec1lem2.2 . . . 4 (𝜑𝑋𝑉)
3130uniexd 7595 . . 3 (𝜑 𝑋 ∈ V)
324, 31setrec1lem1 46393 . 2 (𝜑 → ( 𝑋𝑌 ↔ ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧)))
3329, 32mpbird 256 1 (𝜑 𝑋𝑌)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1537   = wceq 1539  wcel 2106  {cab 2715  wral 3064  Vcvv 3432  wss 3887   cuni 4839  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-v 3434  df-in 3894  df-ss 3904  df-uni 4840
This theorem is referenced by:  setrec1lem3  46395
  Copyright terms: Public domain W3C validator