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

Theorem ostthlem2 20777
Description: Lemma for ostth 20788. Refine ostthlem1 20776 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
Allowed substitution hint:    Q( p)

Proof of Theorem ostthlem2
Dummy variables  n  y  z are mutually distinct and distinct from all other variables.
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 10290 . . . 4  |-  ( n  e.  ( ZZ>= `  2
)  <->  ( n  e.  NN  /\  1  < 
n ) )
65simplbi 446 . . 3  |-  ( n  e.  ( ZZ>= `  2
)  ->  n  e.  NN )
7 fveq2 5525 . . . . . . 7  |-  ( p  =  1  ->  ( F `  p )  =  ( F ` 
1 ) )
8 fveq2 5525 . . . . . . 7  |-  ( p  =  1  ->  ( G `  p )  =  ( G ` 
1 ) )
97, 8eqeq12d 2297 . . . . . 6  |-  ( p  =  1  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  1 )  =  ( G `  1
) ) )
109imbi2d 307 . . . . 5  |-  ( p  =  1  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  1
)  =  ( G `
 1 ) ) ) )
11 fveq2 5525 . . . . . . 7  |-  ( p  =  y  ->  ( F `  p )  =  ( F `  y ) )
12 fveq2 5525 . . . . . . 7  |-  ( p  =  y  ->  ( G `  p )  =  ( G `  y ) )
1311, 12eqeq12d 2297 . . . . . 6  |-  ( p  =  y  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  y )  =  ( G `  y ) ) )
1413imbi2d 307 . . . . 5  |-  ( p  =  y  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  y
)  =  ( G `
 y ) ) ) )
15 fveq2 5525 . . . . . . 7  |-  ( p  =  z  ->  ( F `  p )  =  ( F `  z ) )
16 fveq2 5525 . . . . . . 7  |-  ( p  =  z  ->  ( G `  p )  =  ( G `  z ) )
1715, 16eqeq12d 2297 . . . . . 6  |-  ( p  =  z  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  z )  =  ( G `  z ) ) )
1817imbi2d 307 . . . . 5  |-  ( p  =  z  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  z
)  =  ( G `
 z ) ) ) )
19 fveq2 5525 . . . . . . 7  |-  ( p  =  ( y  x.  z )  ->  ( F `  p )  =  ( F `  ( y  x.  z
) ) )
20 fveq2 5525 . . . . . . 7  |-  ( p  =  ( y  x.  z )  ->  ( G `  p )  =  ( G `  ( y  x.  z
) ) )
2119, 20eqeq12d 2297 . . . . . 6  |-  ( p  =  ( y  x.  z )  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  ( y  x.  z
) )  =  ( G `  ( y  x.  z ) ) ) )
2221imbi2d 307 . . . . 5  |-  ( p  =  ( y  x.  z )  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  (
y  x.  z ) )  =  ( G `
 ( y  x.  z ) ) ) ) )
23 fveq2 5525 . . . . . . 7  |-  ( p  =  n  ->  ( F `  p )  =  ( F `  n ) )
24 fveq2 5525 . . . . . . 7  |-  ( p  =  n  ->  ( G `  p )  =  ( G `  n ) )
2523, 24eqeq12d 2297 . . . . . 6  |-  ( p  =  n  ->  (
( F `  p
)  =  ( G `
 p )  <->  ( F `  n )  =  ( G `  n ) ) )
2625imbi2d 307 . . . . 5  |-  ( p  =  n  ->  (
( ph  ->  ( F `
 p )  =  ( G `  p
) )  <->  ( ph  ->  ( F `  n
)  =  ( G `
 n ) ) ) )
27 ax-1ne0 8806 . . . . . . 7  |-  1  =/=  0
281qrng1 20771 . . . . . . . 8  |-  1  =  ( 1r `  Q )
291qrng0 20770 . . . . . . . 8  |-  0  =  ( 0g `  Q )
302, 28, 29abv1z 15597 . . . . . . 7  |-  ( ( F  e.  A  /\  1  =/=  0 )  -> 
( F `  1
)  =  1 )
313, 27, 30sylancl 643 . . . . . 6  |-  ( ph  ->  ( F `  1
)  =  1 )
322, 28, 29abv1z 15597 . . . . . . 7  |-  ( ( G  e.  A  /\  1  =/=  0 )  -> 
( G `  1
)  =  1 )
334, 27, 32sylancl 643 . . . . . 6  |-  ( ph  ->  ( G `  1
)  =  1 )
3431, 33eqtr4d 2318 . . . . 5  |-  ( ph  ->  ( F `  1
)  =  ( G `
 1 ) )
35 ostthlem2.3 . . . . . 6  |-  ( (
ph  /\  p  e.  Prime )  ->  ( F `  p )  =  ( G `  p ) )
3635expcom 424 . . . . 5  |-  ( p  e.  Prime  ->  ( ph  ->  ( F `  p
)  =  ( G `
 p ) ) )
37 jcab 833 . . . . . 6  |-  ( (
ph  ->  ( ( F `
 y )  =  ( G `  y
)  /\  ( F `  z )  =  ( G `  z ) ) )  <->  ( ( ph  ->  ( F `  y )  =  ( G `  y ) )  /\  ( ph  ->  ( F `  z
)  =  ( G `
 z ) ) ) )
