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 42437
Description: Lemma for setrec1 42438. If 𝑋 is recursively generated by 𝐹, then so is 𝑋 ∪ (𝐹𝐴).

In the proof of setrec1 42438, 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 1762, making the antecedent of each line something more complicated than 𝜑. The proof of setrec1lem2 42435 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 3776 . . . . . . . 8 𝑋 ⊆ (𝑋 ∪ (𝐹𝐴))
42, 3syl6ss 3615 . . . . . . 7 (𝑤𝑋𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)))
54imim1i 63 . . . . . 6 ((𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)))
65alimi 1739 . . . . 5 (∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → ∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)))
7 setrec1lem4.5 . . . . . . . 8 (𝜑𝑋𝑌)
8 setrec1lem4.2 . . . . . . . . 9 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
98, 7setrec1lem1 42434 . . . . . . . 8 (𝜑 → (𝑋𝑌 ↔ ∀𝑧(∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧)))
107, 9mpbid 222 . . . . . . 7 (𝜑 → ∀𝑧(∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
11 sp 2053 . . . . . . 7 (∀𝑧(∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧) → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
1210, 11syl 17 . . . . . 6 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑋𝑧))
13 setrec1lem4.4 . . . . . . . . 9 (𝜑𝐴𝑋)
14 sstr2 3610 . . . . . . . . 9 (𝐴𝑋 → (𝑋𝑧𝐴𝑧))
1513, 14syl 17 . . . . . . . 8 (𝜑 → (𝑋𝑧𝐴𝑧))
1612, 15syld 47 . . . . . . 7 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝐴𝑧))
17 setrec1lem4.3 . . . . . . . . 9 (𝜑𝐴 ∈ V)
18 sseq1 3626 . . . . . . . . . 10 (𝑤 = 𝐴 → (𝑤𝑋𝐴𝑋))
19 sseq1 3626 . . . . . . . . . . 11 (𝑤 = 𝐴 → (𝑤𝑧𝐴𝑧))
20 fveq2 6191 . . . . . . . . . . . 12 (𝑤 = 𝐴 → (𝐹𝑤) = (𝐹𝐴))
2120sseq1d 3632 . . . . . . . . . . 11 (𝑤 = 𝐴 → ((𝐹𝑤) ⊆ 𝑧 ↔ (𝐹𝐴) ⊆ 𝑧))
2219, 21imbi12d 334 . . . . . . . . . 10 (𝑤 = 𝐴 → ((𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧) ↔ (𝐴𝑧 → (𝐹𝐴) ⊆ 𝑧)))
2318, 22imbi12d 334 . . . . . . . . 9 (𝑤 = 𝐴 → ((𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) ↔ (𝐴𝑋 → (𝐴𝑧 → (𝐹𝐴) ⊆ 𝑧))))
2417, 23spcdvw 42426 . . . . . . . 8 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝐴𝑋 → (𝐴𝑧 → (𝐹𝐴) ⊆ 𝑧))))
2513, 24mpid 44 . . . . . . 7 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝐴𝑧 → (𝐹𝐴) ⊆ 𝑧)))
2616, 25mpdd 43 . . . . . 6 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝐹𝐴) ⊆ 𝑧))
2712, 26jcad 555 . . . . 5 (𝜑 → (∀𝑤(𝑤𝑋 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋𝑧 ∧ (𝐹𝐴) ⊆ 𝑧)))
286, 27syl5 34 . . . 4 (𝜑 → (∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋𝑧 ∧ (𝐹𝐴) ⊆ 𝑧)))
29 unss 3787 . . . 4 ((𝑋𝑧 ∧ (𝐹𝐴) ⊆ 𝑧) ↔ (𝑋 ∪ (𝐹𝐴)) ⊆ 𝑧)
3028, 29syl6ib 241 . . 3 (𝜑 → (∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋 ∪ (𝐹𝐴)) ⊆ 𝑧))
311, 30alrimi 2082 . 2 (𝜑 → ∀𝑧(∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋 ∪ (𝐹𝐴)) ⊆ 𝑧))
32 fvex 6201 . . . 4 (𝐹𝐴) ∈ V
33 unexg 6959 . . . 4 ((𝑋𝑌 ∧ (𝐹𝐴) ∈ V) → (𝑋 ∪ (𝐹𝐴)) ∈ V)
347, 32, 33sylancl 694 . . 3 (𝜑 → (𝑋 ∪ (𝐹𝐴)) ∈ V)
358, 34setrec1lem1 42434 . 2 (𝜑 → ((𝑋 ∪ (𝐹𝐴)) ∈ 𝑌 ↔ ∀𝑧(∀𝑤(𝑤 ⊆ (𝑋 ∪ (𝐹𝐴)) → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → (𝑋 ∪ (𝐹𝐴)) ⊆ 𝑧)))
3631, 35mpbird 247 1 (𝜑 → (𝑋 ∪ (𝐹𝐴)) ∈ 𝑌)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  wal 1481   = wceq 1483  wnf 1708  wcel 1990  {cab 2608  Vcvv 3200  cun 3572  wss 3574  cfv 5888
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-iota 5851  df-fv 5896
This theorem is referenced by:  setrec1  42438
  Copyright terms: Public domain W3C validator