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

Theorem cantnfval 7385
Description: The value of the Cantor normal form function. (Contributed by Mario Carneiro, 25-May-2015.)
Hypotheses
Ref Expression
cantnfs.1  |-  S  =  dom  ( A CNF  B
)
cantnfs.2  |-  ( ph  ->  A  e.  On )
cantnfs.3  |-  ( ph  ->  B  e.  On )
cantnfval.3  |-  G  = OrdIso
(  _E  ,  ( `' F " ( _V 
\  1o ) ) )
cantnfval.4  |-  ( ph  ->  F  e.  S )
cantnfval.5  |-  H  = seq𝜔 ( ( k  e.  _V ,  z  e.  _V  |->  ( ( ( A  ^o  ( G `  k ) )  .o  ( F `  ( G `  k )
) )  +o  z
) ) ,  (/) )
Assertion
Ref Expression
cantnfval  |-  ( ph  ->  ( ( A CNF  B
) `  F )  =  ( H `  dom  G ) )
Distinct variable groups:    z, k, B    A, k, z    k, F, z    S, k, z   
k, G, z    ph, k,
z
Allowed substitution hints:    H( z, k)

Proof of Theorem cantnfval
Dummy variables  f 
g  h are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2296 . . . 4  |-  { g  e.  ( A  ^m  B )  |  ( `' g " ( _V  \  1o ) )  e.  Fin }  =  { g  e.  ( A  ^m  B )  |  ( `' g
" ( _V  \  1o ) )  e.  Fin }
2 cantnfs.2 . . . 4  |-  ( ph  ->  A  e.  On )
3 cantnfs.3 . . . 4  |-  ( ph  ->  B  e.  On )
41, 2, 3cantnffval 7380 . . 3  |-  ( ph  ->  ( A CNF  B )  =  ( f  e. 
{ g  e.  ( A  ^m  B )  |  ( `' g
" ( _V  \  1o ) )  e.  Fin } 
|->  [_OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) )  /  h ]_ (seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) ) `  dom  h
) ) )
54fveq1d 5543 . 2  |-  ( ph  ->  ( ( A CNF  B
) `  F )  =  ( ( f  e.  { g  e.  ( A  ^m  B
)  |  ( `' g " ( _V 
\  1o ) )  e.  Fin }  |->  [_OrdIso (  _E  ,  ( `' f " ( _V 
\  1o ) ) )  /  h ]_ (seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) ) `  dom  h
) ) `  F
) )
6 cantnfval.4 . . . 4  |-  ( ph  ->  F  e.  S )
7 cantnfs.1 . . . . 5  |-  S  =  dom  ( A CNF  B
)
81, 2, 3cantnfdm 7381 . . . . 5  |-  ( ph  ->  dom  ( A CNF  B
)  =  { g  e.  ( A  ^m  B )  |  ( `' g " ( _V  \  1o ) )  e.  Fin } )
97, 8syl5eq 2340 . . . 4  |-  ( ph  ->  S  =  { g  e.  ( A  ^m  B )  |  ( `' g " ( _V  \  1o ) )  e.  Fin } )
106, 9eleqtrd 2372 . . 3  |-  ( ph  ->  F  e.  { g  e.  ( A  ^m  B )  |  ( `' g " ( _V  \  1o ) )  e.  Fin } )
11 vex 2804 . . . . . . . 8  |-  f  e. 
_V
1211cnvex 5225 . . . . . . 7  |-  `' f  e.  _V
13 imaexg 5042 . . . . . . 7  |-  ( `' f  e.  _V  ->  ( `' f " ( _V  \  1o ) )  e.  _V )
14 eqid 2296 . . . . . . . 8  |- OrdIso (  _E  ,  ( `' f
" ( _V  \  1o ) ) )  = OrdIso
(  _E  ,  ( `' f " ( _V  \  1o ) ) )
1514oiexg 7266 . . . . . . 7  |-  ( ( `' f " ( _V  \  1o ) )  e.  _V  -> OrdIso (  _E  ,  ( `' f
" ( _V  \  1o ) ) )  e. 
_V )
1612, 13, 15mp2b 9 . . . . . 6  |- OrdIso (  _E  ,  ( `' f
" ( _V  \  1o ) ) )  e. 
_V
1716a1i 10 . . . . 5  |-  ( f  =  F  -> OrdIso (  _E  ,  ( `' f
" ( _V  \  1o ) ) )  e. 
_V )
18 simpr 447 . . . . . . . . . . . . . . . 16  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  h  = OrdIso (  _E  ,  ( `' f
" ( _V  \  1o ) ) ) )
19 simpl 443 . . . . . . . . . . . . . . . . . . 19  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  f  =  F )
2019cnveqd 4873 . . . . . . . . . . . . . . . . . 18  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  `' f  =  `' F )
2120imaeq1d 5027 . . . . . . . . . . . . . . . . 17  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  ( `' f
" ( _V  \  1o ) )  =  ( `' F " ( _V 
\  1o ) ) )
22 oieq2 7244 . . . . . . . . . . . . . . . . 17  |-  ( ( `' f " ( _V  \  1o ) )  =  ( `' F " ( _V  \  1o ) )  -> OrdIso (  _E  ,  ( `' f
" ( _V  \  1o ) ) )  = OrdIso
(  _E  ,  ( `' F " ( _V 
\  1o ) ) ) )
2321, 22syl 15 . . . . . . . . . . . . . . . 16  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  -> OrdIso (  _E  ,  ( `' f " ( _V  \  1o ) ) )  = OrdIso (  _E  ,  ( `' F " ( _V  \  1o ) ) ) )
2418, 23eqtrd 2328 . . . . . . . . . . . . . . 15  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  h  = OrdIso (  _E  ,  ( `' F " ( _V  \  1o ) ) ) )
25 cantnfval.3 . . . . . . . . . . . . . . 15  |-  G  = OrdIso
(  _E  ,  ( `' F " ( _V 
\  1o ) ) )
2624, 25syl6eqr 2346 . . . . . . . . . . . . . 14  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  h  =  G )
2726fveq1d 5543 . . . . . . . . . . . . 13  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  ( h `  k )  =  ( G `  k ) )
2827oveq2d 5890 . . . . . . . . . . . 12  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  ( A  ^o  ( h `  k
) )  =  ( A  ^o  ( G `
 k ) ) )
2919, 27fveq12d 5547 . . . . . . . . . . . 12  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  ( f `  ( h `  k
) )  =  ( F `  ( G `
 k ) ) )
3028, 29oveq12d 5892 . . . . . . . . . . 11  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  ( ( A  ^o  ( h `  k ) )  .o  ( f `  (
h `  k )
) )  =  ( ( A  ^o  ( G `  k )
)  .o  ( F `
 ( G `  k ) ) ) )
3130oveq1d 5889 . . . . . . . . . 10  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z )  =  ( ( ( A  ^o  ( G `  k ) )  .o  ( F `
 ( G `  k ) ) )  +o  z ) )
32313ad2ant1 976 . . . . . . . . 9  |-  ( ( ( f  =  F  /\  h  = OrdIso (  _E  ,  ( `' f
" ( _V  \  1o ) ) ) )  /\  k  e.  _V  /\  z  e.  _V )  ->  ( ( ( A  ^o  ( h `  k ) )  .o  ( f `  (
h `  k )
) )  +o  z
)  =  ( ( ( A  ^o  ( G `  k )
)  .o  ( F `
 ( G `  k ) ) )  +o  z ) )
3332mpt2eq3dva 5928 . . . . . . . 8  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) )  =  ( k  e.  _V ,  z  e.  _V  |->  ( ( ( A  ^o  ( G `  k ) )  .o  ( F `  ( G `  k )
) )  +o  z
) ) )
34 eqid 2296 . . . . . . . 8  |-  (/)  =  (/)
35 seqomeq12 6482 . . . . . . . 8  |-  ( ( ( k  e.  _V ,  z  e.  _V  |->  ( ( ( A  ^o  ( h `  k ) )  .o  ( f `  (
h `  k )
) )  +o  z
) )  =  ( k  e.  _V , 
z  e.  _V  |->  ( ( ( A  ^o  ( G `  k ) )  .o  ( F `
 ( G `  k ) ) )  +o  z ) )  /\  (/)  =  (/) )  -> seq𝜔 (
( k  e.  _V ,  z  e.  _V  |->  ( ( ( A  ^o  ( h `  k ) )  .o  ( f `  (
h `  k )
) )  +o  z
) ) ,  (/) )  = seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( G `
 k ) )  .o  ( F `  ( G `  k ) ) )  +o  z
) ) ,  (/) ) )
3633, 34, 35sylancl 643 . . . . . . 7  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  -> seq𝜔
( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) )  = seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( G `
 k ) )  .o  ( F `  ( G `  k ) ) )  +o  z
) ) ,  (/) ) )
37 cantnfval.5 . . . . . . 7  |-  H  = seq𝜔 ( ( k  e.  _V ,  z  e.  _V  |->  ( ( ( A  ^o  ( G `  k ) )  .o  ( F `  ( G `  k )
) )  +o  z
) ) ,  (/) )
3836, 37syl6eqr 2346 . . . . . 6  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  -> seq𝜔
( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) )  =  H
)
3926dmeqd 4897 . . . . . 6  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  dom  h  =  dom  G )
4038, 39fveq12d 5547 . . . . 5  |-  ( ( f  =  F  /\  h  = OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) ) )  ->  (seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) ) `  dom  h
)  =  ( H `
 dom  G )
)
4117, 40csbied 3136 . . . 4  |-  ( f  =  F  ->  [_OrdIso (  _E  ,  ( `' f
" ( _V  \  1o ) ) )  /  h ]_ (seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) ) `  dom  h
)  =  ( H `
 dom  G )
)
42 eqid 2296 . . . 4  |-  ( f  e.  { g  e.  ( A  ^m  B
)  |  ( `' g " ( _V 
\  1o ) )  e.  Fin }  |->  [_OrdIso (  _E  ,  ( `' f " ( _V 
\  1o ) ) )  /  h ]_ (seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) ) `  dom  h
) )  =  ( f  e.  { g  e.  ( A  ^m  B )  |  ( `' g " ( _V  \  1o ) )  e.  Fin }  |->  [_OrdIso (  _E  ,  ( `' f " ( _V 
\  1o ) ) )  /  h ]_ (seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) ) `  dom  h
) )
43 fvex 5555 . . . 4  |-  ( H `
 dom  G )  e.  _V
4441, 42, 43fvmpt 5618 . . 3  |-  ( F  e.  { g  e.  ( A  ^m  B
)  |  ( `' g " ( _V 
\  1o ) )  e.  Fin }  ->  ( ( f  e.  {
g  e.  ( A  ^m  B )  |  ( `' g "
( _V  \  1o ) )  e.  Fin } 
|->  [_OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) )  /  h ]_ (seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) ) `  dom  h
) ) `  F
)  =  ( H `
 dom  G )
)
4510, 44syl 15 . 2  |-  ( ph  ->  ( ( f  e. 
{ g  e.  ( A  ^m  B )  |  ( `' g
" ( _V  \  1o ) )  e.  Fin } 
|->  [_OrdIso (  _E  , 
( `' f "
( _V  \  1o ) ) )  /  h ]_ (seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  ( h `
 k ) )  .o  ( f `  ( h `  k
) ) )  +o  z ) ) ,  (/) ) `  dom  h
) ) `  F
)  =  ( H `
 dom  G )
)
465, 45eqtrd 2328 1  |-  ( ph  ->  ( ( A CNF  B
) `  F )  =  ( H `  dom  G ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1632    e. wcel 1696   {crab 2560   _Vcvv 2801   [_csb 3094    \ cdif 3162   (/)c0 3468    e. cmpt 4093    _E cep 4319   Oncon0 4408   `'ccnv 4704   dom cdm 4705   "cima 4708   ` cfv 5271  (class class class)co 5874    e. cmpt2 5876  seq𝜔cseqom 6475   1oc1o 6488    +o coa 6492    .o comu 6493    ^o coe 6494    ^m cmap 6788   Fincfn 6879  OrdIsocoi 7240   CNF ccnf 7378
This theorem is referenced by:  cantnfval2  7386  cantnfle  7388  cantnflt2  7390  cantnff  7391  cantnf0  7392  cantnfp1lem3  7398  cantnflem1  7407  cantnf  7411  cnfcom2  7421
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-se 4369  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-isom 5280  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-riota 6320  df-recs 6404  df-rdg 6439  df-seqom 6476  df-oi 7241  df-cnf 7379
  Copyright terms: Public domain W3C validator