MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  setrec1lem3 Structured version   Visualization version   GIF version

Theorem setrec1lem3 9973
Description: Lemma for setrec1 9976. If each element 𝑎 of 𝐴 is covered by a set 𝑥 recursively generated by 𝐹, then there is a single such set covering all of 𝐴. The set is constructed explicitly using setrec1lem2 9971. It turns out that 𝑥 = 𝐴 also works, i.e., given the hypotheses it is possible to prove that 𝐴 ∈ 𝑌. I don't know if proving this fact directly using setrec1lem1 9970 would be any easier than the current proof using setrec1lem2 9971, and it would only slightly simplify the proof of setrec1 9976. Other than the use of bnd2d 9972, this is a purely technical theorem for rearranging notation from that of setrec1lem2 9971 to that of setrec1 9976. (Contributed by Emmett Weisz, 20-Jan-2021.) (New usage is discouraged.)
Hypotheses
Ref Expression
setrec1lem3.1 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}
setrec1lem3.2 (𝜑 → 𝐴 ∈ V)
setrec1lem3.3 (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑌))
Assertion
Ref Expression
setrec1lem3 (𝜑 → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
Distinct variable groups:   𝑦,𝑤,𝑧   𝑥,𝑎,𝐴   𝑌,𝑎,𝑥   𝑥,𝑦,𝐹
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧, 𝑤, 𝑎)   𝐴(𝑦, 𝑧, 𝑤)   𝐹(𝑧, 𝑤, 𝑎)   𝑌(𝑦, 𝑧, 𝑤)

Proof of Theorem setrec1lem3
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 setrec1lem3.2 . . . 4 (𝜑 → 𝐴 ∈ V)
2 setrec1lem3.3 . . . . . 6 (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑌))
3 exancom 1893 . . . . . . 7 (∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑌) ↔ ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
43ralbii 3108 . . . . . 6 (∀𝑎 ∈ 𝐴 ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑌) ↔ ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
52, 4sylib 221 . . . . 5 (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
6 df-rex 3087 . . . . . 6 (∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
76ralbii 3108 . . . . 5 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥 ↔ ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
85, 7sylibr 237 . . . 4 (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥)
91, 8bnd2d 9972 . . 3 (𝜑 → ∃𝑣(𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥))
10 exancom 1893 . . . . . . . 8 (∃𝑥(𝑥 ∈ 𝑣 ∧ 𝑎 ∈ 𝑥) ↔ ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑣))
11 df-rex 3087 . . . . . . . 8 (∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑣 ∧ 𝑎 ∈ 𝑥))
12 eluni 4869 . . . . . . . 8 (𝑎 ∈ ∪ 𝑣 ↔ ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑣))
1310, 11, 123bitr4i 306 . . . . . . 7 (∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ 𝑎 ∈ ∪ 𝑣)
1413ralbii 3108 . . . . . 6 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ ∀𝑎 ∈ 𝐴 𝑎 ∈ ∪ 𝑣)
15 dfss3 3897 . . . . . 6 (𝐴 ⊆ ∪ 𝑣 ↔ ∀𝑎 ∈ 𝐴 𝑎 ∈ ∪ 𝑣)
1614, 15bitr4i 281 . . . . 5 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ 𝐴 ⊆ ∪ 𝑣)
1716anbi2i 635 . . . 4 ((𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥) ↔ (𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
1817exbii 1880 . . 3 (∃𝑣(𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥) ↔ ∃𝑣(𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
199, 18sylib 221 . 2 (𝜑 → ∃𝑣(𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
20 setrec1lem3.1 . . . . . . 7 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}
21 vex 3454 . . . . . . . 8 𝑣 ∈ V
2221a1i 11 . . . . . . 7 (𝑣 ⊆ 𝑌 → 𝑣 ∈ V)
23 id 23 . . . . . . 7 (𝑣 ⊆ 𝑌 → 𝑣 ⊆ 𝑌)
2420, 22, 23setrec1lem2 9971 . . . . . 6 (𝑣 ⊆ 𝑌 → ∪ 𝑣 ∈ 𝑌)
2524anim1i 627 . . . . 5 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → (∪ 𝑣 ∈ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
2625ancomd 467 . . . 4 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → (𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌))
2721uniex 7759 . . . . 5 ∪ 𝑣 ∈ V
28 sseq2 3934 . . . . . 6 (𝑥 = ∪ 𝑣 → (𝐴 ⊆ 𝑥 ↔ 𝐴 ⊆ ∪ 𝑣))
29 eleq1 2848 . . . . . 6 (𝑥 = ∪ 𝑣 → (𝑥 ∈ 𝑌 ↔ ∪ 𝑣 ∈ 𝑌))
3028, 29anbi12d 644 . . . . 5 (𝑥 = ∪ 𝑣 → ((𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌) ↔ (𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌)))
3127, 30spcev 3560 . . . 4 ((𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌) → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
3226, 31syl 18 . . 3 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
3332exlimiv 1962 . 2 (∃𝑣(𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
3419, 33syl 18 1 (𝜑 → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  {cab 2738  ∀wral 3076  ∃wrex 3086  Vcvv 3450   ⊆ wss 3895  ∪ cuni 4866  ‘cfv 6539
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752  ax-reg 9590  ax-inf2 9646
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-int 4907  df-iun 4952  df-iin 4953  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-om 7879  df-2nd 8003  df-frecs 8303  df-wrecs 8334  df-recs 8383  df-rdg 8422  df-r1 9772  df-rank 9773  df-scott 9933
This theorem is used by:  setrec1  9976
  Copyright terms: Public domain W3C validator