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

Theorem setrec1lem4 44787
Description: Lemma for setrec1 44788. If 𝑋 is recursively generated by 𝐹, then so is 𝑋 ∪ (𝐹𝐴).

In the proof of setrec1 44788, the following is substituted for this theorem's 𝜑: (𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤 (𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) Therefore, we cannot declare 𝑧 to be a distinct variable from 𝜑, since we need it to appear as a bound variable in 𝜑. This theorem can be proven without the hypothesis 𝑧𝜑, but the proof would be harder to read because theorems in deduction form would be interrupted by theorems like eximi 1831, making the antecedent of each line something more complicated than 𝜑. The proof of setrec1lem2 44785 could similarly be made easier to read by adding the hypothesis 𝑧𝜑, but I had already finished the proof and decided to leave it as is. (Contributed by Emmett Weisz, 26-Nov-2020.) (New usage is discouraged.)

Hypotheses
Ref Expression
setrec1lem4.1 𝑧𝜑
setrec1lem4.2 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
setrec1lem4.3 (𝜑𝐴 ∈ V)
setrec1lem4.4 (𝜑𝐴𝑋)
setrec1lem4.5 (𝜑𝑋𝑌)
Assertion
Ref Expression
setrec1lem4 (𝜑 → (𝑋 ∪ (𝐹𝐴)) ∈ 𝑌)
Distinct variable groups:   𝑦,𝑤,𝑧,𝐴   𝑤,𝐹,𝑦,𝑧   𝑤,𝑋,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑦,𝑧,𝑤)   𝑌(𝑦,𝑧,𝑤)

Proof of Theorem setrec1lem4
StepHypRef Expression
1 setrec1lem4.1 . . 3 𝑧𝜑
2 id 22 . . . . . . . 8 (𝑤𝑋𝑤𝑋)
3 ssun1 4147 . . . . . . . 8 𝑋 ⊆ (𝑋 ∪ (𝐹𝐴))
42, 3sstrdi 3978 . . . . . . 7 (𝑤𝑋𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)))
54imim1i 63 . . . . . 6 ((𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)))
65alimi 1808 . . . . 5 (∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)))
7 setrec1lem4.5 . . . . . . . 8 (𝜑𝑋𝑌)
8 setrec1lem4.2 . . . . . . . . 9 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
98, 7setrec1lem1 44784 . . . . . . . 8 (𝜑 → (𝑋𝑌 ↔ ∀𝑧(∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧)))
107, 9mpbid 234 . . . . . . 7 (𝜑 → ∀𝑧(∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
11 sp 2178 . . . . . . 7 (∀𝑧(∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
1210, 11syl 17 . . . . . 6 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
13 setrec1lem4.4 . . . . . . . . 9 (𝜑𝐴𝑋)
14 sstr2 3973 . . . . . . . . 9 (𝐴𝑋 → (𝑋𝑧𝐴𝑧))
1513, 14syl 17 . . . . . . . 8 (𝜑 → (𝑋𝑧𝐴𝑧))
1612, 15syld 47 . . . . . . 7 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝐴𝑧))
17 setrec1lem4.3 . . . . . . . . 9 (𝜑𝐴 ∈ V)
18 sseq1 3991 . . . . . . . . . 10 (𝑤 = 𝐴 → (𝑤𝑋𝐴𝑋))
19 sseq1 3991 . . . . . . . . . . 11 (𝑤 = 𝐴 → (𝑤𝑧𝐴𝑧))
20 fveq2 6664 . . . . . . . . . . . 12 (𝑤 = 𝐴 → (𝐹𝑤) = (𝐹𝐴))
2120sseq1d 3997 . . . . . . . . . . 11 (𝑤 = 𝐴 → ((𝐹𝑤) ⊆ 𝑧 ↔ (𝐹𝐴) ⊆ 𝑧))
2219, 21imbi12d 347 . . . . . . . . . 10 (𝑤 = 𝐴 → ((𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧) ↔ (𝐴𝑧 → (𝐹𝐴) ⊆ 𝑧)))
2318, 22imbi12d 347 . . . . . . . . 9 (𝑤 = 𝐴 → ((𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) ↔ (𝐴𝑋 → (𝐴𝑧 → (𝐹𝐴) ⊆ 𝑧))))
2417, 23spcdvw 44776 . . . . . . . 8 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝐴𝑋 → (𝐴𝑧 → (𝐹𝐴) ⊆ 𝑧))))
2513, 24mpid 44 . . . . . . 7 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝐴𝑧 → (𝐹𝐴) ⊆ 𝑧)))
2616, 25mpdd 43 . . . . . 6 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝐹𝐴) ⊆ 𝑧))
2712, 26jcad 515 . . . . 5 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋𝑧 ∧ (𝐹𝐴) ⊆ 𝑧)))
286, 27syl5 34 . . . 4 (𝜑 → (∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋𝑧 ∧ (𝐹𝐴) ⊆ 𝑧)))
29 unss 4159 . . . 4 ((𝑋𝑧 ∧ (𝐹𝐴) ⊆ 𝑧) ↔ (𝑋 ∪ (𝐹𝐴)) ⊆ 𝑧)
3028, 29syl6ib 253 . . 3 (𝜑 → (∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋 ∪ (𝐹𝐴)) ⊆ 𝑧))
311, 30alrimi 2209 . 2 (𝜑 → ∀𝑧(∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋 ∪ (𝐹𝐴)) ⊆ 𝑧))
32 fvex 6677 . . . 4 (𝐹𝐴) ∈ V
33 unexg 7466 . . . 4 ((𝑋𝑌 ∧ (𝐹𝐴) ∈ V) → (𝑋 ∪ (𝐹𝐴)) ∈ V)
347, 32, 33sylancl 588 . . 3 (𝜑 → (𝑋 ∪ (𝐹𝐴)) ∈ V)
358, 34setrec1lem1 44784 . 2 (𝜑 → ((𝑋 ∪ (𝐹𝐴)) ∈ 𝑌 ↔ ∀𝑧(∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋 ∪ (𝐹𝐴)) ⊆ 𝑧)))
3631, 35mpbird 259 1 (𝜑 → (𝑋 ∪ (𝐹𝐴)) ∈ 𝑌)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wal 1531   = wceq 1533  wnf 1780  wcel 2110  {cab 2799  Vcvv 3494  cun 3933  wss 3935  cfv 6349
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pr 5321  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-iota 6308  df-fv 6357
This theorem is referenced by:  setrec1  44788
  Copyright terms: Public domain W3C validator