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

Theorem funcnvuni 7778
Description: The union of a chain (with respect to inclusion) of single-rooted sets is single-rooted. (See funcnv 6503 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 5782 . . . . . . . 8 (𝑥 = 𝑣𝑥 = 𝑣)
21eqeq2d 2749 . . . . . . 7 (𝑥 = 𝑣 → (𝑧 = 𝑥𝑧 = 𝑣))
32cbvrexvw 3384 . . . . . 6 (∃𝑥𝐴 𝑧 = 𝑥 ↔ ∃𝑣𝐴 𝑧 = 𝑣)
4 cnveq 5782 . . . . . . . . . . 11 (𝑓 = 𝑣𝑓 = 𝑣)
54funeqd 6456 . . . . . . . . . 10 (𝑓 = 𝑣 → (Fun 𝑓 ↔ Fun 𝑣))
6 sseq1 3946 . . . . . . . . . . . 12 (𝑓 = 𝑣 → (𝑓𝑔𝑣𝑔))
7 sseq2 3947 . . . . . . . . . . . 12 (𝑓 = 𝑣 → (𝑔𝑓𝑔𝑣))
86, 7orbi12d 916 . . . . . . . . . . 11 (𝑓 = 𝑣 → ((𝑓𝑔𝑔𝑓) ↔ (𝑣𝑔𝑔𝑣)))
98ralbidv 3112 . . . . . . . . . 10 (𝑓 = 𝑣 → (∀𝑔𝐴 (𝑓𝑔𝑔𝑓) ↔ ∀𝑔𝐴 (𝑣𝑔𝑔𝑣)))
105, 9anbi12d 631 . . . . . . . . 9 (𝑓 = 𝑣 → ((Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) ↔ (Fun 𝑣 ∧ ∀𝑔𝐴 (𝑣𝑔𝑔𝑣))))
1110rspcv 3557 . . . . . . . 8 (𝑣𝐴 → (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → (Fun 𝑣 ∧ ∀𝑔𝐴 (𝑣𝑔𝑔𝑣))))
12 funeq 6454 . . . . . . . . . 10 (𝑧 = 𝑣 → (Fun 𝑧 ↔ Fun 𝑣))
1312biimprcd 249 . . . . . . . . 9 (Fun 𝑣 → (𝑧 = 𝑣 → Fun 𝑧))
14 sseq2 3947 . . . . . . . . . . . . . . 15 (𝑔 = 𝑥 → (𝑣𝑔𝑣𝑥))
15 sseq1 3946 . . . . . . . . . . . . . . 15 (𝑔 = 𝑥 → (𝑔𝑣𝑥𝑣))
1614, 15orbi12d 916 . . . . . . . . . . . . . 14 (𝑔 = 𝑥 → ((𝑣𝑔𝑔𝑣) ↔ (𝑣𝑥𝑥𝑣)))
1716rspcv 3557 . . . . . . . . . . . . 13 (𝑥𝐴 → (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (𝑣𝑥𝑥𝑣)))
18 cnvss 5781 . . . . . . . . . . . . . . . 16 (𝑣𝑥𝑣𝑥)
19 cnvss 5781 . . . . . . . . . . . . . . . 16 (𝑥𝑣𝑥𝑣)
2018, 19orim12i 906 . . . . . . . . . . . . . . 15 ((𝑣𝑥𝑥𝑣) → (𝑣𝑥𝑥𝑣))
21 sseq12 3948 . . . . . . . . . . . . . . . . 17 ((𝑧 = 𝑣𝑤 = 𝑥) → (𝑧𝑤𝑣𝑥))
2221ancoms 459 . . . . . . . . . . . . . . . 16 ((𝑤 = 𝑥𝑧 = 𝑣) → (𝑧𝑤𝑣𝑥))
23 sseq12 3948 . . . . . . . . . . . . . . . 16 ((𝑤 = 𝑥𝑧 = 𝑣) → (𝑤𝑧𝑥𝑣))
2422, 23orbi12d 916 . . . . . . . . . . . . . . 15 ((𝑤 = 𝑥𝑧 = 𝑣) → ((𝑧𝑤𝑤𝑧) ↔ (𝑣𝑥𝑥𝑣)))
2520, 24syl5ibrcom 246 . . . . . . . . . . . . . 14 ((𝑣𝑥𝑥𝑣) → ((𝑤 = 𝑥𝑧 = 𝑣) → (𝑧𝑤𝑤𝑧)))
2625expd 416 . . . . . . . . . . . . 13 ((𝑣𝑥𝑥𝑣) → (𝑤 = 𝑥 → (𝑧 = 𝑣 → (𝑧𝑤𝑤𝑧))))
2717, 26syl6com 37 . . . . . . . . . . . 12 (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (𝑥𝐴 → (𝑤 = 𝑥 → (𝑧 = 𝑣 → (𝑧𝑤𝑤𝑧)))))
2827rexlimdv 3212 . . . . . . . . . . 11 (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (∃𝑥𝐴 𝑤 = 𝑥 → (𝑧 = 𝑣 → (𝑧𝑤𝑤𝑧))))
2928com23 86 . . . . . . . . . 10 (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (𝑧 = 𝑣 → (∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧))))
3029alrimdv 1932 . . . . . . . . 9 (∀𝑔𝐴 (𝑣𝑔𝑔𝑣) → (𝑧 = 𝑣 → ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧))))
3113, 30anim12ii 618 . . . . . . . 8 ((Fun 𝑣 ∧ ∀𝑔𝐴 (𝑣𝑔𝑔𝑣)) → (𝑧 = 𝑣 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
3211, 31syl6com 37 . . . . . . 7 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → (𝑣𝐴 → (𝑧 = 𝑣 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧))))))
3332rexlimdv 3212 . . . . . 6 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → (∃𝑣𝐴 𝑧 = 𝑣 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
343, 33syl5bi 241 . . . . 5 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → (∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
3534alrimiv 1930 . . . 4 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → ∀𝑧(∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
36 df-ral 3069 . . . . 5 (∀𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)) ↔ ∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} → (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧))))
37 vex 3436 . . . . . . . 8 𝑧 ∈ V
38 eqeq1 2742 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑦 = 𝑥𝑧 = 𝑥))
3938rexbidv 3226 . . . . . . . 8 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝑥 ↔ ∃𝑥𝐴 𝑧 = 𝑥))
4037, 39elab 3609 . . . . . . 7 (𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} ↔ ∃𝑥𝐴 𝑧 = 𝑥)
41 eqeq1 2742 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝑦 = 𝑥𝑤 = 𝑥))
4241rexbidv 3226 . . . . . . . . 9 (𝑦 = 𝑤 → (∃𝑥𝐴 𝑦 = 𝑥 ↔ ∃𝑥𝐴 𝑤 = 𝑥))
4342ralab 3628 . . . . . . . 8 (∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧) ↔ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))
4443anbi2i 623 . . . . . . 7 ((Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)) ↔ (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧))))
4540, 44imbi12i 351 . . . . . 6 ((𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} → (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧))) ↔ (∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
4645albii 1822 . . . . 5 (∀𝑧(𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} → (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧))) ↔ ∀𝑧(∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))))
4736, 46bitr2i 275 . . . 4 (∀𝑧(∃𝑥𝐴 𝑧 = 𝑥 → (Fun 𝑧 ∧ ∀𝑤(∃𝑥𝐴 𝑤 = 𝑥 → (𝑧𝑤𝑤𝑧)))) ↔ ∀𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)))
4835, 47sylib 217 . . 3 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → ∀𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)))
49 fununi 6509 . . 3 (∀𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (Fun 𝑧 ∧ ∀𝑤 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥} (𝑧𝑤𝑤𝑧)) → Fun {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥})
5048, 49syl 17 . 2 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → Fun {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥})
51 cnvuni 5795 . . . 4 𝐴 = 𝑥𝐴 𝑥
52 vex 3436 . . . . . 6 𝑥 ∈ V
5352cnvex 7772 . . . . 5 𝑥 ∈ V
5453dfiun2 4963 . . . 4 𝑥𝐴 𝑥 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥}
5551, 54eqtri 2766 . . 3 𝐴 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥}
5655funeqi 6455 . 2 (Fun 𝐴 ↔ Fun {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝑥})
5750, 56sylibr 233 1 (∀𝑓𝐴 (Fun 𝑓 ∧ ∀𝑔𝐴 (𝑓𝑔𝑔𝑓)) → Fun 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844  wal 1537   = wceq 1539  wcel 2106  {cab 2715  wral 3064  wrex 3065  wss 3887   cuni 4839   ciun 4924  ccnv 5588  Fun wfun 6427
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-fun 6435
This theorem is referenced by:  fun11uni  7779
  Copyright terms: Public domain W3C validator