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

Theorem setrec1lem3 10006
Description: Lemma for setrec1 10009. 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 10004. 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 10003 would be any easier than the current proof using setrec1lem2 10004, and it would only slightly simplify the proof of setrec1 10009. Other than the use of bnd2d 10005, this is a purely technical theorem for rearranging notation from that of setrec1lem2 10004 to that of setrec1 10009. (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 1894 . . . . . . 7 (∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑌) ↔ ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
43ralbii 3112 . . . . . 6 (∀𝑎 ∈ 𝐴 ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑌) ↔ ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
52, 4sylib 221 . . . . 5 (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
6 df-rex 3091 . . . . . 6 (∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
76ralbii 3112 . . . . 5 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥 ↔ ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
85, 7sylibr 237 . . . 4 (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥)
91, 8bnd2d 10005 . . 3 (𝜑 → ∃𝑣(𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥))
10 exancom 1894 . . . . . . . 8 (∃𝑥(𝑥 ∈ 𝑣 ∧ 𝑎 ∈ 𝑥) ↔ ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑣))
11 df-rex 3091 . . . . . . . 8 (∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑣 ∧ 𝑎 ∈ 𝑥))
12 eluni 4875 . . . . . . . 8 (𝑎 ∈ ∪ 𝑣 ↔ ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑣))
1310, 11, 123bitr4i 306 . . . . . . 7 (∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ 𝑎 ∈ ∪ 𝑣)
1413ralbii 3112 . . . . . 6 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ ∀𝑎 ∈ 𝐴 𝑎 ∈ ∪ 𝑣)
15 dfss3 3902 . . . . . 6 (𝐴 ⊆ ∪ 𝑣 ↔ ∀𝑎 ∈ 𝐴 𝑎 ∈ ∪ 𝑣)
1614, 15bitr4i 281 . . . . 5 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ 𝐴 ⊆ ∪ 𝑣)
1716anbi2i 635 . . . 4 ((𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥) ↔ (𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
1817exbii 1881 . . 3 (∃𝑣(𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥) ↔ ∃𝑣(𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
199, 18sylib 221 . 2 (𝜑 → ∃𝑣(𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
20 setrec1lem3.1 . . . . . . 7 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}
21 vex 3458 . . . . . . . 8 𝑣 ∈ V
2221a1i 11 . . . . . . 7 (𝑣 ⊆ 𝑌 → 𝑣 ∈ V)
23 id 23 . . . . . . 7 (𝑣 ⊆ 𝑌 → 𝑣 ⊆ 𝑌)
2420, 22, 23setrec1lem2 10004 . . . . . 6 (𝑣 ⊆ 𝑌 → ∪ 𝑣 ∈ 𝑌)
2524anim1i 627 . . . . 5 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → (∪ 𝑣 ∈ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
2625ancomd 467 . . . 4 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → (𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌))
2721uniex 7790 . . . . 5 ∪ 𝑣 ∈ V
28 sseq2 3939 . . . . . 6 (𝑥 = ∪ 𝑣 → (𝐴 ⊆ 𝑥 ↔ 𝐴 ⊆ ∪ 𝑣))
29 eleq1 2852 . . . . . 6 (𝑥 = ∪ 𝑣 → (𝑥 ∈ 𝑌 ↔ ∪ 𝑣 ∈ 𝑌))
3028, 29anbi12d 644 . . . . 5 (𝑥 = ∪ 𝑣 → ((𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌) ↔ (𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌)))
3127, 30spcev 3564 . . . 4 ((𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌) → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
3226, 31syl 18 . . 3 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
3332exlimiv 1965 . 2 (∃𝑣(𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
3419, 33syl 18 1 (𝜑 → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  {cab 2741  ∀wral 3080  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900  ∪ cuni 4872  ‘cfv 6566
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-reg 9623  ax-inf2 9679
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-int 4913  df-iun 4958  df-iin 4959  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-om 7912  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-r1 9805  df-rank 9806  df-scott 9966
This theorem is used by:  setrec1  10009
  Copyright terms: Public domain W3C validator