38 oveq12 5867 . . . . . . . . 9  |-  ( ( ( F `  y
)  =  ( G `
 y )  /\  ( F `  z )  =  ( G `  z ) )  -> 
( ( F `  y )  x.  ( F `  z )
)  =  ( ( G `  y )  x.  ( G `  z ) ) )
393adantr 451 . . . . . . . . . . 11  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  F  e.  A )
40 eluzelz 10238 . . . . . . . . . . . . 13  |-  ( y  e.  ( ZZ>= `  2
)  ->  y  e.  ZZ )
4140ad2antrl 708 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  y  e.  ZZ )
42 zq 10322 . . . . . . . . . . . 12  |-  ( y  e.  ZZ  ->  y  e.  QQ )
4341, 42syl 15 . . . . . . . . . . 11  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  y  e.  QQ )
44 eluzelz 10238 . . . . . . . . . . . . 13  |-  ( z  e.  ( ZZ>= `  2
)  ->  z  e.  ZZ )
4544ad2antll 709 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  z  e.  ZZ )
46 zq 10322 . . . . . . . . . . . 12  |-  ( z  e.  ZZ  ->  z  e.  QQ )
4745, 46syl 15 . . . . . . . . . . 11  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  z  e.  QQ )
481qrngbas 20768 . . . . . . . . . . . 12  |-  QQ  =  ( Base `  Q )
49 qex 10328 . . . . . . . . . . . . 13  |-  QQ  e.  _V
50 cnfldmul 16385 . . . . . . . . . . . . . 14  |-  x.  =  ( .r ` fld )
511, 50ressmulr 13261 . . . . . . . . . . . . 13  |-  ( QQ  e.  _V  ->  x.  =  ( .r `  Q ) )
5249, 51ax-mp 8 . . . . . . . . . . . 12  |-  x.  =  ( .r `  Q )
532, 48, 52abvmul 15594 . . . . . . . . . . 11  |-  ( ( F  e.  A  /\  y  e.  QQ  /\  z  e.  QQ )  ->  ( F `  ( y  x.  z ) )  =  ( ( F `  y )  x.  ( F `  z )
) )
5439, 43, 47, 53syl3anc 1182 . . . . . . . . . 10  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  ( F `  ( y  x.  z
) )  =  ( ( F `  y
)  x.  ( F `
 z ) ) )
554adantr 451 . . . . . . . . . . 11  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  G  e.  A )
562, 48, 52abvmul 15594 . . . . . . . . . . 11  |-  ( ( G  e.  A  /\  y  e.  QQ  /\  z  e.  QQ )  ->  ( G `  ( y  x.  z ) )  =  ( ( G `  y )  x.  ( G `  z )
) )
5755, 43, 47, 56syl3anc 1182 . . . . . . . . . 10  |-  ( (
ph  /\  ( y  e.  ( ZZ>= `  2 )  /\  z  e.  ( ZZ>=
`  2 ) ) )  ->  ( G `  ( y  x.  z
) )  =  ( ( G `  y
)  x.  ( G `
 z ) ) )
5854, 57eqeq12d 2297 . . . . . . . . 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 212 . . . . . . . 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 424 . . . . . . 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 23 . . . . . 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 209 . . . . 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 12770 . . . 4  |-  ( n  e.  NN  ->  ( ph  ->  ( F `  n )  =  ( G `  n ) ) )
6463impcom 419 . . 3  |-  ( (
ph  /\  n  e.  NN )  ->  ( F `
 n )  =  ( G `  n
) )
656, 64sylan2 460 . 2  |-  ( (
ph  /\  n  e.  ( ZZ>= `  2 )
)  ->  ( F `  n )  =  ( G `  n ) )
661, 2, 3, 4, 65ostthlem1 20776 1  |-  ( ph  ->  F  =  G )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1623    e. wcel 1684    =/= wne 2446   _Vcvv 2788   class class class wbr 4023   ` cfv 5255  (class class class)co 5858   0cc0 8737   1c1 8738    x. cmul 8742    < clt 8867   NNcn 9746   2c2 9795   ZZcz 10024   ZZ>=cuz 10230   QQcq 10316   Primecprime 12758   ↾s cress 13149   .rcmulr 13209  AbsValcabv 15581  ℂfldccnfld 16377
This theorem is referenced by:  ostth1  20782  ostth3  20787
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-addf 8816  ax-mulf 8817
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-tpos 6234  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-2o 6480  df-oadd 6483  df-er 6660  df-map 6774  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-4 9806  df-5 9807  df-6 9808  df-7 9809  df-8 9810  df-9 9811  df-10 9812  df-n0 9966  df-z 10025  df-dec 10125  df-uz 10231  df-q 10317  df-rp 10355  df-ico 10662  df-fz 10783  df-seq 11047  df-exp 11105  df-dvds 12532  df-prm 12759  df-struct 13150  df-ndx 13151  df-slot 13152  df-base 13153  df-sets 13154  df-ress 13155  df-plusg 13221  df-mulr 13222  df-starv 13223  df-tset 13227  df-ple 13228  df-ds 13230  df-0g 13404  df-mnd 14367  df-grp 14489  df-minusg 14490  df-subg 14618  df-cmn 15091  df-mgp 15326  df-rng 15340  df-cring 15341  df-ur 15342  df-oppr 15405  df-dvdsr 15423  df-unit 15424  df-invr 15454  df-dvr 15465  df-drng 15514  df-subrg 15543  df-abv 15582  df-cnfld 16378
  Copyright terms: Public domain W3C validator