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

Theorem ostthlem2 20773
Description: Lemma for ostth 20784. Refine ostthlem1 20772 so that it is sufficient to only show equality on the primes. (Contributed by Mario Carneiro, 9-Sep-2014.) (Revised by Mario Carneiro, 20-Jun-2015.)
Hypotheses
Ref Expression
qrng.q  |-  Q  =  (flds  QQ )
qabsabv.a  |-  A  =  (AbsVal `  Q )
ostthlem1.1  |-  ( ph  ->  F  e.  A )
ostthlem1.2  |-  ( ph  ->  G  e.  A )
ostthlem2.3  |-  ( (
ph  /\  p  e.  Prime )  ->  ( F `  p )  =  ( G `  p ) )
Assertion
Ref Expression
ostthlem2  |-  ( ph  ->  F  =  G )
Distinct variable groups:    G, p    ph, p    A, p    F, p
Dummy variables  n  y  z are mutually distinct and distinct from all other variables.
Allowed substitution group:    Q( p)

Proof of Theorem ostthlem2
StepHypRef Expression
1 qrng.q . 2  |-  Q  =  (flds  QQ )
2 qabsabv.a . 2  |-  A  =  (AbsVal `  Q )
3 ostthlem1.1 . 2  |-  ( ph  ->  F  e.  A )
4 ostthlem1.2 . 2  |-  ( ph  ->  G  e.  A )
5 eluz2b2 10287 . . . 4  |-  ( n  e.  ( ZZ>= `  2
)  <->  ( n  e.  NN  /\  1  < 
n ) )
65simplbi 448 . . 3  |-  ( n  e.  ( ZZ>= `  2
)  ->  n  e.  NN )
7 fveq2 5487 . . . . . . 7  |-  ( p  =  1  ->  ( F `  p )  =  ( F ` 
1 ) )
8 fveq2 5487 . . . . . . 7  |-  ( p  =  1  ->  ( G `  p )  =  ( G ` 
1 ) )
97, 8eqeq12d 2300 . . . . . 6  |-  ( p  =  1  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  1 )  =  ( G `  1
) ) )
109imbi2d 309 . . . . 5  |-  ( p  =  1  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  1
)  =  ( G `
 1 ) ) ) )
11 fveq2 5487 . . . . . . 7  |-  ( p  =  y  ->  ( F `  p )  =  ( F `  y ) )
12 fveq2 5487 . . . . . . 7  |-  ( p  =  y  ->  ( G `  p )  =  ( G `  y ) )
1311, 12eqeq12d 2300 . . . . . 6  |-  ( p  =  y  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  y )  =  ( G `  y ) ) )
1413imbi2d 309 . . . . 5  |-  ( p  =  y  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  y
)  =  ( G `
 y ) ) ) )
15 fveq2 5487 . . . . . . 7  |-  ( p  =  z  ->  ( F `  p )  =  ( F `  z ) )
16 fveq2 5487 . . . . . . 7  |-  ( p  =  z  ->  ( G `  p )  =  ( G `  z ) )
1715, 16eqeq12d 2300 . . . . . 6  |-  ( p  =  z  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  z )  =  ( G `  z ) ) )
1817imbi2d 309 . . . . 5  |-  ( p  =  z  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  z
)  =  ( G `
 z ) ) ) )
19 fveq2 5487 . . . . . . 7  |-  ( p  =  ( y  x.  z )  ->  ( F `  p )  =  ( F `  ( y  x.  z
) ) )
20 fveq2 5487 . . . . . . 7  |-  ( p  =  ( y  x.  z )  ->  ( G `  p )  =  ( G `  ( y  x.  z
) ) )
2119, 20eqeq12d 2300 . . . . . 6  |-  ( p  =  ( y  x.  z )  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  ( y  x.  z
) )  =  ( G `  ( y  x.  z ) ) ) )
2221imbi2d 309 . . . . 5  |-  ( p  =  ( y  x.  z )  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  (
y  x.  z ) )  =  ( G `
 ( y  x.  z ) ) ) ) )
