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

Theorem pwfseqlem2 8534
Description: Lemma for pwfseq 8539. (Contributed by Mario Carneiro, 18-Nov-2014.)
Hypotheses
Ref Expression
pwfseqlem4.g  |-  ( ph  ->  G : ~P A -1-1-> U_ n  e.  om  ( A  ^m  n ) )
pwfseqlem4.x  |-  ( ph  ->  X  C_  A )
pwfseqlem4.h  |-  ( ph  ->  H : om -1-1-onto-> X )
pwfseqlem4.ps  |-  ( ps  <->  ( ( x  C_  A  /\  r  C_  ( x  X.  x )  /\  r  We  x )  /\  om  ~<_  x ) )
pwfseqlem4.k  |-  ( (
ph  /\  ps )  ->  K : U_ n  e.  om  ( x  ^m  n ) -1-1-> x )
pwfseqlem4.d  |-  D  =  ( G `  {
w  e.  x  |  ( ( `' K `  w )  e.  ran  G  /\  -.  w  e.  ( `' G `  ( `' K `  w ) ) ) } )
pwfseqlem4.f  |-  F  =  ( x  e.  _V ,  r  e.  _V  |->  if ( x  e.  Fin ,  ( H `  ( card `  x ) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z )  e.  x } ) ) )
Assertion
Ref Expression
pwfseqlem2  |-  ( ( Y  e.  Fin  /\  R  e.  _V )  ->  ( Y F R )  =  ( H `
 ( card `  Y
) ) )
Distinct variable groups:    n, r, w, x, z    D, n, z    w, G    w, K    H, r, x, z    ph, n, r, x, z    ps, n, z    A, n, r, x, z
Allowed substitution hints:    ph( w)    ps( x, w, r)    A( w)    D( x, w, r)    R( x, z, w, n, r)    F( x, z, w, n, r)    G( x, z, n, r)    H( w, n)    K( x, z, n, r)    X( x, z, w, n, r)    Y( x, z, w, n, r)

