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

Theorem setrec1lem3 9962
Description: Lemma for setrec1 9965. 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 9960. 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 9959 would be any easier than the current proof using setrec1lem2 9960, and it would only slightly simplify the proof of setrec1 9965. Other than the use of bnd2d 9961, this is a purely technical theorem for rearranging notation from that of setrec1lem2 9960 to that of setrec1 9965. (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 3109 . . . . . 6 (∀𝑎 ∈ 𝐴 ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑌) ↔ ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
52, 4sylib 221 . . . . 5 (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
6 df-rex 3088 . . . . . 6 (∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
76ralbii 3109 . . . . 5 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥 ↔ ∀𝑎 ∈ 𝐴 ∃𝑥(𝑥 ∈ 𝑌 ∧ 𝑎 ∈ 𝑥))
85, 7sylibr 237 . . . 4 (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑌 𝑎 ∈ 𝑥)
91, 8bnd2d 9961 . . 3 (𝜑 → ∃𝑣(𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥))
10 exancom 1894 . . . . . . . 8 (∃𝑥(𝑥 ∈ 𝑣 ∧ 𝑎 ∈ 𝑥) ↔ ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑣))
11 df-rex 3088 . . . . . . . 8 (∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ ∃𝑥(𝑥 ∈ 𝑣 ∧ 𝑎 ∈ 𝑥))
12 eluni 4870 . . . . . . . 8 (𝑎 ∈ ∪ 𝑣 ↔ ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ 𝑣))
1310, 11, 123bitr4i 306 . . . . . . 7 (∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ 𝑎 ∈ ∪ 𝑣)
1413ralbii 3109 . . . . . 6 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ ∀𝑎 ∈ 𝐴 𝑎 ∈ ∪ 𝑣)
15 dfss3 3920 . . . . . 6 (𝐴 ⊆ ∪ 𝑣 ↔ ∀𝑎 ∈ 𝐴 𝑎 ∈ ∪ 𝑣)
1614, 15bitr4i 281 . . . . 5 (∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥 ↔ 𝐴 ⊆ ∪ 𝑣)
1716anbi2i 635 . . . 4 ((𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥) ↔ (𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
1817exbii 1881 . . 3 (∃𝑣(𝑣 ⊆ 𝑌 ∧ ∀𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝑣 𝑎 ∈ 𝑥) ↔ ∃𝑣(𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
199, 18sylib 221 . 2 (𝜑 → ∃𝑣(𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
20 setrec1lem3.1 . . . . . . 7 𝑌 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}
21 vex 3455 . . . . . . . 8 𝑣 ∈ V
2221a1i 11 . . . . . . 7 (𝑣 ⊆ 𝑌 → 𝑣 ∈ V)
23 id 23 . . . . . . 7 (𝑣 ⊆ 𝑌 → 𝑣 ⊆ 𝑌)
2420, 22, 23setrec1lem2 9960 . . . . . 6 (𝑣 ⊆ 𝑌 → ∪ 𝑣 ∈ 𝑌)
2524anim1i 627 . . . . 5 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → (∪ 𝑣 ∈ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣))
2625ancomd 467 . . . 4 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → (𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌))
2721uniex 7756 . . . . 5 ∪ 𝑣 ∈ V
28 sseq2 3957 . . . . . 6 (𝑥 = ∪ 𝑣 → (𝐴 ⊆ 𝑥 ↔ 𝐴 ⊆ ∪ 𝑣))
29 eleq1 2849 . . . . . 6 (𝑥 = ∪ 𝑣 → (𝑥 ∈ 𝑌 ↔ ∪ 𝑣 ∈ 𝑌))
3028, 29anbi12d 644 . . . . 5 (𝑥 = ∪ 𝑣 → ((𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌) ↔ (𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌)))
3127, 30spcev 3561 . . . 4 ((𝐴 ⊆ ∪ 𝑣 ∧ ∪ 𝑣 ∈ 𝑌) → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
3226, 31syl 18 . . 3 ((𝑣 ⊆ 𝑌 ∧ 𝐴 ⊆ ∪ 𝑣) → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ 𝑌))
3332exlimiv 1963 . 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 2145  {cab 2739  ∀wral 3077  ∃wrex 3087  Vcvv 3451   ⊆ wss 3899  ∪ cuni 4867  ‘cfv 6537
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 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749  ax-reg 9579  ax-inf2 9635
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-iin 4954  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7421  df-om 7876  df-2nd 8000  df-frecs 8292  df-wrecs 8323  df-recs 8372  df-rdg 8411  df-r1 9761  df-rank 9762  df-scott 9922
This theorem is used by:  setrec1  9965
  Copyright terms: Public domain W3C validator