23 fveq2 5487 . . . . . . 7  |-  ( p  =  n  ->  ( F `  p )  =  ( F `  n ) )
24 fveq2 5487 . . . . . . 7  |-  ( p  =  n  ->  ( G `  p )  =  ( G `  n ) )
2523, 24eqeq12d 2300 . . . . . 6  |-  ( p  =  n  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  n )  =  ( G `  n ) ) )
2625imbi2d 309 . . . . 5  |-  ( p  =  n  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  n
)  =  ( G `
 n ) ) ) )
27 ax-1ne0 8803 . . . . . . 7  |-  1  =/=  0
281qrng1 20767 . . . . . . . 8  |-  1  =  ( 1r `  Q )
291qrng0 20766 . . . . . . . 8  |-  0  =  ( 0g `  Q )
302, 28, 29abv1z 15593 . . . . . . 7  |-  ( ( F  e.  A  /\  1  =/=  0 )  -> 
( F `  1
)  =  1 )
313, 27, 30sylancl 645 . . . . . 6  |-  ( ph  ->  ( F `  1
)  =  1 )
322, 28, 29abv1z 15593 . . . . . . 7  |-  ( ( G  e.  A  /\  1  =/=  0 )  -> 
( G `  1
)  =  1 )
334, 27, 32sylancl 645 . . . . . 6  |-  ( ph  ->  ( G `  1
)  =  1 )
3431, 33eqtr4d 2321 . . . . 5  |-  ( ph  ->  ( F `  1
)  =  ( G `
 1 ) )
35 ostthlem2.3 . . . . . 6  |-  ( (
ph  /\  p  e.  Prime )  ->  ( F `  p )  =  ( G `  p ) )
3635expcom 426 . . . . 5  |-  ( p  e.  Prime  ->  ( ph  ->  ( F `  p
)  =  ( G `
 p ) ) )
37 jcab 835 . . . . . 6  |-  ( (
ph  ->  ( ( F `
 y )  =  ( G `  y
)  /\  ( F `  z )  =  ( G `  z ) ) )  <->  ( ( ph  ->  ( F `  y )  =  ( G `  y ) )  /\  ( ph  ->  ( F `  z
)  =  ( G `
 z ) ) ) )
38 oveq12 5830 . . . . . . . . 9  |-  ( ( ( F `  y
)  =  ( G `
 y )  /\  ( F `  z )  =  ( G `  z ) )  -> 
( ( F `  y )  x.  ( F `  z )
)  =  ( ( G `  y )  x.  ( G `  z ) ) )
393adantr 453 . . . . . . . . . . 11  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  F  e.  A )
40 eluzelz 10235 . . . . . . . . . . . . 13  |-  ( y  e.  ( ZZ>= `  2
)  ->  y  e.  ZZ )
4140ad2antrl 710 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  y  e.  ZZ )
42 zq 10319 . . . . . . . . . . . 12  |-  ( y  e.  ZZ  ->  y  e.  QQ )
4341, 42syl 17 . . . . . . . . . . 11  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  y  e.  QQ )
44 eluzelz 10235 . . . . . . . . . . . . 13  |-  ( z  e.  ( ZZ>= `  2
)  ->  z  e.  ZZ )
4544ad2antll 711 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  z  e.  ZZ )
46 zq 10319 . . . . . . . . . . . 12  |-  ( z  e.  ZZ  ->  z  e.  QQ )
4745, 46syl 17 . . . . . . . . . . 11  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  z  e.  QQ )
481qrngbas 20764 . . . . . . . . . . . 12  |-  QQ  =  ( Base `  Q )
49 qex 10325 . . . . . . . . . . . . 13  |-  QQ  e.  _V
50 cnfldmul 16381 . . . . . . . . . . . . . 14  |-  x.  =  ( .r ` fld )
511, 50ressmulr 13257 . . . . . . . . . . . . 13  |-  ( QQ  e.  _V  ->  x.  =  ( .r `  Q ) )
5249, 51ax-mp 10 . . . . . . . . . . . 12  |-  x.  =  ( .r `  Q )
532, 48, 52abvmul 15590 . . . . . . . . . . 11  |-  ( ( F  e.  A  /\  y  e.  QQ  /\  z  e.  QQ )  ->  ( F `  ( y  x.  z ) )  =  ( ( F `  y )  x.  ( F `  z )
) )
5439, 43, 47, 53syl3anc 1184 . . . . . . . . . 10  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  ( F `  ( y  x.  z
) )  =  ( ( F `  y
)  x.  ( F `
 z ) ) )
554adantr 453 . . . . . . . . . . 11  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  G  e.  A )
562, 48, 52abvmul 15590 . . . . . . . . . . 11  |-  ( ( G  e.  A  /\  y  e.  QQ  /\  z  e.  QQ )  ->  ( G `  ( y  x.  z ) )  =  ( ( G `  y )  x.  ( G `  z )
) )
5755, 43, 47, 56syl3anc 1184 . . . . . . . . . 10  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  ( G `  ( y  x.  z
) )  =  ( ( G `  y
)  x.  ( G `
 z ) ) )
