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

Theorem funcnvuni 6726
Description: The union of a chain (with respect to inclusion) of single-rooted sets is single-rooted. (See funcnv 5630 for "single-rooted" definition.) (Contributed by NM, 11-Aug-2004.)
Assertion
Ref Expression
funcnvuni  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  ->  Fun  `' U. A )
Distinct variable group:    f, g, A

Proof of Theorem funcnvuni
Dummy variables  x  y  z  w  v are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cnveq 5165 . . . . . . . 8  |-  ( x  =  v  ->  `' x  =  `' v
)
21eqeq2d 2468 . . . . . . 7  |-  ( x  =  v  ->  (
z  =  `' x  <->  z  =  `' v ) )
32cbvrexv 3082 . . . . . 6  |-  ( E. x  e.  A  z  =  `' x  <->  E. v  e.  A  z  =  `' v )
4 cnveq 5165 . . . . . . . . . . 11  |-  ( f  =  v  ->  `' f  =  `' v
)
54funeqd 5591 . . . . . . . . . 10  |-  ( f  =  v  ->  ( Fun  `' f  <->  Fun  `' v ) )
6 sseq1 3510 . . . . . . . . . . . 12  |-  ( f  =  v  ->  (
f  C_  g  <->  v  C_  g ) )
7 sseq2 3511 . . . . . . . . . . . 12  |-  ( f  =  v  ->  (
g  C_  f  <->  g  C_  v ) )
86, 7orbi12d 707 . . . . . . . . . . 11  |-  ( f  =  v  ->  (
( f  C_  g  \/  g  C_  f )  <-> 
( v  C_  g  \/  g  C_  v ) ) )
98ralbidv 2893 . . . . . . . . . 10  |-  ( f  =  v  ->  ( A. g  e.  A  ( f  C_  g  \/  g  C_  f )  <->  A. g  e.  A  ( v  C_  g  \/  g  C_  v ) ) )
105, 9anbi12d 708 . . . . . . . . 9  |-  ( f  =  v  ->  (
( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  <->  ( Fun  `' v  /\  A. g  e.  A  ( v  C_  g  \/  g  C_  v ) ) ) )
1110rspcv 3203 . . . . . . . 8  |-  ( v  e.  A  ->  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  ->  ( Fun  `' v  /\  A. g  e.  A  ( v  C_  g  \/  g  C_  v ) ) ) )
12 funeq 5589 . . . . . . . . . 10  |-  ( z  =  `' v  -> 
( Fun  z  <->  Fun  `' v ) )
1312biimprcd 225 . . . . . . . . 9  |-  ( Fun  `' v  ->  ( z  =  `' v  ->  Fun  z ) )
14 sseq2 3511 . . . . . . . . . . . . . . 15  |-  ( g  =  x  ->  (
v  C_  g  <->  v  C_  x ) )
15 sseq1 3510 . . . . . . . . . . . . . . 15  |-  ( g  =  x  ->  (
g  C_  v  <->  x  C_  v
) )
1614, 15orbi12d 707 . . . . . . . . . . . . . 14  |-  ( g  =  x  ->  (
( v  C_  g  \/  g  C_  v )  <-> 
( v  C_  x  \/  x  C_  v ) ) )
1716rspcv 3203 . . . . . . . . . . . . 13  |-  ( x  e.  A  ->  ( A. g  e.  A  ( v  C_  g  \/  g  C_  v )  ->  ( v  C_  x  \/  x  C_  v
) ) )
18 cnvss 5164 . . . . . . . . . . . . . . . 16  |-  ( v 
C_  x  ->  `' v  C_  `' x )
19 cnvss 5164 . . . . . . . . . . . . . . . 16  |-  ( x 
C_  v  ->  `' x  C_  `' v )
2018, 19orim12i 514 . . . . . . . . . . . . . . 15  |-  ( ( v  C_  x  \/  x  C_  v )  -> 
( `' v  C_  `' x  \/  `' x  C_  `' v ) )
21 sseq12 3512 . . . . . . . . . . . . . . . . 17  |-  ( ( z  =  `' v  /\  w  =  `' x )  ->  (
z  C_  w  <->  `' v  C_  `' x ) )
2221ancoms 451 . . . . . . . . . . . . . . . 16  |-  ( ( w  =  `' x  /\  z  =  `' v )  ->  (
z  C_  w  <->  `' v  C_  `' x ) )
23 sseq12 3512 . . . . . . . . . . . . . . . 16  |-  ( ( w  =  `' x  /\  z  =  `' v )  ->  (
w  C_  z  <->  `' x  C_  `' v ) )
2422, 23orbi12d 707 . . . . . . . . . . . . . . 15  |-  ( ( w  =  `' x  /\  z  =  `' v )  ->  (
( z  C_  w  \/  w  C_  z )  <-> 
( `' v  C_  `' x  \/  `' x  C_  `' v ) ) )
2520, 24syl5ibrcom 222 . . . . . . . . . . . . . 14  |-  ( ( v  C_  x  \/  x  C_  v )  -> 
( ( w  =  `' x  /\  z  =  `' v )  -> 
( z  C_  w  \/  w  C_  z ) ) )
2625expd 434 . . . . . . . . . . . . 13  |-  ( ( v  C_  x  \/  x  C_  v )  -> 
( w  =  `' x  ->  ( z  =  `' v  ->  ( z 
C_  w  \/  w  C_  z ) ) ) )
2717, 26syl6com 35 . . . . . . . . . . . 12  |-  ( A. g  e.  A  (
v  C_  g  \/  g  C_  v )  -> 
( x  e.  A  ->  ( w  =  `' x  ->  ( z  =  `' v  ->  ( z 
C_  w  \/  w  C_  z ) ) ) ) )
2827rexlimdv 2944 . . . . . . . . . . 11  |-  ( A. g  e.  A  (
v  C_  g  \/  g  C_  v )  -> 
( E. x  e.  A  w  =  `' x  ->  ( z  =  `' v  ->  ( z 
C_  w  \/  w  C_  z ) ) ) )
2928com23 78 . . . . . . . . . 10  |-  ( A. g  e.  A  (
v  C_  g  \/  g  C_  v )  -> 
( z  =  `' v  ->  ( E. x  e.  A  w  =  `' x  ->  ( z 
C_  w  \/  w  C_  z ) ) ) )
3029alrimdv 1726 . . . . . . . . 9  |-  ( A. g  e.  A  (
v  C_  g  \/  g  C_  v )  -> 
( z  =  `' v  ->  A. w ( E. x  e.  A  w  =  `' x  -> 
( z  C_  w  \/  w  C_  z ) ) ) )
3113, 30anim12ii 568 . . . . . . . 8  |-  ( ( Fun  `' v  /\  A. g  e.  A  ( v  C_  g  \/  g  C_  v ) )  ->  ( z  =  `' v  ->  ( Fun  z  /\  A. w
( E. x  e.  A  w  =  `' x  ->  ( z  C_  w  \/  w  C_  z
) ) ) ) )
3211, 31syl6com 35 . . . . . . 7  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  -> 
( v  e.  A  ->  ( z  =  `' v  ->  ( Fun  z  /\  A. w ( E. x  e.  A  w  =  `' x  -> 
( z  C_  w  \/  w  C_  z ) ) ) ) ) )
3332rexlimdv 2944 . . . . . 6  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  -> 
( E. v  e.  A  z  =  `' v  ->  ( Fun  z  /\  A. w ( E. x  e.  A  w  =  `' x  -> 
( z  C_  w  \/  w  C_  z ) ) ) ) )
343, 33syl5bi 217 . . . . 5  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  -> 
( E. x  e.  A  z  =  `' x  ->  ( Fun  z  /\  A. w ( E. x  e.  A  w  =  `' x  -> 
( z  C_  w  \/  w  C_  z ) ) ) ) )
3534alrimiv 1724 . . . 4  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  ->  A. z ( E. x  e.  A  z  =  `' x  ->  ( Fun  z  /\  A. w
( E. x  e.  A  w  =  `' x  ->  ( z  C_  w  \/  w  C_  z
) ) ) ) )
36 df-ral 2809 . . . . 5  |-  ( A. z  e.  { y  |  E. x  e.  A  y  =  `' x }  ( Fun  z  /\  A. w  e.  {
y  |  E. x  e.  A  y  =  `' x }  ( z 
C_  w  \/  w  C_  z ) )  <->  A. z
( z  e.  {
y  |  E. x  e.  A  y  =  `' x }  ->  ( Fun  z  /\  A. w  e.  { y  |  E. x  e.  A  y  =  `' x }  ( z 
C_  w  \/  w  C_  z ) ) ) )
37 vex 3109 . . . . . . . 8  |-  z  e. 
_V
38 eqeq1 2458 . . . . . . . . 9  |-  ( y  =  z  ->  (
y  =  `' x  <->  z  =  `' x ) )
3938rexbidv 2965 . . . . . . . 8  |-  ( y  =  z  ->  ( E. x  e.  A  y  =  `' x  <->  E. x  e.  A  z  =  `' x ) )
4037, 39elab 3243 . . . . . . 7  |-  ( z  e.  { y  |  E. x  e.  A  y  =  `' x } 
<->  E. x  e.  A  z  =  `' x
)
41 eqeq1 2458 . . . . . . . . . 10  |-  ( y  =  w  ->  (
y  =  `' x  <->  w  =  `' x ) )
4241rexbidv 2965 . . . . . . . . 9  |-  ( y  =  w  ->  ( E. x  e.  A  y  =  `' x  <->  E. x  e.  A  w  =  `' x ) )
4342ralab 3257 . . . . . . . 8  |-  ( A. w  e.  { y  |  E. x  e.  A  y  =  `' x }  ( z  C_  w  \/  w  C_  z
)  <->  A. w ( E. x  e.  A  w  =  `' x  -> 
( z  C_  w  \/  w  C_  z ) ) )
4443anbi2i 692 . . . . . . 7  |-  ( ( Fun  z  /\  A. w  e.  { y  |  E. x  e.  A  y  =  `' x }  ( z  C_  w  \/  w  C_  z
) )  <->  ( Fun  z  /\  A. w ( E. x  e.  A  w  =  `' x  ->  ( z  C_  w  \/  w  C_  z ) ) ) )
4540, 44imbi12i 324 . . . . . 6  |-  ( ( z  e.  { y  |  E. x  e.  A  y  =  `' x }  ->  ( Fun  z  /\  A. w  e.  { y  |  E. x  e.  A  y  =  `' x }  ( z 
C_  w  \/  w  C_  z ) ) )  <-> 
( E. x  e.  A  z  =  `' x  ->  ( Fun  z  /\  A. w ( E. x  e.  A  w  =  `' x  -> 
( z  C_  w  \/  w  C_  z ) ) ) ) )
4645albii 1645 . . . . 5  |-  ( A. z ( z  e. 
{ y  |  E. x  e.  A  y  =  `' x }  ->  ( Fun  z  /\  A. w  e.  { y  |  E. x  e.  A  y  =  `' x }  ( z 
C_  w  \/  w  C_  z ) ) )  <->  A. z ( E. x  e.  A  z  =  `' x  ->  ( Fun  z  /\  A. w
( E. x  e.  A  w  =  `' x  ->  ( z  C_  w  \/  w  C_  z
) ) ) ) )
4736, 46bitr2i 250 . . . 4  |-  ( A. z ( E. x  e.  A  z  =  `' x  ->  ( Fun  z  /\  A. w
( E. x  e.  A  w  =  `' x  ->  ( z  C_  w  \/  w  C_  z
) ) ) )  <->  A. z  e.  { y  |  E. x  e.  A  y  =  `' x }  ( Fun  z  /\  A. w  e. 
{ y  |  E. x  e.  A  y  =  `' x }  ( z 
C_  w  \/  w  C_  z ) ) )
4835, 47sylib 196 . . 3  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  ->  A. z  e.  { y  |  E. x  e.  A  y  =  `' x }  ( Fun  z  /\  A. w  e. 
{ y  |  E. x  e.  A  y  =  `' x }  ( z 
C_  w  \/  w  C_  z ) ) )
49 fununi 5636 . . 3  |-  ( A. z  e.  { y  |  E. x  e.  A  y  =  `' x }  ( Fun  z  /\  A. w  e.  {
y  |  E. x  e.  A  y  =  `' x }  ( z 
C_  w  \/  w  C_  z ) )  ->  Fun  U. { y  |  E. x  e.  A  y  =  `' x } )
5048, 49syl 16 . 2  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  ->  Fun  U. { y  |  E. x  e.  A  y  =  `' x } )
51 cnvuni 5178 . . . 4  |-  `' U. A  =  U_ x  e.  A  `' x
52 vex 3109 . . . . . 6  |-  x  e. 
_V
5352cnvex 6720 . . . . 5  |-  `' x  e.  _V
5453dfiun2 4349 . . . 4  |-  U_ x  e.  A  `' x  =  U. { y  |  E. x  e.  A  y  =  `' x }
5551, 54eqtri 2483 . . 3  |-  `' U. A  =  U. { y  |  E. x  e.  A  y  =  `' x }
5655funeqi 5590 . 2  |-  ( Fun  `' U. A  <->  Fun  U. {
y  |  E. x  e.  A  y  =  `' x } )
5750, 56sylibr 212 1  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  ->  Fun  `' U. A )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    \/ wo 366    /\ wa 367   A.wal 1396    = wceq 1398    e. wcel 1823   {cab 2439   A.wral 2804   E.wrex 2805    C_ wss 3461   U.cuni 4235   U_ciun 4315   `'ccnv 4987   Fun wfun 5564
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-8 1825  ax-9 1827  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432  ax-sep 4560  ax-nul 4568  ax-pow 4615  ax-pr 4676  ax-un 6565
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3an 973  df-tru 1401  df-ex 1618  df-nf 1622  df-sb 1745  df-eu 2288  df-mo 2289  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2651  df-ral 2809  df-rex 2810  df-rab 2813  df-v 3108  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-nul 3784  df-if 3930  df-pw 4001  df-sn 4017  df-pr 4019  df-op 4023  df-uni 4236  df-iun 4317  df-br 4440  df-opab 4498  df-id 4784  df-xp 4994  df-rel 4995  df-cnv 4996  df-co 4997  df-dm 4998  df-rn 4999  df-fun 5572
This theorem is referenced by:  fun11uni  6727
  Copyright terms: Public domain W3C validator