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

Theorem aceq3lem 7747
Description: Lemma for dfac3 7748. (Contributed by NM, 2-Apr-2004.) (Revised by Mario Carneiro, 26-Jun-2015.)
Hypothesis
Ref Expression
aceq3lem.1  |-  F  =  ( w  e.  dom  y  |->  ( f `  { u  |  w
y u } ) )
Assertion
Ref Expression
aceq3lem  |-  ( A. x E. f A. z  e.  x  ( z  =/=  (/)  ->  ( f `  z )  e.  z )  ->  E. f
( f  C_  y  /\  f  Fn  dom  y ) )
Distinct variable group:    x, y, z, w, u, f
Allowed substitution hints:    F( x, y, z, w, u, f)

Proof of Theorem aceq3lem
Dummy variables  h  g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 2791 . . . . . 6  |-  y  e. 
_V
21rnex 4942 . . . . 5  |-  ran  y  e.  _V
32pwex 4193 . . . 4  |-  ~P ran  y  e.  _V
4 raleq 2736 . . . . 5  |-  ( x  =  ~P ran  y  ->  ( A. z  e.  x  ( z  =/=  (/)  ->  ( f `  z )  e.  z )  <->  A. z  e.  ~P  ran  y ( z  =/=  (/)  ->  ( f `  z )  e.  z ) ) )
54exbidv 1612 . . . 4  |-  ( x  =  ~P ran  y  ->  ( E. f A. z  e.  x  (
z  =/=  (/)  ->  (
f `  z )  e.  z )  <->  E. f A. z  e.  ~P  ran  y ( z  =/=  (/)  ->  ( f `  z )  e.  z ) ) )
63, 5spcv 2874 . . 3  |-  ( A. x E. f A. z  e.  x  ( z  =/=  (/)  ->  ( f `  z )  e.  z )  ->  E. f A. z  e.  ~P  ran  y ( z  =/=  (/)  ->  ( f `  z )  e.  z ) )
7 aceq3lem.1 . . . . . . 7  |-  F  =  ( w  e.  dom  y  |->  ( f `  { u  |  w
y u } ) )
8 df-mpt 4079 . . . . . . 7  |-  ( w  e.  dom  y  |->  ( f `  { u  |  w y u }
) )  =  { <. w ,  h >.  |  ( w  e.  dom  y  /\  h  =  ( f `  { u  |  w y u }
) ) }
97, 8eqtri 2303 . . . . . 6  |-  F  =  { <. w ,  h >.  |  ( w  e. 
dom  y  /\  h  =  ( f `  { u  |  w
y u } ) ) }
10 vex 2791 . . . . . . . . . . . . . . 15  |-  w  e. 
_V
1110eldm 4876 . . . . . . . . . . . . . 14  |-  ( w  e.  dom  y  <->  E. u  w y u )
12 abn0 3473 . . . . . . . . . . . . . 14  |-  ( { u  |  w y u }  =/=  (/)  <->  E. u  w y u )
1311, 12bitr4i 243 . . . . . . . . . . . . 13  |-  ( w  e.  dom  y  <->  { u  |  w y u }  =/=  (/) )
14 vex 2791 . . . . . . . . . . . . . . . . 17  |-  u  e. 
_V
1510, 14brelrn 4909 . . . . . . . . . . . . . . . 16  |-  ( w y u  ->  u  e.  ran  y )
1615abssi 3248 . . . . . . . . . . . . . . 15  |-  { u  |  w y u }  C_ 
ran  y
172elpw2 4175 . . . . . . . . . . . . . . 15  |-  ( { u  |  w y u }  e.  ~P ran  y  <->  { u  |  w y u }  C_  ran  y )
1816, 17mpbir 200 . . . . . . . . . . . . . 14  |-  { u  |  w y u }  e.  ~P ran  y
19 neeq1 2454 . . . . . . . . . . . . . . . 16  |-  ( z  =  { u  |  w y u }  ->  ( z  =/=  (/)  <->  { u  |  w y u }  =/=  (/) ) )
20 fveq2 5525 . . . . . . . . . . . . . . . . 17  |-  ( z  =  { u  |  w y u }  ->  ( f `  z
)  =  ( f `
 { u  |  w y u }
) )
21 id 19 . . . . . . . . . . . . . . . . 17  |-  ( z  =  { u  |  w y u }  ->  z  =  { u  |  w y u }
)
2220, 21eleq12d 2351 . . . . . . . . . . . . . . . 16  |-  ( z  =  { u  |  w y u }  ->  ( ( f `  z )  e.  z  <-> 
( f `  {
u  |  w y u } )  e. 
{ u  |  w y u } ) )
2319, 22imbi12d 311 . . . . . . . . . . . . . . 15  |-  ( z  =  { u  |  w y u }  ->  ( ( z  =/=  (/)  ->  ( f `  z )  e.  z )  <->  ( { u  |  w y u }  =/=  (/)  ->  ( f `  { u  |  w y u } )  e.  { u  |  w y u }
) ) )
2423rspcv 2880 . . . . . . . . . . . . . 14  |-  ( { u  |  w y u }  e.  ~P ran  y  ->  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  ( { u  |  w
y u }  =/=  (/) 
->  ( f `  {
u  |  w y u } )  e. 
{ u  |  w y u } ) ) )
2518, 24ax-mp 8 . . . . . . . . . . . . 13  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  ( { u  |  w
y u }  =/=  (/) 
->  ( f `  {
u  |  w y u } )  e. 
{ u  |  w y u } ) )
2613, 25syl5bi 208 . . . . . . . . . . . 12  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  (
w  e.  dom  y  ->  ( f `  {
u  |  w y u } )  e. 
{ u  |  w y u } ) )
2726imp 418 . . . . . . . . . . 11  |-  ( ( A. z  e.  ~P  ran  y ( z  =/=  (/)  ->  ( f `  z )  e.  z )  /\  w  e. 
dom  y )  -> 
( f `  {
u  |  w y u } )  e. 
{ u  |  w y u } )
28 fvex 5539 . . . . . . . . . . . 12  |-  ( f `
 { u  |  w y u }
)  e.  _V
29 breq2 4027 . . . . . . . . . . . 12  |-  ( z  =  ( f `  { u  |  w
y u } )  ->  ( w y z  <->  w y ( f `  { u  |  w y u }
) ) )
30 breq2 4027 . . . . . . . . . . . . 13  |-  ( u  =  z  ->  (
w y u  <->  w y
z ) )
3130cbvabv 2402 . . . . . . . . . . . 12  |-  { u  |  w y u }  =  { z  |  w y z }
3228, 29, 31elab2 2917 . . . . . . . . . . 11  |-  ( ( f `  { u  |  w y u }
)  e.  { u  |  w y u }  <->  w y ( f `  { u  |  w
y u } ) )
3327, 32sylib 188 . . . . . . . . . 10  |-  ( ( A. z  e.  ~P  ran  y ( z  =/=  (/)  ->  ( f `  z )  e.  z )  /\  w  e. 
dom  y )  ->  w y ( f `
 { u  |  w y u }
) )
34 breq2 4027 . . . . . . . . . 10  |-  ( h  =  ( f `  { u  |  w
y u } )  ->  ( w y h  <->  w y ( f `  { u  |  w y u }
) ) )
3533, 34syl5ibrcom 213 . . . . . . . . 9  |-  ( ( A. z  e.  ~P  ran  y ( z  =/=  (/)  ->  ( f `  z )  e.  z )  /\  w  e. 
dom  y )  -> 
( h  =  ( f `  { u  |  w y u }
)  ->  w y
h ) )
3635expimpd 586 . . . . . . . 8  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  (
( w  e.  dom  y  /\  h  =  ( f `  { u  |  w y u }
) )  ->  w
y h ) )
3736ssopab2dv 4293 . . . . . . 7  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  { <. w ,  h >.  |  ( w  e.  dom  y  /\  h  =  (
f `  { u  |  w y u }
) ) }  C_  {
<. w ,  h >.  |  w y h }
)
38 opabss 4080 . . . . . . 7  |-  { <. w ,  h >.  |  w y h }  C_  y
3937, 38syl6ss 3191 . . . . . 6  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  { <. w ,  h >.  |  ( w  e.  dom  y  /\  h  =  (
f `  { u  |  w y u }
) ) }  C_  y )
409, 39syl5eqss 3222 . . . . 5  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  F  C_  y )
4128, 7fnmpti 5372 . . . . 5  |-  F  Fn  dom  y
421ssex 4158 . . . . . . 7  |-  ( F 
C_  y  ->  F  e.  _V )
4342adantr 451 . . . . . 6  |-  ( ( F  C_  y  /\  F  Fn  dom  y )  ->  F  e.  _V )
44 sseq1 3199 . . . . . . . 8  |-  ( g  =  F  ->  (
g  C_  y  <->  F  C_  y
) )
45 fneq1 5333 . . . . . . . 8  |-  ( g  =  F  ->  (
g  Fn  dom  y  <->  F  Fn  dom  y ) )
4644, 45anbi12d 691 . . . . . . 7  |-  ( g  =  F  ->  (
( g  C_  y  /\  g  Fn  dom  y )  <->  ( F  C_  y  /\  F  Fn  dom  y ) ) )
4746spcegv 2869 . . . . . 6  |-  ( F  e.  _V  ->  (
( F  C_  y  /\  F  Fn  dom  y )  ->  E. g
( g  C_  y  /\  g  Fn  dom  y ) ) )
4843, 47mpcom 32 . . . . 5  |-  ( ( F  C_  y  /\  F  Fn  dom  y )  ->  E. g ( g 
C_  y  /\  g  Fn  dom  y ) )
4940, 41, 48sylancl 643 . . . 4  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  E. g
( g  C_  y  /\  g  Fn  dom  y ) )
5049exlimiv 1666 . . 3  |-  ( E. f A. z  e. 
~P  ran  y (
z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  E. g
( g  C_  y  /\  g  Fn  dom  y ) )
516, 50syl 15 . 2  |-  ( A. x E. f A. z  e.  x  ( z  =/=  (/)  ->  ( f `  z )  e.  z )  ->  E. g
( g  C_  y  /\  g  Fn  dom  y ) )
52 sseq1 3199 . . . 4  |-  ( g  =  f  ->  (
g  C_  y  <->  f  C_  y ) )
53 fneq1 5333 . . . 4  |-  ( g  =  f  ->  (
g  Fn  dom  y  <->  f  Fn  dom  y ) )
5452, 53anbi12d 691 . . 3  |-  ( g  =  f  ->  (
( g  C_  y  /\  g  Fn  dom  y )  <->  ( f  C_  y  /\  f  Fn 
dom  y ) ) )
5554cbvexv 1943 . 2  |-  ( E. g ( g  C_  y  /\  g  Fn  dom  y )  <->  E. f
( f  C_  y  /\  f  Fn  dom  y ) )
5651, 55sylib 188 1  |-  ( A. x E. f A. z  e.  x  ( z  =/=  (/)  ->  ( f `  z )  e.  z )  ->  E. f
( f  C_  y  /\  f  Fn  dom  y ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358   A.wal 1527   E.wex 1528    = wceq 1623    e. wcel 1684   {cab 2269    =/= wne 2446   A.wral 2543   _Vcvv 2788    C_ wss 3152   (/)c0 3455   ~Pcpw 3625   class class class wbr 4023   {copab 4076    e. cmpt 4077   dom cdm 4689   ran crn 4690    Fn wfn 5250   ` cfv 5255
This theorem is referenced by:  dfac3  7748
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-iota 5219  df-fun 5257  df-fn 5258  df-fv 5263
  Copyright terms: Public domain W3C validator