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 50185
Description: Lemma for setrec1 50188. 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 3911, 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 3911 . . . . . . 7 (𝑋𝑌 ↔ ∀𝑥𝑋 𝑥𝑌)
31, 2sylib 219 . . . . . 6 (𝜑 → ∀𝑥𝑋 𝑥𝑌)
4 setrec1lem2.1 . . . . . . . 8 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
5 vex 3436 . . . . . . . . 9 𝑥 ∈ V
65a1i 11 . . . . . . . 8 (𝜑𝑥 ∈ V)
74, 6setrec1lem1 50184 . . . . . . 7 (𝜑 → (𝑥𝑌 ↔ ∀𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
87ralbidv 3163 . . . . . 6 (𝜑 → (∀𝑥𝑋 𝑥𝑌 ↔ ∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
93, 8mpbid 233 . . . . 5 (𝜑 → ∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
10 ralcom4 3266 . . . . 5 (∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) ↔ ∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
119, 10sylib 219 . . . 4 (𝜑 → ∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
12 nfra1 3264 . . . . . 6 𝑥𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)
13 nfv 1921 . . . . . 6 𝑥𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))
14 rsp 3228 . . . . . . . 8 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (𝑥𝑋 → (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
15 elssuni 4876 . . . . . . . . . . . 12 (𝑥𝑋𝑥 𝑋)
16 sstr2 3929 . . . . . . . . . . . 12 (𝑤𝑥 → (𝑥 𝑋𝑤 𝑋))
1715, 16syl5com 31 . . . . . . . . . . 11 (𝑥𝑋 → (𝑤𝑥𝑤 𝑋))
1817imim1d 82 . . . . . . . . . 10 (𝑥𝑋 → ((𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))))
1918alimdv 1923 . . . . . . . . 9 (𝑥𝑋 → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))))
2019imim1d 82 . . . . . . . 8 (𝑥𝑋 → ((∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
2114, 20sylcom 30 . . . . . . 7 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (𝑥𝑋 → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
2221com23 86 . . . . . 6 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑥𝑋𝑥𝑧)))
2312, 13, 22ralrimd 3245 . . . . 5 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2423alimi 1818 . . . 4 (∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2511, 24syl 17 . . 3 (𝜑 → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
26 unissb 4878 . . . . 5 ( 𝑋𝑧 ↔ ∀𝑥𝑋 𝑥𝑧)
2726imbi2i 337 . . . 4 ((∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) ↔ (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2827albii 1826 . . 3 (∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) ↔ ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2925, 28sylibr 235 . 2 (𝜑 → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
30 setrec1lem2.2 . . . 4 (𝜑𝑋𝑉)
3130uniexd 7692 . . 3 (𝜑 𝑋 ∈ V)
324, 31setrec1lem1 50184 . 2 (𝜑 → ( 𝑋𝑌 ↔ ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧)))
3329, 32mpbird 258 1 (𝜑 𝑋𝑌)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1545   = wceq 1547  wcel 2119  {cab 2718  wral 3054  Vcvv 3432  wss 3890   cuni 4845  cfv 6492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2712  ax-sep 5225  ax-un 7685
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-tru 1550  df-ex 1787  df-nf 1791  df-sb 2074  df-clab 2719  df-cleq 2732  df-clel 2815  df-ral 3055  df-v 3434  df-ss 3907  df-uni 4846
This theorem is referenced by:  setrec1lem3  50186
  Copyright terms: Public domain W3C validator