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

Theorem aceq3lem 7993
Description: Lemma for dfac3 7994. (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 2951 . . . . . 6  |-  y  e. 
_V
21rnex 5125 . . . . 5  |-  ran  y  e.  _V
32pwex 4374 . . . 4  |-  ~P ran  y  e.  _V
4 raleq 2896 . . . . 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 1636 . . . 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 3034 . . 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 4260 . . . . . . 7  |-  ( w  e.  dom  y  |->  ( f `  { u  |  w y u }
) )  =  { <. w ,  h >.  |  ( w  e.  dom  y  /\  h  =  ( f `  { u  |  w y u }
) ) }
97, 8eqtri 2455 . . . . . 6  |-  F  =  { <. w ,  h >.  |  ( w  e. 
dom  y  /\  h  =  ( f `  { u  |  w
y u } ) ) }
10 vex 2951 . . . . . . . . . . . . . . 15  |-  w  e. 
_V
1110eldm 5059 . . . . . . . . . . . . . 14  |-  ( w  e.  dom  y  <->  E. u  w y u )
12 abn0 3638 . . . . . . . . . . . . . 14  |-  ( { u  |  w y u }  =/=  (/)  <->  E. u  w y u )
1311, 12bitr4i 244 . . . . . . . . . . . . 13  |-  ( w  e.  dom  y  <->  { u  |  w y u }  =/=  (/) )
14 vex 2951 . . . . . . . . . . . . . . . . 17  |-  u  e. 
_V
1510, 14brelrn 5092 . . . . . . . . . . . . . . . 16  |-  ( w y u  ->  u  e.  ran  y )
1615abssi 3410 . . . . . . . . . . . . . . 15  |-  { u  |  w y u }  C_ 
ran  y
172elpw2 4356 . . . . . . . . . . . . . . 15  |-  ( { u  |  w y u }  e.  ~P ran  y  <->  { u  |  w y u }  C_  ran  y )
1816, 17mpbir 201 . . . . . . . . . . . . . 14  |-  { u  |  w y u }  e.  ~P ran  y
19 neeq1 2606 . . . . . . . . . . . . . . . 16  |-  ( z  =  { u  |  w y u }  ->  ( z  =/=  (/)  <->  { u  |  w y u }  =/=  (/) ) )
20 fveq2 5720 . . . . . . . . . . . . . . . . 17  |-  ( z  =  { u  |  w y u }  ->  ( f `  z
)  =  ( f `
 { u  |  w y u }
) )
21 id 20 . . . . . . . . . . . . . . . . 17  |-  ( z  =  { u  |  w y u }  ->  z  =  { u  |  w y u }
)
2220, 21eleq12d 2503 . . . . . . . . . . . . . . . 16  |-  ( z  =  { u  |  w y u }  ->  ( ( f `  z )  e.  z  <-> 
( f `  {
u  |  w y u } )  e. 
{ u  |  w y u } ) )
2319, 22imbi12d 312 . . . . . . . . . . . . . . 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 3040 . . . . . . . . . . . . . 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 209 . . . . . . . . . . . 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 419 . . . . . . . . . . 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 5734 . . . . . . . . . . . 12  |-  ( f `
 { u  |  w y u }
)  e.  _V
29 breq2 4208 . . . . . . . . . . . 12  |-  ( z  =  ( f `  { u  |  w
y u } )  ->  ( w y z  <->  w y ( f `  { u  |  w y u }
) ) )
30 breq2 4208 . . . . . . . . . . . . 13  |-  ( u  =  z  ->  (
w y u  <->  w y
z ) )
3130cbvabv 2554 . . . . . . . . . . . 12  |-  { u  |  w y u }  =  { z  |  w y z }
3228, 29, 31elab2 3077 . . . . . . . . . . 11  |-  ( ( f `  { u  |  w y u }
)  e.  { u  |  w y u }  <->  w y ( f `  { u  |  w
y u } ) )
3327, 32sylib 189 . . . . . . . . . 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 4208 . . . . . . . . . 10  |-  ( h  =  ( f `  { u  |  w
y u } )  ->  ( w y h  <->  w y ( f `  { u  |  w y u }
) ) )
3533, 34syl5ibrcom 214 . . . . . . . . 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 587 . . . . . . . 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 4475 . . . . . . 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 4261 . . . . . . 7  |-  { <. w ,  h >.  |  w y h }  C_  y
3937, 38syl6ss 3352 . . . . . 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 3384 . . . . 5  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  F  C_  y )
4128, 7fnmpti 5565 . . . . 5  |-  F  Fn  dom  y
421ssex 4339 . . . . . . 7  |-  ( F 
C_  y  ->  F  e.  _V )
4342adantr 452 . . . . . 6  |-  ( ( F  C_  y  /\  F  Fn  dom  y )  ->  F  e.  _V )
44 sseq1 3361 . . . . . . . 8  |-  ( g  =  F  ->  (
g  C_  y  <->  F  C_  y
) )
45 fneq1 5526 . . . . . . . 8  |-  ( g  =  F  ->  (
g  Fn  dom  y  <->  F  Fn  dom  y ) )
4644, 45anbi12d 692 . . . . . . 7  |-  ( g  =  F  ->  (
( g  C_  y  /\  g  Fn  dom  y )  <->  ( F  C_  y  /\  F  Fn  dom  y ) ) )
4746spcegv 3029 . . . . . 6  |-  ( F  e.  _V  ->  (
( F  C_  y  /\  F  Fn  dom  y )  ->  E. g
( g  C_  y  /\  g  Fn  dom  y ) ) )
4843, 47mpcom 34 . . . . 5  |-  ( ( F  C_  y  /\  F  Fn  dom  y )  ->  E. g ( g 
C_  y  /\  g  Fn  dom  y ) )
4940, 41, 48sylancl 644 . . . 4  |-  ( A. z  e.  ~P  ran  y
( z  =/=  (/)  ->  (
f `  z )  e.  z )  ->  E. g
( g  C_  y  /\  g  Fn  dom  y ) )
5049exlimiv 1644 . . 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 16 . 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 3361 . . . 4  |-  ( g  =  f  ->  (
g  C_  y  <->  f  C_  y ) )
53 fneq1 5526 . . . 4  |-  ( g  =  f  ->  (
g  Fn  dom  y  <->  f  Fn  dom  y ) )
5452, 53anbi12d 692 . . 3  |-  ( g  =  f  ->  (
( g  C_  y  /\  g  Fn  dom  y )  <->  ( f  C_  y  /\  f  Fn 
dom  y ) ) )
5554cbvexv 1985 . 2  |-  ( E. g ( g  C_  y  /\  g  Fn  dom  y )  <->  E. f
( f  C_  y  /\  f  Fn  dom  y ) )
5651, 55sylib 189 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 359   A.wal 1549   E.wex 1550    = wceq 1652    e. wcel 1725   {cab 2421    =/= wne 2598   A.wral 2697   _Vcvv 2948    C_ wss 3312   (/)c0 3620   ~Pcpw 3791   class class class wbr 4204   {copab 4257    e. cmpt 4258   dom cdm 4870   ran crn 4871    Fn wfn 5441   ` cfv 5446
This theorem is referenced by:  dfac3  7994
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 2416  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693
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 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-rab 2706  df-v 2950  df-sbc 3154  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-op 3815  df-uni 4008  df-br 4205  df-opab 4259  df-mpt 4260  df-id 4490  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-iota 5410  df-fun 5448  df-fn 5449  df-fv 5454
  Copyright terms: Public domain W3C validator