5854, 57eqeq12d 2300 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  ( ( F `  ( y  x.  z ) )  =  ( G `  (
y  x.  z ) )  <->  ( ( F `
 y )  x.  ( F `  z
) )  =  ( ( G `  y
)  x.  ( G `
 z ) ) ) )
5938, 58syl5ibr 214 . . . . . . . 8  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  ( (
( F `  y
)  =  ( G `
 y )  /\  ( F `  z )  =  ( G `  z ) )  -> 
( F `  (
y  x.  z ) )  =  ( G `
 ( y  x.  z ) ) ) )
6059expcom 426 . . . . . . 7  |-  ( ( y  e.  ( ZZ>= ` 
2 )  /\  z  e.  ( ZZ>= `  2 )
)  ->  ( ph  ->  ( ( ( F `
 y )  =  ( G `  y
)  /\  ( F `  z )  =  ( G `  z ) )  ->  ( F `  ( y  x.  z
) )  =  ( G `  ( y  x.  z ) ) ) ) )
6160a2d 25 . . . . . 6  |-  ( ( y  e.  ( ZZ>= ` 
2 )  /\  z  e.  ( ZZ>= `  2 )
)  ->  ( ( ph  ->  ( ( F `
 y )  =  ( G `  y
)  /\  ( F `  z )  =  ( G `  z ) ) )  ->  ( ph  ->  ( F `  ( y  x.  z
) )  =  ( G `  ( y  x.  z ) ) ) ) )
6237, 61syl5bir 211 . . . . 5  |-  ( ( y  e.  ( ZZ>= ` 
2 )  /\  z  e.  ( ZZ>= `  2 )
)  ->  ( (
( ph  ->  ( F `
 y )  =  ( G `  y
) )  /\  ( ph  ->  ( F `  z )  =  ( G `  z ) ) )  ->  ( ph  ->  ( F `  ( y  x.  z
) )  =  ( G `  ( y  x.  z ) ) ) ) )
6310, 14, 18, 22, 26, 34, 36, 62prmind 12766 . . . 4  |-  ( n  e.  NN  ->  ( ph  ->  ( F `  n )  =  ( G `  n ) ) )
6463impcom 421 . . 3  |-  ( (
ph  /\  n  e.  NN )  ->  ( F `
 n )  =  ( G `  n
) )
656, 64sylan2 462 . 2  |-  ( (
ph  /\  n  e.  ( ZZ>= `  2 )
)  ->  ( F `  n )  =  ( G `  n ) )
661, 2, 3, 4, 65ostthlem1 20772 1  |-  ( ph  ->  F  =  G )
Colors of variables: wff set class
Syntax hints:    -> wi 6    /\ wa 360    = wceq 1625    e. wcel 1687    =/= wne 2449   _Vcvv 2791   class class class wbr 4026   ` cfv 5223  (class class class)co 5821   0cc0 8734   1c1 8735    x. cmul 8739    < clt 8864   NNcn 9743   2c2 9792   ZZcz 10021   ZZ>=cuz 10227   QQcq 10313   Primecprime 12754   ↾s cress 13145   .rcmulr 13205  AbsValcabv 15577  ℂfldccnfld 16373
This theorem is referenced by:  ostth1  20778  ostth3  20783
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1535  ax-5 1546  ax-17 1605  ax-9 1638  ax-8 1646  ax-13 1689  ax-14 1691  ax-6 1706  ax-7 1711  ax-11 1718  ax-12 1870  ax-ext 2267  ax-rep 4134  ax-sep 4144  ax-nul 4152  ax-pow 4189  ax-pr 4215  ax-un 4513  ax-cnex 8790  ax-resscn 8791  ax-1cn 8792  ax-icn 8793  ax-addcl 8794  ax-addrcl 8795  ax-mulcl 8796  ax-mulrcl 8797  ax-mulcom 8798  ax-addass 8799  ax-mulass 8800  ax-distr 8801  ax-i2m1 8802  ax-1ne0 8803  ax-1rid 8804  ax-rnegex 8805  ax-rrecex 8806  ax-cnre 8807  ax-pre-lttri 8808  ax-pre-lttrn 8809  ax-pre-ltadd 8810  ax-pre-mulgt0 8811  ax-addf 8813  ax-mulf 8814
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 937  df-3an 938  df-tru 1312  df-ex 1531  df-nf 1534  df-sb 1633  df-eu 2150  df-mo 2151  df-clab 2273  df-cleq 2279  df-clel 2282  df-nfc 2411  df-ne 2451  df-nel 2452  df-ral 2551  df-rex 2552  df-reu 2553  df-rmo 2554  df-rab 2555  df-v 2793  df-sbc 2995  df-csb 3085  df-dif 3158  df-un 3160  df-in 3162  df-ss 3169  df-pss 3171  df-nul 3459  df-if 3569  df-pw 3630  df-sn 3649  df-pr 3650  df-tp 3651  df-op 3652  df-uni 3831  df-int 3866  df-iun 3910  df-br 4027  df-opab 4081  df-mpt 4082  df-tr 4117  df-eprel 4306  df-id 4310  df-po 4315  df-so 4316  df-fr 4353  df-we 4355  df-ord 4396  df-on 4397  df-lim 4398  df-suc 4399  df-om 4658  df-xp 4696  df-rel 4697  df-cnv 4698  df-co 4699  df-dm 4700  df-rn 4701  df-res 4702  df-ima 4703  df-fun 5225  df-fn 5226  df-f 5227  df-f1 5228  df-fo 5229  df-f1o 5230  df-fv 5231  df-ov 5824  df-oprab 5825  df-mpt2 5826  df-1st 6085  df-2nd 6086  df-tpos 6197  df-iota 6254  df-riota 6301  df-recs 6385  df-rdg 6420  df-1o 6476  df-2o 6477  df-oadd 6480  df-er 6657  df-map 6771  df-en 6861  df-dom 6862  df-sdom 6863  df-fin 6864  df-pnf 8866  df-mnf 8867  df-xr 8868  df-ltxr 8869  df-le 8870  df-sub 9036  df-neg 9037  df-div 9421  df-nn 9744  df-2 9801  df-3 9802  df-4 9803  df-5 9804  df-6 9805  df-7 9806  df-8 9807  df-9 9808  df-10 9809  df-n0 9963  df-z 10022  df-dec 10122  df-uz 10228  df-q 10314  df-rp 10352  df-ico 10658  df-fz 10779  df-seq 11043  df-exp 11101  df-dvds 12528  df-prm 12755  df-struct 13146  df-ndx 13147  df-slot 13148  df-base 13149  df-sets 13150  df-ress 13151  df-plusg 13217  df-mulr 13218  df-starv 13219  df-tset 13223  df-ple 13224  df-ds 13226  df-0g 13400  df-mnd 14363  df-grp 14485  df-minusg 14486  df-subg 14614  df-cmn 15087  df-mgp 15322  df-rng 15336  df-cring 15337  df-ur 15338  df-oppr 15401  df-dvdsr 15419  df-unit 15420  df-invr 15450  df-dvr 15461  df-drng 15510  df-subrg 15539  df-abv 15578  df-cnfld 16374
  Copyright terms: Public domain W3C validator