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

Theorem funcnvuni 7752
Description: The union of a chain (with respect to inclusion) of single-rooted sets is single-rooted. (See funcnv 6487 for "single-rooted" definition.) (Contributed by NM, 11-Aug-2004.)
Assertion
Ref Expression
funcnvuni (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → Fun 𝐴)
Distinct variable group:   𝑓,𝑔,𝐴

Proof of Theorem funcnvuni
Dummy variables 𝑥 𝑦 𝑧 𝑤 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cnveq 5771 . . . . . . . 8 (𝑥 = 𝑣𝑥 = 𝑣)
21eqeq2d 2749 . . . . . . 7 (𝑥 = 𝑣 → (𝑧 = 𝑥𝑧 = 𝑣))
32cbvrexvw 3373 . . . . . 6 (∃𝑥𝐴 𝑧 = 𝑥 ↔ ∃𝑣𝐴 𝑧 = 𝑣)
4 cnveq 5771 . . . . . . . . . . 11 (𝑓 = 𝑣𝑓 = 𝑣)
54funeqd 6440 . . . . . . . . . 10 (𝑓 = 𝑣 → (Fun 𝑓 ↔ Fun 𝑣))
6 sseq1 3942 . . . . . . . . . . . 12 (𝑓 = 𝑣 → (𝑓𝑔𝑣𝑔))
7 sseq2 3943 . . . . . . . . . . . 12 (𝑓 = 𝑣 → (𝑔𝑓𝑔𝑣))
86, 7orbi12d 915 . . . . . . . . . . 11 (𝑓 = 𝑣 → ((𝑓𝑔𝑔𝑓) ↔ (𝑣𝑔𝑔𝑣)))
98ralbidv 3120 . . . . . . . . . 10 (𝑓 = 𝑣 → (∀𝑔𝐴 (𝑓𝑔𝑔𝑓) ↔ ∀𝑔𝐴 (𝑣𝑔𝑔𝑣)))
105, 9anbi12d 630 . . . . . . . . 9 (𝑓 = 𝑣 → ((Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) ↔ (Fun 𝑣 ∧ ∀𝑔𝐴 (𝑣𝑔𝑔𝑣))))
1110rspcv 3547 . . . . . . . 8 (𝑣𝐴 → (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → (Fun 𝑣 ∧ ∀𝑔𝐴 (𝑣𝑔𝑔𝑣))))
12 funeq 6438 . . . . . . . . . 10 (𝑧 = 𝑣 → (Fun 𝑧 ↔ Fun 𝑣))
1312biimprcd 249 . . . . . . . . 9 (Fun 𝑣 → (𝑧 = 𝑣 → Fun 𝑧))
14 sseq2 3943 . . . . . . . . . . . . . . 15 (𝑔 = 𝑥 → (𝑣𝑔𝑣𝑥))
15 sseq1 3942 . . . . . . . . . . . . . . 15 (𝑔 = 𝑥 → (𝑔𝑣𝑥𝑣))
1614, 15orbi12d 915 . . . . . . . . . . . . . 14 (𝑔 = 𝑥 → ((𝑣𝑔𝑔𝑣) ↔ (𝑣𝑥𝑥𝑣)))
1716rspcv 3547 . . . . . . . . . . . . 13 (𝑥𝐴 → (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (𝑣𝑥𝑥𝑣)))
18 cnvss 5770 . . . . . . . . . . . . . . . 16 (𝑣𝑥𝑣𝑥)
19 cnvss 5770 . . . . . . . . . . . . . . . 16 (𝑥𝑣𝑥𝑣)
2018, 19orim12i 905 . . . . . . . . . . . . . . 15 ((𝑣𝑥𝑥𝑣) → (𝑣𝑥𝑥𝑣))
21 sseq12 3944 . . . . . . . . . . . . . . . . 17 ((𝑧 = 𝑣𝑤 = 𝑥) → (𝑧𝑤𝑣𝑥))
2221ancoms 458 . . . . . . . . . . . . . . . 16 ((𝑤 = 𝑥𝑧 = 𝑣) → (𝑧𝑤𝑣𝑥))
23 sseq12 3944 . . . . . . . . . . . . . . . 16 ((𝑤 = 𝑥𝑧 = 𝑣) → (𝑤𝑧𝑥𝑣))
2422, 23orbi12d 915 . . . . . . . . . . . . . . 15 ((𝑤 = 𝑥𝑧 = 𝑣) → ((𝑧𝑤𝑤𝑧) ↔ (𝑣𝑥𝑥𝑣)))
2520, 24syl5ibrcom 246 . . . . . . . . . . . . . 14 ((𝑣𝑥𝑥𝑣) → ((𝑤 = 𝑥𝑧 = 𝑣) → (𝑧𝑤𝑤𝑧)))
2625expd 415 . . . . . . . . . . . . 13 ((𝑣𝑥𝑥𝑣) → (𝑤 = 𝑥 → (𝑧 = 𝑣 → (𝑧𝑤𝑤𝑧))))
2717, 26syl6com 37 . . . . . . . . . . . 12 (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (𝑥𝐴 → (𝑤 = 𝑥 → (𝑧 = 𝑣 → (𝑧𝑤𝑤𝑧)))))
2827rexlimdv 3211 . . . . . . . . . . 11 (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (∃𝑥𝐴 𝑤 = 𝑥 → (𝑧 = 𝑣 → (𝑧𝑤𝑤𝑧))))
2928com23 86 . . . . . . . . . 10 (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (𝑧 = 𝑣 → (∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧))))
3029alrimdv 1933 . . . . . . . . 9 (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (𝑧 = 𝑣 → ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧))))
3113, 30anim12ii 617 . . . . . . . 8 ((Fun 𝑣 ∧ ∀𝑔𝐴 (𝑣𝑔𝑔𝑣)) → (𝑧 = 𝑣 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
3211, 31syl6com 37 . . . . . . 7 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → (𝑣𝐴 → (𝑧 = 𝑣 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧))))))
3332rexlimdv 3211 . . . . . 6 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → (∃𝑣𝐴 𝑧 = 𝑣 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
343, 33syl5bi 241 . . . . 5 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → (∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
3534alrimiv 1931 . . . 4 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → ∀𝑧(∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
36 df-ral 3068 . . . . 5 (∀𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)) ↔ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} → (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧))))
37 vex 3426 . . . . . . . 8 𝑧 ∈ V
38 eqeq1 2742 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑦 = 𝑥𝑧 = 𝑥))
3938rexbidv 3225 . . . . . . . 8 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝑥 ↔ ∃𝑥𝐴 𝑧 = 𝑥))
4037, 39elab 3602 . . . . . . 7 (𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} ↔ ∃𝑥𝐴 𝑧 = 𝑥)
41 eqeq1 2742 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝑦 = 𝑥𝑤 = 𝑥))
4241rexbidv 3225 . . . . . . . . 9 (𝑦 = 𝑤 → (∃𝑥𝐴 𝑦 = 𝑥 ↔ ∃𝑥𝐴 𝑤 = 𝑥))
4342ralab 3621 . . . . . . . 8 (∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧) ↔ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))
4443anbi2i 622 . . . . . . 7 ((Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)) ↔ (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧))))
4540, 44imbi12i 350 . . . . . 6 ((𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} → (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧))) ↔ (∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
4645albii 1823 . . . . 5 (∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} → (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧))) ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
4736, 46bitr2i 275 . . . 4 (∀𝑧(∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))) ↔ ∀𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)))
4835, 47sylib 217 . . 3 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → ∀𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)))
49 fununi 6493 . . 3 (∀𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)) → Fun {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥})
5048, 49syl 17 . 2 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → Fun {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥})
51 cnvuni 5784 . . . 4 𝐴 = 𝑥𝐴 𝑥
52 vex 3426 . . . . . 6 𝑥 ∈ V
5352cnvex 7746 . . . . 5 𝑥 ∈ V
5453dfiun2 4959 . . . 4 𝑥𝐴 𝑥 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥}
5551, 54eqtri 2766 . . 3 𝐴 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥}
5655funeqi 6439 . 2 (Fun 𝐴 ↔ Fun {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥})
5750, 56sylibr 233 1 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → Fun 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  wal 1537   = wceq 1539  wcel 2108  {cab 2715  wral 3063  wrex 3064  wss 3883   cuni 4836   ciun 4921  ccnv 5579  Fun wfun 6412
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-fun 6420
This theorem is referenced by:  fun11uni  7753
  Copyright terms: Public domain W3C validator