Proof of Theorem pwfseqlem2
Dummy variables  a 
s are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq1 6088 . . 3  |-  ( a  =  Y  ->  (
a F s )  =  ( Y F s ) )
2 fveq2 5728 . . . 4  |-  ( a  =  Y  ->  ( card `  a )  =  ( card `  Y
) )
32fveq2d 5732 . . 3  |-  ( a  =  Y  ->  ( H `  ( card `  a ) )  =  ( H `  ( card `  Y ) ) )
41, 3eqeq12d 2450 . 2  |-  ( a  =  Y  ->  (
( a F s )  =  ( H `
 ( card `  a
) )  <->  ( Y F s )  =  ( H `  ( card `  Y ) ) ) )
5 oveq2 6089 . . 3  |-  ( s  =  R  ->  ( Y F s )  =  ( Y F R ) )
65eqeq1d 2444 . 2  |-  ( s  =  R  ->  (
( Y F s )  =  ( H `
 ( card `  Y
) )  <->  ( Y F R )  =  ( H `  ( card `  Y ) ) ) )
7 nfcv 2572 . . 3  |-  F/_ x
a
8 nfcv 2572 . . 3  |-  F/_ r
a
9 nfcv 2572 . . 3  |-  F/_ r
s
10 pwfseqlem4.f . . . . . 6  |-  F  =  ( x  e.  _V ,  r  e.  _V  |->  if ( x  e.  Fin ,  ( H `  ( card `  x ) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z )  e.  x } ) ) )
11 nfmpt21 6140 . . . . . 6  |-  F/_ x
( x  e.  _V ,  r  e.  _V  |->  if ( x  e.  Fin ,  ( H `  ( card `  x ) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z )  e.  x } ) ) )
1210, 11nfcxfr 2569 . . . . 5  |-  F/_ x F
13 nfcv 2572 . . . . 5  |-  F/_ x
r
147, 12, 13nfov 6104 . . . 4  |-  F/_ x
( a F r )
1514nfeq1 2581 . . 3  |-  F/ x
( a F r )  =  ( H `
 ( card `  a
) )
16 nfmpt22 6141 . . . . . 6  |-  F/_ r
( x  e.  _V ,  r  e.  _V  |->  if ( x  e.  Fin ,  ( H `  ( card `  x ) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z )  e.  x } ) ) )
1710, 16nfcxfr 2569 . . . . 5  |-  F/_ r F
188, 17, 9nfov 6104 . . . 4  |-  F/_ r
( a F s )
1918nfeq1 2581 . . 3  |-  F/ r ( a F s )  =  ( H `
 ( card `  a
) )
20 oveq1 6088 . . . 4  |-  ( x  =  a  ->  (
x F r )  =  ( a F r ) )
21 fveq2 5728 . . . . 5  |-  ( x  =  a  ->  ( card `  x )  =  ( card `  a
) )
2221fveq2d 5732 . . . 4  |-  ( x  =  a  ->  ( H `  ( card `  x ) )  =  ( H `  ( card `  a ) ) )
2320, 22eqeq12d 2450 . . 3  |-  ( x  =  a  ->  (
( x F r )  =  ( H `
 ( card `  x
) )  <->  ( a F r )  =  ( H `  ( card `  a ) ) ) )
24 oveq2 6089 . . . 4  |-  ( r  =  s  ->  (
a F r )  =  ( a F s ) )
2524eqeq1d 2444 . . 3  |-  ( r  =  s  ->  (
( a F r )  =  ( H `
 ( card `  a
) )  <->  ( a F s )  =  ( H `  ( card `  a ) ) ) )
26 vex 2959 . . . . . 6  |-  x  e. 
_V
27 vex 2959 . . . . . 6  |-  r  e. 
_V
28 fvex 5742 . . . . . . 7  |-  ( H `
 ( card `  x
) )  e.  _V
29 fvex 5742 . . . . . . 7  |-  ( D `
 |^| { z  e. 
om  |  -.  ( D `  z )  e.  x } )  e. 
_V
3028, 29ifex 3797 . . . . . 6  |-  if ( x  e.  Fin , 
( H `  ( card `  x ) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z )  e.  x } ) )  e. 
_V
3110ovmpt4g 6196 . . . . . 6  |-  ( ( x  e.  _V  /\  r  e.  _V  /\  if ( x  e.  Fin ,  ( H `  ( card `  x ) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z )  e.  x } ) )  e. 
_V )  ->  (
x F r )  =  if ( x  e.  Fin ,  ( H `  ( card `  x ) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z
)  e.  x }
) ) )
3226, 27, 30, 31mp3an 1279 . . . . 5  |-  ( x F r )  =  if ( x  e. 
Fin ,  ( H `  ( card `  x
) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z )  e.  x } ) )
33 iftrue 3745 . . . . 5  |-  ( x  e.  Fin  ->  if ( x  e.  Fin ,  ( H `  ( card `  x ) ) ,  ( D `  |^| { z  e.  om  |  -.  ( D `  z )  e.  x } ) )  =  ( H `  ( card `  x ) ) )
3432, 33syl5eq 2480 . . . 4  |-  ( x  e.  Fin  ->  (
x F r )  =  ( H `  ( card `  x )
) )
3534adantr 452 . . 3  |-  ( ( x  e.  Fin  /\  r  e.  _V )  ->  ( x F r )  =  ( H `
 ( card `  x
) ) )
367, 8, 9, 15, 19, 23, 25, 35vtocl2gaf 3018 . 2  |-  ( ( a  e.  Fin  /\  s  e.  _V )  ->  ( a F s )  =  ( H `
 ( card `  a
) ) )
374, 6, 36vtocl2ga 3019 1  |-  ( ( Y  e.  Fin  /\  R  e.  _V )  ->  ( Y F R )  =  ( H `
 ( card `  Y
) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   {crab 2709   _Vcvv 2956    C_ wss 3320   ifcif 3739   ~Pcpw 3799   |^|cint 4050   U_ciun 4093   class class class wbr 4212    We wwe 4540   omcom 4845    X. cxp 4876   `'ccnv 4877   ran crn 4879   -1-1->wf1 5451   -1-1-onto->wf1o 5453   ` cfv 5454  (class class class)co 6081    e. cmpt2 6083    ^m cmap 7018    ~<_ cdom 7107   Fincfn 7109   cardccrd 7822
This theorem is referenced by:  pwfseqlem4a  8536  pwfseqlem4  8537
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-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-sep 4330  ax-nul 4338  ax-pr 4403
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-sbc 3162  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  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-iota 5418  df-fun 5456  df-fv 5462  df-ov 6084  df-oprab 6085  df-mpt2 6086
  Copyright terms: Public domain W3C validator