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

Theorem funcnvuni 5518
Description: The union of a chain (with respect to inclusion) of single-rooted sets is single-rooted. (See funcnv 5511 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 5046 . . . . . . . 8  |-  ( x  =  v  ->  `' x  =  `' v
)
21eqeq2d 2447 . . . . . . 7  |-  ( x  =  v  ->  (
z  =  `' x  <->  z  =  `' v ) )
32cbvrexv 2933 . . . . . 6  |-  ( E. x  e.  A  z  =  `' x  <->  E. v  e.  A  z  =  `' v )
4 cnveq 5046 . . . . . . . . . . 11  |-  ( f  =  v  ->  `' f  =  `' v
)
54funeqd 5475 . . . . . . . . . 10  |-  ( f  =  v  ->  ( Fun  `' f  <->  Fun  `' v ) )
6 sseq1 3369 . . . . . . . . . . . 12  |-  ( f  =  v  ->  (
f  C_  g  <->  v  C_  g ) )
7 sseq2 3370 . . . . . . . . . . . 12  |-  ( f  =  v  ->  (
g  C_  f  <->  g  C_  v ) )
86, 7orbi12d 691 . . . . . . . . . . 11  |-  ( f  =  v  ->  (
( f  C_  g  \/  g  C_  f )  <-> 
( v  C_  g  \/  g  C_  v ) ) )
98ralbidv 2725 . . . . . . . . . 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 692 . . . . . . . . 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 3048 . . . . . . . 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 5473 . . . . . . . . . 10  |-  ( z  =  `' v  -> 
( Fun  z  <->  Fun  `' v ) )
1312biimprcd 217 . . . . . . . . 9  |-  ( Fun  `' v  ->  ( z  =  `' v  ->  Fun  z ) )
14 sseq2 3370 . . . . . . . . . . . . . . 15  |-  ( g  =  x  ->  (
v  C_  g  <->  v  C_  x ) )
15 sseq1 3369 . . . . . . . . . . . . . . 15  |-  ( g  =  x  ->  (
g  C_  v  <->  x  C_  v
) )
1614, 15orbi12d 691 . . . . . . . . . . . . . 14  |-  ( g  =  x  ->  (
( v  C_  g  \/  g  C_  v )  <-> 
( v  C_  x  \/  x  C_  v ) ) )
1716rspcv 3048 . . . . . . . . . . . . 13  |-  ( x  e.  A  ->  ( A. g  e.  A  ( v  C_  g  \/  g  C_  v )  ->  ( v  C_  x  \/  x  C_  v
) ) )
18 cnvss 5045 . . . . . . . . . . . . . . . 16  |-  ( v 
C_  x  ->  `' v  C_  `' x )
19 cnvss 5045 . . . . . . . . . . . . . . . 16  |-  ( x 
C_  v  ->  `' x  C_  `' v )
2018, 19orim12i 503 . . . . . . . . . . . . . . 15  |-  ( ( v  C_  x  \/  x  C_  v )  -> 
( `' v  C_  `' x  \/  `' x  C_  `' v ) )
21 sseq12 3371 . . . . . . . . . . . . . . . . 17  |-  ( ( z  =  `' v  /\  w  =  `' x )  ->  (
z  C_  w  <->  `' v  C_  `' x ) )
2221ancoms 440 . . . . . . . . . . . . . . . 16  |-  ( ( w  =  `' x  /\  z  =  `' v )  ->  (
z  C_  w  <->  `' v  C_  `' x ) )
23 sseq12 3371 . . . . . . . . . . . . . . . 16  |-  ( ( w  =  `' x  /\  z  =  `' v )  ->  (
w  C_  z  <->  `' x  C_  `' v ) )
2422, 23orbi12d 691 . . . . . . . . . . . . . . 15  |-  ( ( w  =  `' x  /\  z  =  `' v )  ->  (
( z  C_  w  \/  w  C_  z )  <-> 
( `' v  C_  `' x  \/  `' x  C_  `' v ) ) )
2520, 24syl5ibrcom 214 . . . . . . . . . . . . . 14  |-  ( ( v  C_  x  \/  x  C_  v )  -> 
( ( w  =  `' x  /\  z  =  `' v )  -> 
( z  C_  w  \/  w  C_  z ) ) )
2625exp3a 426 . . . . . . . . . . . . 13  |-  ( ( v  C_  x  \/  x  C_  v )  -> 
( w  =  `' x  ->  ( z  =  `' v  ->  ( z 
C_  w  \/  w  C_  z ) ) ) )
2717, 26syl6com 33 . . . . . . . . . . . 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 2829 . . . . . . . . . . 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 74 . . . . . . . . . 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 1643 . . . . . . . . 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 554 . . . . . . . 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 33 . . . . . . 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 2829 . . . . . 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 209 . . . . 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 1641 . . . 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 2710 . . . . 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 2959 . . . . . . . 8  |-  z  e. 
_V
38 eqeq1 2442 . . . . . . . . 9  |-  ( y  =  z  ->  (
y  =  `' x  <->  z  =  `' x ) )
3938rexbidv 2726 . . . . . . . 8  |-  ( y  =  z  ->  ( E. x  e.  A  y  =  `' x  <->  E. x  e.  A  z  =  `' x ) )
4037, 39elab 3082 . . . . . . 7  |-  ( z  e.  { y  |  E. x  e.  A  y  =  `' x } 
<->  E. x  e.  A  z  =  `' x
)
41 eqeq1 2442 . . . . . . . . . 10  |-  ( y  =  w  ->  (
y  =  `' x  <->  w  =  `' x ) )
4241rexbidv 2726 . . . . . . . . 9  |-  ( y  =  w  ->  ( E. x  e.  A  y  =  `' x  <->  E. x  e.  A  w  =  `' x ) )
4342ralab 3095 . . . . . . . 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 676 . . . . . . 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 317 . . . . . 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 1575 . . . . 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 242 . . . 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 189 . . 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 5517 . . 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 5057 . . . 4  |-  `' U. A  =  U_ x  e.  A  `' x
52 vex 2959 . . . . . 6  |-  x  e. 
_V
5352cnvex 5406 . . . . 5  |-  `' x  e.  _V
5453dfiun2 4125 . . . 4  |-  U_ x  e.  A  `' x  =  U. { y  |  E. x  e.  A  y  =  `' x }
5551, 54eqtri 2456 . . 3  |-  `' U. A  =  U. { y  |  E. x  e.  A  y  =  `' x }
5655funeqi 5474 . 2  |-  ( Fun  `' U. A  <->  Fun  U. {
y  |  E. x  e.  A  y  =  `' x } )
5750, 56sylibr 204 1  |-  ( A. f  e.  A  ( Fun  `' f  /\  A. g  e.  A  ( f  C_  g  \/  g  C_  f ) )  ->  Fun  `' U. A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    \/ wo 358    /\ wa 359   A.wal 1549    = wceq 1652    e. wcel 1725   {cab 2422   A.wral 2705   E.wrex 2706    C_ wss 3320   U.cuni 4015   U_ciun 4093   `'ccnv 4877   Fun wfun 5448
This theorem is referenced by:  fun11uni  5519
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403  ax-un 4701
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-rab 2714  df-v 2958  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-pw 3801  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-iun 4095  df-br 4213  df-opab 4267  df-id 4498  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-fun 5456
  Copyright terms: Public domain W3C validator