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 50507
Description: Lemma for setrec1 50510. 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 3929, 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 3929 . . . . . . 7 (𝑋𝑌 ↔ ∀𝑥𝑋 𝑥𝑌)
31, 2sylib 221 . . . . . 6 (𝜑 → ∀𝑥𝑋 𝑥𝑌)
4 setrec1lem2.1 . . . . . . . 8 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
5 vex 3462 . . . . . . . . 9 𝑥 ∈ V
65a1i 11 . . . . . . . 8 (𝜑𝑥 ∈ V)
74, 6setrec1lem1 50506 . . . . . . 7 (𝜑 → (𝑥𝑌 ↔ ∀𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
87ralbidv 3191 . . . . . 6 (𝜑 → (∀𝑥𝑋 𝑥𝑌 ↔ ∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
93, 8mpbid 235 . . . . 5 (𝜑 → ∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
10 ralcom4 3294 . . . . 5 (∀𝑥𝑋𝑧(∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) ↔ ∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
119, 10sylib 221 . . . 4 (𝜑 → ∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧))
12 nfra1 3292 . . . . . 6 𝑥𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)
13 nfv 1947 . . . . . 6 𝑥𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))
14 rsp 3256 . . . . . . . 8 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (𝑥𝑋 → (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
15 elssuni 4909 . . . . . . . . . . . 12 (𝑥𝑋𝑥 𝑋)
16 sstr2 3947 . . . . . . . . . . . 12 (𝑤𝑥 → (𝑥 𝑋𝑤 𝑋))
1715, 16syl5com 32 . . . . . . . . . . 11 (𝑥𝑋 → (𝑤𝑥𝑤 𝑋))
1817imim1d 83 . . . . . . . . . 10 (𝑥𝑋 → ((𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))))
1918alimdv 1949 . . . . . . . . 9 (𝑥𝑋 → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧))))
2019imim1d 83 . . . . . . . 8 (𝑥𝑋 → ((∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
2114, 20sylcom 31 . . . . . . 7 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (𝑥𝑋 → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧)))
2221com23 87 . . . . . 6 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑥𝑋𝑥𝑧)))
2312, 13, 22ralrimd 3273 . . . . 5 (∀𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2423alimi 1844 . . . 4 (∀𝑧𝑥𝑋 (∀𝑤(𝑤𝑥 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑥𝑧) → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2511, 24syl 18 . . 3 (𝜑 → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
26 unissb 4911 . . . . 5 ( 𝑋𝑧 ↔ ∀𝑥𝑋 𝑥𝑧)
2726imbi2i 339 . . . 4 ((∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) ↔ (∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2827albii 1852 . . 3 (∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) ↔ ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑥𝑋 𝑥𝑧))
2925, 28sylibr 237 . 2 (𝜑 → ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
30 setrec1lem2.2 . . . 4 (𝜑𝑋𝑉)
3130uniexd 7753 . . 3 (𝜑 𝑋 ∈ V)
324, 31setrec1lem1 50506 . 2 (𝜑 → ( 𝑋𝑌 ↔ ∀𝑧(∀𝑤(𝑤 𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧)))
3329, 32mpbird 260 1 (𝜑 𝑋𝑌)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wal 1568   = wceq 1570  wcel 2146  {cab 2744  wral 3082  Vcvv 3458  wss 3908   cuni 4877  cfv 6543
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-un 7745
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2745  df-cleq 2758  df-clel 2841  df-ral 3083  df-v 3460  df-ss 3925  df-uni 4878
This theorem is used by:  setrec1lem3  50508
  Copyright terms: Public domain W3C validator