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 42997
Description: Lemma for setrec1 43000. 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 3781, 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 3781 . . . . . . 7 (𝑋𝑌 ↔ ∀𝑥𝑋 𝑥𝑌)
31, 2sylib 209 . . . . . 6 (𝜑 → ∀𝑥𝑋 𝑥𝑌)
4 setrec1lem2.1 . . . . . . . 8 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
5 vex 3390 . . . . . . . . 9 𝑥 ∈ V
65a1i 11 . . . . . . . 8 (𝜑𝑥 ∈ V)
74, 6setrec1lem1 42996 . . . . . . 7 (𝜑 → (𝑥𝑌 ↔ ∀𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
87ralbidv 3170 . . . . . 6 (𝜑 → (∀𝑥𝑋 𝑥𝑌 ↔ ∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
93, 8mpbid 223 . . . . 5 (𝜑 → ∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
10 ralcom4 3414 . . . . 5 (∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) ↔ ∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
119, 10sylib 209 . . . 4 (𝜑 → ∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
12 nfra1 3125 . . . . . 6 𝑥𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)
13 nfv 2005 . . . . . 6 𝑥𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))
14 rsp 3113 . . . . . . . 8 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (𝑥𝑋 → (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
15 elssuni 4654 . . . . . . . . . . . 12 (𝑥𝑋𝑥 𝑋)
16 sstr2 3799 . . . . . . . . . . . 12 (𝑤𝑥 → (𝑥 𝑋𝑤 𝑋))
1715, 16syl5com 31 . . . . . . . . . . 11 (𝑥𝑋 → (𝑤𝑥𝑤 𝑋))
1817imim1d 82 . . . . . . . . . 10 (𝑥𝑋 → ((𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))))
1918alimdv 2007 . . . . . . . . 9 (𝑥𝑋 → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))))
2019imim1d 82 . . . . . . . 8 (𝑥𝑋 → ((∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
2114, 20sylcom 30 . . . . . . 7 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (𝑥𝑋 → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
2221com23 86 . . . . . 6 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑥𝑋𝑥𝑧)))
2312, 13, 22ralrimd 3143 . . . . 5 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2423alimi 1896 . . . 4 (∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2511, 24syl 17 . . 3 (𝜑 → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
26 unissb 4656 . . . . 5 ( 𝑋𝑧 ↔ ∀𝑥𝑋 𝑥𝑧)
2726imbi2i 327 . . . 4 ((∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) ↔ (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2827albii 1904 . . 3 (∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) ↔ ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2925, 28sylibr 225 . 2 (𝜑 → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
30 setrec1lem2.2 . . . 4 (𝜑𝑋𝑉)
31 uniexg 7179 . . . 4 (𝑋𝑉 𝑋 ∈ V)
3230, 31syl 17 . . 3 (𝜑 𝑋 ∈ V)
334, 32setrec1lem1 42996 . 2 (𝜑 → ( 𝑋𝑌 ↔ ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧)))
3429, 33mpbird 248 1 (𝜑 𝑋𝑌)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1635   = wceq 1637  wcel 2155  {cab 2788  wral 3092  Vcvv 3387  wss 3763   cuni 4623  cfv 6095
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2067  ax-7 2103  ax-8 2157  ax-9 2164  ax-10 2184  ax-11 2200  ax-12 2213  ax-13 2419  ax-ext 2781  ax-sep 4968  ax-un 7173
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2060  df-clab 2789  df-cleq 2795  df-clel 2798  df-nfc 2933  df-ral 3097  df-rex 3098  df-v 3389  df-in 3770  df-ss 3777  df-uni 4624
This theorem is referenced by:  setrec1lem3  42998
  Copyright terms: Public domain W3C validator