Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eulerpartlemgu Structured version   Visualization version   Unicode version

Theorem eulerpartlemgu 29203
Description: Lemma for eulerpart 29208: Rewriting the  U set for an odd partition Note that interestingly, this proof reuses marypha2lem2 7947. (Contributed by Thierry Arnoux, 10-Aug-2018.)
Hypotheses
Ref Expression
eulerpart.p  |-  P  =  { f  e.  ( NN0  ^m  NN )  |  ( ( `' f " NN )  e.  Fin  /\  sum_ k  e.  NN  (
( f `  k
)  x.  k )  =  N ) }
eulerpart.o  |-  O  =  { g  e.  P  |  A. n  e.  ( `' g " NN )  -.  2  ||  n }
eulerpart.d  |-  D  =  { g  e.  P  |  A. n  e.  NN  ( g `  n
)  <_  1 }
eulerpart.j  |-  J  =  { z  e.  NN  |  -.  2  ||  z }
eulerpart.f  |-  F  =  ( x  e.  J ,  y  e.  NN0  |->  ( ( 2 ^ y )  x.  x
) )
eulerpart.h  |-  H  =  { r  e.  ( ( ~P NN0  i^i  Fin )  ^m  J )  |  ( r supp  (/) )  e. 
Fin }
eulerpart.m  |-  M  =  ( r  e.  H  |->  { <. x ,  y
>.  |  ( x  e.  J  /\  y  e.  ( r `  x
) ) } )
eulerpart.r  |-  R  =  { f  |  ( `' f " NN )  e.  Fin }
eulerpart.t  |-  T  =  { f  e.  ( NN0  ^m  NN )  |  ( `' f
" NN )  C_  J }
eulerpart.g  |-  G  =  ( o  e.  ( T  i^i  R ) 
|->  ( (𝟭 `  NN ) `  ( F " ( M `  (bits  o.  ( o  |`  J ) ) ) ) ) )
eulerpartlemgh.1  |-  U  = 
U_ t  e.  ( ( `' A " NN )  i^i  J ) ( { t }  X.  (bits `  ( A `  t )
) )
Assertion
Ref Expression
eulerpartlemgu  |-  ( A  e.  ( T  i^i  R )  ->  U  =  { <. t ,  n >.  |  ( t  e.  ( ( `' A " NN )  i^i  J
)  /\  n  e.  ( (bits  o.  A
) `  t )
) } )
Distinct variable groups:    z, t    f, g, k, n, t, A    f, J, n, t    f, N, k, n, t    n, O, t    P, g, k    R, f, k, n, t    T, n, t
Allowed substitution hints:    A( x, y, z, o, r)    D( x, y, z, t, f, g, k, n, o, r)    P( x, y, z, t, f, n, o, r)    R( x, y, z, g, o, r)    T( x, y, z, f, g, k, o, r)    U( x, y, z, t, f, g, k, n, o, r)    F( x, y, z, t, f, g, k, n, o, r)    G( x, y, z, t, f, g, k, n, o, r)    H( x, y, z, t, f, g, k, n, o, r)    J( x, y, z, g, k, o, r)    M( x, y, z, t, f, g, k, n, o, r)    N( x, y, z, g, o, r)    O( x, y, z, f, g, k, o, r)

Proof of Theorem eulerpartlemgu
StepHypRef Expression
1 eulerpartlemgh.1 . 2  |-  U  = 
U_ t  e.  ( ( `' A " NN )  i^i  J ) ( { t }  X.  (bits `  ( A `  t )
) )
2 eqid 2450 . . . 4  |-  U_ t  e.  ( ( `' A " NN )  i^i  J
) ( { t }  X.  ( (bits 
o.  A ) `  t ) )  = 
U_ t  e.  ( ( `' A " NN )  i^i  J ) ( { t }  X.  ( (bits  o.  A ) `  t
) )
32marypha2lem2 7947 . . 3  |-  U_ t  e.  ( ( `' A " NN )  i^i  J
) ( { t }  X.  ( (bits 
o.  A ) `  t ) )  =  { <. t ,  n >.  |  ( t  e.  ( ( `' A " NN )  i^i  J
)  /\  n  e.  ( (bits  o.  A
) `  t )
) }
4 eulerpart.p . . . . . . . . . . 11  |-  P  =  { f  e.  ( NN0  ^m  NN )  |  ( ( `' f " NN )  e.  Fin  /\  sum_ k  e.  NN  (
( f `  k
)  x.  k )  =  N ) }
5 eulerpart.o . . . . . . . . . . 11  |-  O  =  { g  e.  P  |  A. n  e.  ( `' g " NN )  -.  2  ||  n }
6 eulerpart.d . . . . . . . . . . 11  |-  D  =  { g  e.  P  |  A. n  e.  NN  ( g `  n
)  <_  1 }
7 eulerpart.j . . . . . . . . . . 11  |-  J  =  { z  e.  NN  |  -.  2  ||  z }
8 eulerpart.f . . . . . . . . . . 11  |-  F  =  ( x  e.  J ,  y  e.  NN0  |->  ( ( 2 ^ y )  x.  x
) )
9 eulerpart.h . . . . . . . . . . 11  |-  H  =  { r  e.  ( ( ~P NN0  i^i  Fin )  ^m  J )  |  ( r supp  (/) )  e. 
Fin }
10 eulerpart.m . . . . . . . . . . 11  |-  M  =  ( r  e.  H  |->  { <. x ,  y
>.  |  ( x  e.  J  /\  y  e.  ( r `  x
) ) } )
11 eulerpart.r . . . . . . . . . . 11  |-  R  =  { f  |  ( `' f " NN )  e.  Fin }
12 eulerpart.t . . . . . . . . . . 11  |-  T  =  { f  e.  ( NN0  ^m  NN )  |  ( `' f
" NN )  C_  J }
134, 5, 6, 7, 8, 9, 10, 11, 12eulerpartlemt0 29195 . . . . . . . . . 10  |-  ( A  e.  ( T  i^i  R )  <->  ( A  e.  ( NN0  ^m  NN )  /\  ( `' A " NN )  e.  Fin  /\  ( `' A " NN )  C_  J ) )
1413simp1bi 1022 . . . . . . . . 9  |-  ( A  e.  ( T  i^i  R )  ->  A  e.  ( NN0  ^m  NN ) )
15 elmapi 7490 . . . . . . . . 9  |-  ( A  e.  ( NN0  ^m  NN )  ->  A : NN
--> NN0 )
1614, 15syl 17 . . . . . . . 8  |-  ( A  e.  ( T  i^i  R )  ->  A : NN
--> NN0 )
1716adantr 467 . . . . . . 7  |-  ( ( A  e.  ( T  i^i  R )  /\  t  e.  ( ( `' A " NN )  i^i  J ) )  ->  A : NN --> NN0 )
18 ffun 5729 . . . . . . 7  |-  ( A : NN --> NN0  ->  Fun 
A )
1917, 18syl 17 . . . . . 6  |-  ( ( A  e.  ( T  i^i  R )  /\  t  e.  ( ( `' A " NN )  i^i  J ) )  ->  Fun  A )
20 inss1 3651 . . . . . . . . 9  |-  ( ( `' A " NN )  i^i  J )  C_  ( `' A " NN )
21 cnvimass 5187 . . . . . . . . . 10  |-  ( `' A " NN ) 
C_  dom  A
22 fdm 5731 . . . . . . . . . . 11  |-  ( A : NN --> NN0  ->  dom 
A  =  NN )
2316, 22syl 17 . . . . . . . . . 10  |-  ( A  e.  ( T  i^i  R )  ->  dom  A  =  NN )
2421, 23syl5sseq 3479 . . . . . . . . 9  |-  ( A  e.  ( T  i^i  R )  ->  ( `' A " NN )  C_  NN )
2520, 24syl5ss 3442 . . . . . . . 8  |-  ( A  e.  ( T  i^i  R )  ->  ( ( `' A " NN )  i^i  J )  C_  NN )
2625sselda 3431 . . . . . . 7  |-  ( ( A  e.  ( T  i^i  R )  /\  t  e.  ( ( `' A " NN )  i^i  J ) )  ->  t  e.  NN )
2723eleq2d 2513 . . . . . . . 8  |-  ( A  e.  ( T  i^i  R )  ->  ( t  e.  dom  A  <->  t  e.  NN ) )
2827adantr 467 . . . . . . 7  |-  ( ( A  e.  ( T  i^i  R )  /\  t  e.  ( ( `' A " NN )  i^i  J ) )  ->  ( t  e. 
dom  A  <->  t  e.  NN ) )
2926, 28mpbird 236 . . . . . 6  |-  ( ( A  e.  ( T  i^i  R )  /\  t  e.  ( ( `' A " NN )  i^i  J ) )  ->  t  e.  dom  A )
30 fvco 5939 . . . . . 6  |-  ( ( Fun  A  /\  t  e.  dom  A )  -> 
( (bits  o.  A
) `  t )  =  (bits `  ( A `  t ) ) )
3119, 29, 30syl2anc 666 . . . . 5  |-  ( ( A  e.  ( T  i^i  R )  /\  t  e.  ( ( `' A " NN )  i^i  J ) )  ->  ( (bits  o.  A ) `  t
)  =  (bits `  ( A `  t ) ) )
3231xpeq2d 4857 . . . 4  |-  ( ( A  e.  ( T  i^i  R )  /\  t  e.  ( ( `' A " NN )  i^i  J ) )  ->  ( { t }  X.  ( (bits 
o.  A ) `  t ) )  =  ( { t }  X.  (bits `  ( A `  t )
) ) )
3332iuneq2dv 4299 . . 3  |-  ( A  e.  ( T  i^i  R )  ->  U_ t  e.  ( ( `' A " NN )  i^i  J
) ( { t }  X.  ( (bits 
o.  A ) `  t ) )  = 
U_ t  e.  ( ( `' A " NN )  i^i  J ) ( { t }  X.  (bits `  ( A `  t )
) ) )
343, 33syl5reqr 2499 . 2  |-  ( A  e.  ( T  i^i  R )  ->  U_ t  e.  ( ( `' A " NN )  i^i  J
) ( { t }  X.  (bits `  ( A `  t ) ) )  =  { <. t ,  n >.  |  ( t  e.  ( ( `' A " NN )  i^i  J )  /\  n  e.  ( (bits  o.  A ) `
 t ) ) } )
351, 34syl5eq 2496 1  |-  ( A  e.  ( T  i^i  R )  ->  U  =  { <. t ,  n >.  |  ( t  e.  ( ( `' A " NN )  i^i  J
)  /\  n  e.  ( (bits  o.  A
) `  t )
) } )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 188    /\ wa 371    = wceq 1443    e. wcel 1886   {cab 2436   A.wral 2736   {crab 2740    i^i cin 3402    C_ wss 3403   (/)c0 3730   ~Pcpw 3950   {csn 3967   U_ciun 4277   class class class wbr 4401   {copab 4459    |-> cmpt 4460    X. cxp 4831   `'ccnv 4832   dom cdm 4833    |` cres 4835   "cima 4836    o. ccom 4837   Fun wfun 5575   -->wf 5577   ` cfv 5581  (class class class)co 6288    |-> cmpt2 6290   supp csupp 6911    ^m cmap 7469   Fincfn 7566   1c1 9537    x. cmul 9541    <_ cle 9673   NNcn 10606   2c2 10656   NN0cn0 10866   ^cexp 12269   sum_csu 13745    || cdvds 14298  bitscbits 14385  𝟭cind 28825
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1668  ax-4 1681  ax-5 1757  ax-6 1804  ax-7 1850  ax-8 1888  ax-9 1895  ax-10 1914  ax-11 1919  ax-12 1932  ax-13 2090  ax-ext 2430  ax-sep 4524  ax-nul 4533  ax-pow 4580  ax-pr 4638  ax-un 6580
This theorem depends on definitions:  df-bi 189  df-or 372  df-an 373  df-3an 986  df-tru 1446  df-ex 1663  df-nf 1667  df-sb 1797  df-eu 2302  df-mo 2303  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2580  df-ne 2623  df-ral 2741  df-rex 2742  df-rab 2745  df-v 3046  df-sbc 3267  df-csb 3363  df-dif 3406  df-un 3408  df-in 3410  df-ss 3417  df-nul 3731  df-if 3881  df-pw 3952  df-sn 3968  df-pr 3970  df-op 3974  df-uni 4198  df-iun 4279  df-br 4402  df-opab 4461  df-mpt 4462  df-id 4748  df-xp 4839  df-rel 4840  df-cnv 4841  df-co 4842  df-dm 4843  df-rn 4844  df-res 4845  df-ima 4846  df-iota 5545  df-fun 5583  df-fn 5584  df-f 5585  df-fv 5589  df-ov 6291  df-oprab 6292  df-mpt2 6293  df-1st 6790  df-2nd 6791  df-map 7471
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator