Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  prodmolem3 Structured version   Unicode version

Theorem prodmolem3 28983
Description: Lemma for prodmo 28986. (Contributed by Scott Fenton, 4-Dec-2017.)
Hypotheses
Ref Expression
prodmo.1  |-  F  =  ( k  e.  ZZ  |->  if ( k  e.  A ,  B ,  1 ) )
prodmo.2  |-  ( (
ph  /\  k  e.  A )  ->  B  e.  CC )
prodmo.3  |-  G  =  ( j  e.  NN  |->  [_ ( f `  j
)  /  k ]_ B )
prodmolem3.4  |-  H  =  ( j  e.  NN  |->  [_ ( K `  j
)  /  k ]_ B )
prodmolem3.5  |-  ( ph  ->  ( M  e.  NN  /\  N  e.  NN ) )
prodmolem3.6  |-  ( ph  ->  f : ( 1 ... M ) -1-1-onto-> A )
prodmolem3.7  |-  ( ph  ->  K : ( 1 ... N ) -1-1-onto-> A )
Assertion
Ref Expression
prodmolem3  |-  ( ph  ->  (  seq 1 (  x.  ,  G ) `
 M )  =  (  seq 1 (  x.  ,  H ) `
 N ) )
Distinct variable groups:    A, k    k, F    ph, k    B, j   
f, j, k    j, G    j, k, ph    j, K   
j, M
Allowed substitution hints:    ph( f)    A( f, j)    B( f, k)    F( f, j)    G( f, k)    H( f, j, k)    K( f, k)    M( f, k)    N( f, j, k)

Proof of Theorem prodmolem3
Dummy variables  i  m  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mulcl 9588 . . . 4  |-  ( ( m  e.  CC  /\  j  e.  CC )  ->  ( m  x.  j
)  e.  CC )
21adantl 466 . . 3  |-  ( (
ph  /\  ( m  e.  CC  /\  j  e.  CC ) )  -> 
( m  x.  j
)  e.  CC )
3 mulcom 9590 . . . 4  |-  ( ( m  e.  CC  /\  j  e.  CC )  ->  ( m  x.  j
)  =  ( j  x.  m ) )
43adantl 466 . . 3  |-  ( (
ph  /\  ( m  e.  CC  /\  j  e.  CC ) )  -> 
( m  x.  j
)  =  ( j  x.  m ) )
5 mulass 9592 . . . 4  |-  ( ( m  e.  CC  /\  j  e.  CC  /\  z  e.  CC )  ->  (
( m  x.  j
)  x.  z )  =  ( m  x.  ( j  x.  z
) ) )
65adantl 466 . . 3  |-  ( (
ph  /\  ( m  e.  CC  /\  j  e.  CC  /\  z  e.  CC ) )  -> 
( ( m  x.  j )  x.  z
)  =  ( m  x.  ( j  x.  z ) ) )
7 prodmolem3.5 . . . . 5  |-  ( ph  ->  ( M  e.  NN  /\  N  e.  NN ) )
87simpld 459 . . . 4  |-  ( ph  ->  M  e.  NN )
9 nnuz 11129 . . . 4  |-  NN  =  ( ZZ>= `  1 )
108, 9syl6eleq 2565 . . 3  |-  ( ph  ->  M  e.  ( ZZ>= ` 
1 ) )
11 ssid 3528 . . . 4  |-  CC  C_  CC
1211a1i 11 . . 3  |-  ( ph  ->  CC  C_  CC )
13 prodmolem3.6 . . . . . 6  |-  ( ph  ->  f : ( 1 ... M ) -1-1-onto-> A )
14 f1ocnv 5834 . . . . . 6  |-  ( f : ( 1 ... M ) -1-1-onto-> A  ->  `' f : A -1-1-onto-> ( 1 ... M
) )
1513, 14syl 16 . . . . 5  |-  ( ph  ->  `' f : A -1-1-onto-> (
1 ... M ) )
16 prodmolem3.7 . . . . 5  |-  ( ph  ->  K : ( 1 ... N ) -1-1-onto-> A )
17 f1oco 5844 . . . . 5  |-  ( ( `' f : A -1-1-onto-> (
1 ... M )  /\  K : ( 1 ... N ) -1-1-onto-> A )  ->  ( `' f  o.  K
) : ( 1 ... N ) -1-1-onto-> ( 1 ... M ) )
1815, 16, 17syl2anc 661 . . . 4  |-  ( ph  ->  ( `' f  o.  K ) : ( 1 ... N ) -1-1-onto-> ( 1 ... M ) )
19 ovex 6320 . . . . . . . . . 10  |-  ( 1 ... N )  e. 
_V
2019f1oen 7548 . . . . . . . . 9  |-  ( ( `' f  o.  K
) : ( 1 ... N ) -1-1-onto-> ( 1 ... M )  -> 
( 1 ... N
)  ~~  ( 1 ... M ) )
2118, 20syl 16 . . . . . . . 8  |-  ( ph  ->  ( 1 ... N
)  ~~  ( 1 ... M ) )
22 fzfi 12062 . . . . . . . . 9  |-  ( 1 ... N )  e. 
Fin
23 fzfi 12062 . . . . . . . . 9  |-  ( 1 ... M )  e. 
Fin
24 hashen 12400 . . . . . . . . 9  |-  ( ( ( 1 ... N
)  e.  Fin  /\  ( 1 ... M
)  e.  Fin )  ->  ( ( # `  (
1 ... N ) )  =  ( # `  (
1 ... M ) )  <-> 
( 1 ... N
)  ~~  ( 1 ... M ) ) )
2522, 23, 24mp2an 672 . . . . . . . 8  |-  ( (
# `  ( 1 ... N ) )  =  ( # `  (
1 ... M ) )  <-> 
( 1 ... N
)  ~~  ( 1 ... M ) )
2621, 25sylibr 212 . . . . . . 7  |-  ( ph  ->  ( # `  (
1 ... N ) )  =  ( # `  (
1 ... M ) ) )
277simprd 463 . . . . . . . . 9  |-  ( ph  ->  N  e.  NN )
2827nnnn0d 10864 . . . . . . . 8  |-  ( ph  ->  N  e.  NN0 )
29 hashfz1 12399 . . . . . . . 8  |-  ( N  e.  NN0  ->  ( # `  ( 1 ... N
) )  =  N )
3028, 29syl 16 . . . . . . 7  |-  ( ph  ->  ( # `  (
1 ... N ) )  =  N )
318nnnn0d 10864 . . . . . . . 8  |-  ( ph  ->  M  e.  NN0 )
32 hashfz1 12399 . . . . . . . 8  |-  ( M  e.  NN0  ->  ( # `  ( 1 ... M
) )  =  M )
3331, 32syl 16 . . . . . . 7  |-  ( ph  ->  ( # `  (
1 ... M ) )  =  M )
3426, 30, 333eqtr3rd 2517 . . . . . 6  |-  ( ph  ->  M  =  N )
3534oveq2d 6311 . . . . 5  |-  ( ph  ->  ( 1 ... M
)  =  ( 1 ... N ) )
36 f1oeq2 5814 . . . . 5  |-  ( ( 1 ... M )  =  ( 1 ... N )  ->  (
( `' f  o.  K ) : ( 1 ... M ) -1-1-onto-> ( 1 ... M )  <-> 
( `' f  o.  K ) : ( 1 ... N ) -1-1-onto-> ( 1 ... M ) ) )
3735, 36syl 16 . . . 4  |-  ( ph  ->  ( ( `' f  o.  K ) : ( 1 ... M
)
-1-1-onto-> ( 1 ... M
)  <->  ( `' f  o.  K ) : ( 1 ... N
)
-1-1-onto-> ( 1 ... M
) ) )
3818, 37mpbird 232 . . 3  |-  ( ph  ->  ( `' f  o.  K ) : ( 1 ... M ) -1-1-onto-> ( 1 ... M ) )
39 elfznn 11726 . . . . . 6  |-  ( m  e.  ( 1 ... M )  ->  m  e.  NN )
4039adantl 466 . . . . 5  |-  ( (
ph  /\  m  e.  ( 1 ... M
) )  ->  m  e.  NN )
41 f1of 5822 . . . . . . . 8  |-  ( f : ( 1 ... M ) -1-1-onto-> A  ->  f :
( 1 ... M
) --> A )
4213, 41syl 16 . . . . . . 7  |-  ( ph  ->  f : ( 1 ... M ) --> A )
4342ffvelrnda 6032 . . . . . 6  |-  ( (
ph  /\  m  e.  ( 1 ... M
) )  ->  (
f `  m )  e.  A )
44 prodmo.2 . . . . . . . 8  |-  ( (
ph  /\  k  e.  A )  ->  B  e.  CC )
4544ralrimiva 2881 . . . . . . 7  |-  ( ph  ->  A. k  e.  A  B  e.  CC )
4645adantr 465 . . . . . 6  |-  ( (
ph  /\  m  e.  ( 1 ... M
) )  ->  A. k  e.  A  B  e.  CC )
47 nfcsb1v 3456 . . . . . . . 8  |-  F/_ k [_ ( f `  m
)  /  k ]_ B
4847nfel1 2645 . . . . . . 7  |-  F/ k
[_ ( f `  m )  /  k ]_ B  e.  CC
49 csbeq1a 3449 . . . . . . . 8  |-  ( k  =  ( f `  m )  ->  B  =  [_ ( f `  m )  /  k ]_ B )
5049eleq1d 2536 . . . . . . 7  |-  ( k  =  ( f `  m )  ->  ( B  e.  CC  <->  [_ ( f `
 m )  / 
k ]_ B  e.  CC ) )
5148, 50rspc 3213 . . . . . 6  |-  ( ( f `  m )  e.  A  ->  ( A. k  e.  A  B  e.  CC  ->  [_ ( f `  m
)  /  k ]_ B  e.  CC )
)
5243, 46, 51sylc 60 . . . . 5  |-  ( (
ph  /\  m  e.  ( 1 ... M
) )  ->  [_ (
f `  m )  /  k ]_ B  e.  CC )
53 fveq2 5872 . . . . . . 7  |-  ( j  =  m  ->  (
f `  j )  =  ( f `  m ) )
5453csbeq1d 3447 . . . . . 6  |-  ( j  =  m  ->  [_ (
f `  j )  /  k ]_ B  =  [_ ( f `  m )  /  k ]_ B )
55 prodmo.3 . . . . . 6  |-  G  =  ( j  e.  NN  |->  [_ ( f `  j
)  /  k ]_ B )
5654, 55fvmptg 5955 . . . . 5  |-  ( ( m  e.  NN  /\  [_ ( f `  m
)  /  k ]_ B  e.  CC )  ->  ( G `  m
)  =  [_ (
f `  m )  /  k ]_ B
)
5740, 52, 56syl2anc 661 . . . 4  |-  ( (
ph  /\  m  e.  ( 1 ... M
) )  ->  ( G `  m )  =  [_ ( f `  m )  /  k ]_ B )
5857, 52eqeltrd 2555 . . 3  |-  ( (
ph  /\  m  e.  ( 1 ... M
) )  ->  ( G `  m )  e.  CC )
59 f1oeq2 5814 . . . . . . . . . . . 12  |-  ( ( 1 ... M )  =  ( 1 ... N )  ->  ( K : ( 1 ... M ) -1-1-onto-> A  <->  K : ( 1 ... N ) -1-1-onto-> A ) )
6035, 59syl 16 . . . . . . . . . . 11  |-  ( ph  ->  ( K : ( 1 ... M ) -1-1-onto-> A  <-> 
K : ( 1 ... N ) -1-1-onto-> A ) )
6116, 60mpbird 232 . . . . . . . . . 10  |-  ( ph  ->  K : ( 1 ... M ) -1-1-onto-> A )
62 f1of 5822 . . . . . . . . . 10  |-  ( K : ( 1 ... M ) -1-1-onto-> A  ->  K :
( 1 ... M
) --> A )
6361, 62syl 16 . . . . . . . . 9  |-  ( ph  ->  K : ( 1 ... M ) --> A )
64 fvco3 5951 . . . . . . . . 9  |-  ( ( K : ( 1 ... M ) --> A  /\  i  e.  ( 1 ... M ) )  ->  ( ( `' f  o.  K
) `  i )  =  ( `' f `
 ( K `  i ) ) )
6563, 64sylan 471 . . . . . . . 8  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  (
( `' f  o.  K ) `  i
)  =  ( `' f `  ( K `
 i ) ) )
6665fveq2d 5876 . . . . . . 7  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  (
f `  ( ( `' f  o.  K
) `  i )
)  =  ( f `
 ( `' f `
 ( K `  i ) ) ) )
6713adantr 465 . . . . . . . 8  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  f : ( 1 ... M ) -1-1-onto-> A )
6863ffvelrnda 6032 . . . . . . . 8  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  ( K `  i )  e.  A )
69 f1ocnvfv2 6182 . . . . . . . 8  |-  ( ( f : ( 1 ... M ) -1-1-onto-> A  /\  ( K `  i )  e.  A )  -> 
( f `  ( `' f `  ( K `  i )
) )  =  ( K `  i ) )
7067, 68, 69syl2anc 661 . . . . . . 7  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  (
f `  ( `' f `  ( K `  i ) ) )  =  ( K `  i ) )
7166, 70eqtrd 2508 . . . . . 6  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  (
f `  ( ( `' f  o.  K
) `  i )
)  =  ( K `
 i ) )
7271csbeq1d 3447 . . . . 5  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  [_ (
f `  ( ( `' f  o.  K
) `  i )
)  /  k ]_ B  =  [_ ( K `
 i )  / 
k ]_ B )
7372fveq2d 5876 . . . 4  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  (  _I  `  [_ ( f `
 ( ( `' f  o.  K ) `
 i ) )  /  k ]_ B
)  =  (  _I 
`  [_ ( K `  i )  /  k ]_ B ) )
74 f1of 5822 . . . . . . 7  |-  ( ( `' f  o.  K
) : ( 1 ... M ) -1-1-onto-> ( 1 ... M )  -> 
( `' f  o.  K ) : ( 1 ... M ) --> ( 1 ... M
) )
7538, 74syl 16 . . . . . 6  |-  ( ph  ->  ( `' f  o.  K ) : ( 1 ... M ) --> ( 1 ... M
) )
7675ffvelrnda 6032 . . . . 5  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  (
( `' f  o.  K ) `  i
)  e.  ( 1 ... M ) )
77 elfznn 11726 . . . . 5  |-  ( ( ( `' f  o.  K ) `  i
)  e.  ( 1 ... M )  -> 
( ( `' f  o.  K ) `  i )  e.  NN )
78 fveq2 5872 . . . . . . 7  |-  ( j  =  ( ( `' f  o.  K ) `
 i )  -> 
( f `  j
)  =  ( f `
 ( ( `' f  o.  K ) `
 i ) ) )
7978csbeq1d 3447 . . . . . 6  |-  ( j  =  ( ( `' f  o.  K ) `
 i )  ->  [_ ( f `  j
)  /  k ]_ B  =  [_ ( f `
 ( ( `' f  o.  K ) `
 i ) )  /  k ]_ B
)
8079, 55fvmpti 5956 . . . . 5  |-  ( ( ( `' f  o.  K ) `  i
)  e.  NN  ->  ( G `  ( ( `' f  o.  K
) `  i )
)  =  (  _I 
`  [_ ( f `  ( ( `' f  o.  K ) `  i ) )  / 
k ]_ B ) )
8176, 77, 803syl 20 . . . 4  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  ( G `  ( ( `' f  o.  K
) `  i )
)  =  (  _I 
`  [_ ( f `  ( ( `' f  o.  K ) `  i ) )  / 
k ]_ B ) )
82 elfznn 11726 . . . . . 6  |-  ( i  e.  ( 1 ... M )  ->  i  e.  NN )
8382adantl 466 . . . . 5  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  i  e.  NN )
84 fveq2 5872 . . . . . . 7  |-  ( j  =  i  ->  ( K `  j )  =  ( K `  i ) )
8584csbeq1d 3447 . . . . . 6  |-  ( j  =  i  ->  [_ ( K `  j )  /  k ]_ B  =  [_ ( K `  i )  /  k ]_ B )
86 prodmolem3.4 . . . . . 6  |-  H  =  ( j  e.  NN  |->  [_ ( K `  j
)  /  k ]_ B )
8785, 86fvmpti 5956 . . . . 5  |-  ( i  e.  NN  ->  ( H `  i )  =  (  _I  `  [_ ( K `  i )  /  k ]_ B
) )
8883, 87syl 16 . . . 4  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  ( H `  i )  =  (  _I  `  [_ ( K `  i )  /  k ]_ B
) )
8973, 81, 883eqtr4rd 2519 . . 3  |-  ( (
ph  /\  i  e.  ( 1 ... M
) )  ->  ( H `  i )  =  ( G `  ( ( `' f  o.  K ) `  i ) ) )
902, 4, 6, 10, 12, 38, 58, 89seqf1o 12128 . 2  |-  ( ph  ->  (  seq 1 (  x.  ,  H ) `
 M )  =  (  seq 1 (  x.  ,  G ) `
 M ) )
9134fveq2d 5876 . 2  |-  ( ph  ->  (  seq 1 (  x.  ,  H ) `
 M )  =  (  seq 1 (  x.  ,  H ) `
 N ) )
9290, 91eqtr3d 2510 1  |-  ( ph  ->  (  seq 1 (  x.  ,  G ) `
 M )  =  (  seq 1 (  x.  ,  H ) `
 N ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 973    = wceq 1379    e. wcel 1767   A.wral 2817   [_csb 3440    C_ wss 3481   ifcif 3945   class class class wbr 4453    |-> cmpt 4511    _I cid 4796   `'ccnv 5004    o. ccom 5009   -->wf 5590   -1-1-onto->wf1o 5593   ` cfv 5594  (class class class)co 6295    ~~ cen 7525   Fincfn 7528   CCcc 9502   1c1 9505    x. cmul 9509   NNcn 10548   NN0cn0 10807   ZZcz 10876   ZZ>=cuz 11094   ...cfz 11684    seqcseq 12087   #chash 12385
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4564  ax-sep 4574  ax-nul 4582  ax-pow 4631  ax-pr 4692  ax-un 6587  ax-cnex 9560  ax-resscn 9561  ax-1cn 9562  ax-icn 9563  ax-addcl 9564  ax-addrcl 9565  ax-mulcl 9566  ax-mulrcl 9567  ax-mulcom 9568  ax-addass 9569  ax-mulass 9570  ax-distr 9571  ax-i2m1 9572  ax-1ne0 9573  ax-1rid 9574  ax-rnegex 9575  ax-rrecex 9576  ax-cnre 9577  ax-pre-lttri 9578  ax-pre-lttrn 9579  ax-pre-ltadd 9580  ax-pre-mulgt0 9581
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-nel 2665  df-ral 2822  df-rex 2823  df-reu 2824  df-rab 2826  df-v 3120  df-sbc 3337  df-csb 3441  df-dif 3484  df-un 3486  df-in 3488  df-ss 3495  df-pss 3497  df-nul 3791  df-if 3946  df-pw 4018  df-sn 4034  df-pr 4036  df-tp 4038  df-op 4040  df-uni 4252  df-int 4289  df-iun 4333  df-br 4454  df-opab 4512  df-mpt 4513  df-tr 4547  df-eprel 4797  df-id 4801  df-po 4806  df-so 4807  df-fr 4844  df-we 4846  df-ord 4887  df-on 4888  df-lim 4889  df-suc 4890  df-xp 5011  df-rel 5012  df-cnv 5013  df-co 5014  df-dm 5015  df-rn 5016  df-res 5017  df-ima 5018  df-iota 5557  df-fun 5596  df-fn 5597  df-f 5598  df-f1 5599  df-fo 5600  df-f1o 5601  df-fv 5602  df-riota 6256  df-ov 6298  df-oprab 6299  df-mpt2 6300  df-om 6696  df-1st 6795  df-2nd 6796  df-recs 7054  df-rdg 7088  df-1o 7142  df-oadd 7146  df-er 7323  df-en 7529  df-dom 7530  df-sdom 7531  df-fin 7532  df-card 8332  df-pnf 9642  df-mnf 9643  df-xr 9644  df-ltxr 9645  df-le 9646  df-sub 9819  df-neg 9820  df-nn 10549  df-n0 10808  df-z 10877  df-uz 11095  df-fz 11685  df-fzo 11805  df-seq 12088  df-hash 12386
This theorem is referenced by:  prodmolem2a  28984  prodmo  28986
  Copyright terms: Public domain W3C validator