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

Theorem padicabvf 21193
Description: The p-adic absolute value is an absolute value. (Contributed by Mario Carneiro, 9-Sep-2014.)
Hypotheses
Ref Expression
qrng.q  |-  Q  =  (flds  QQ )
qabsabv.a  |-  A  =  (AbsVal `  Q )
padic.j  |-  J  =  ( q  e.  Prime  |->  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( q ^ -u (
q  pCnt  x )
) ) ) )
Assertion
Ref Expression
padicabvf  |-  J : Prime --> A
Distinct variable groups:    x, q, A    x, Q
Allowed substitution hints:    Q( q)    J( x, q)

Proof of Theorem padicabvf
Dummy variable  p is distinct from all other variables.
StepHypRef Expression
1 qex 10519 . . . 4  |-  QQ  e.  _V
21mptex 5906 . . 3  |-  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( q ^ -u ( q 
pCnt  x ) ) ) )  e.  _V
3 padic.j . . 3  |-  J  =  ( q  e.  Prime  |->  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( q ^ -u (
q  pCnt  x )
) ) ) )
42, 3fnmpti 5514 . 2  |-  J  Fn  Prime
53padicfval 21178 . . . . 5  |-  ( p  e.  Prime  ->  ( J `
 p )  =  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( p ^ -u (
p  pCnt  x )
) ) ) )
6 prmnn 13010 . . . . . . . . . . 11  |-  ( p  e.  Prime  ->  p  e.  NN )
76ad2antrr 707 . . . . . . . . . 10  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  p  e.  NN )
87nncnd 9949 . . . . . . . . 9  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  p  e.  CC )
97nnne0d 9977 . . . . . . . . 9  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  p  =/=  0 )
10 df-ne 2553 . . . . . . . . . 10  |-  ( x  =/=  0  <->  -.  x  =  0 )
11 pcqcl 13158 . . . . . . . . . . 11  |-  ( ( p  e.  Prime  /\  (
x  e.  QQ  /\  x  =/=  0 ) )  ->  ( p  pCnt  x )  e.  ZZ )
1211anassrs 630 . . . . . . . . . 10  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  x  =/=  0
)  ->  ( p  pCnt  x )  e.  ZZ )
1310, 12sylan2br 463 . . . . . . . . 9  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  (
p  pCnt  x )  e.  ZZ )
148, 9, 13expnegd 11458 . . . . . . . 8  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  (
p ^ -u (
p  pCnt  x )
)  =  ( 1  /  ( p ^
( p  pCnt  x
) ) ) )
158, 9, 13exprecd 11459 . . . . . . . 8  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  (
( 1  /  p
) ^ ( p 
pCnt  x ) )  =  ( 1  /  (
p ^ ( p 
pCnt  x ) ) ) )
1614, 15eqtr4d 2423 . . . . . . 7  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  (
p ^ -u (
p  pCnt  x )
)  =  ( ( 1  /  p ) ^ ( p  pCnt  x ) ) )
1716ifeq2da 3709 . . . . . 6  |-  ( ( p  e.  Prime  /\  x  e.  QQ )  ->  if ( x  =  0 ,  0 ,  ( p ^ -u (
p  pCnt  x )
) )  =  if ( x  =  0 ,  0 ,  ( ( 1  /  p
) ^ ( p 
pCnt  x ) ) ) )
1817mpteq2dva 4237 . . . . 5  |-  ( p  e.  Prime  ->  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( p ^ -u ( p 
pCnt  x ) ) ) )  =  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p ) ^ ( p  pCnt  x ) ) ) ) )
195, 18eqtrd 2420 . . . 4  |-  ( p  e.  Prime  ->  ( J `
 p )  =  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p
) ^ ( p 
pCnt  x ) ) ) ) )
206nnrecred 9978 . . . . . 6  |-  ( p  e.  Prime  ->  ( 1  /  p )  e.  RR )
216nnred 9948 . . . . . . . 8  |-  ( p  e.  Prime  ->  p  e.  RR )
22 prmuz2 13025 . . . . . . . . 9  |-  ( p  e.  Prime  ->  p  e.  ( ZZ>= `  2 )
)
23 eluz2b2 10481 . . . . . . . . . 10  |-  ( p  e.  ( ZZ>= `  2
)  <->  ( p  e.  NN  /\  1  < 
p ) )
2423simprbi 451 . . . . . . . . 9  |-  ( p  e.  ( ZZ>= `  2
)  ->  1  <  p )
2522, 24syl 16 . . . . . . . 8  |-  ( p  e.  Prime  ->  1  < 
p )
26 recgt1i 9840 . . . . . . . 8  |-  ( ( p  e.  RR  /\  1  <  p )  -> 
( 0  <  (
1  /  p )  /\  ( 1  /  p )  <  1
) )
2721, 25, 26syl2anc 643 . . . . . . 7  |-  ( p  e.  Prime  ->  ( 0  <  ( 1  /  p )  /\  (
1  /  p )  <  1 ) )
2827simpld 446 . . . . . 6  |-  ( p  e.  Prime  ->  0  < 
( 1  /  p
) )
2927simprd 450 . . . . . 6  |-  ( p  e.  Prime  ->  ( 1  /  p )  <  1 )
30 0xr 9065 . . . . . . 7  |-  0  e.  RR*
31 1re 9024 . . . . . . . 8  |-  1  e.  RR
3231rexri 9071 . . . . . . 7  |-  1  e.  RR*
33 elioo2 10890 . . . . . . 7  |-  ( ( 0  e.  RR*  /\  1  e.  RR* )  ->  (
( 1  /  p
)  e.  ( 0 (,) 1 )  <->  ( (
1  /  p )  e.  RR  /\  0  <  ( 1  /  p
)  /\  ( 1  /  p )  <  1 ) ) )
3430, 32, 33mp2an 654 . . . . . 6  |-  ( ( 1  /  p )  e.  ( 0 (,) 1 )  <->  ( (
1  /  p )  e.  RR  /\  0  <  ( 1  /  p
)  /\  ( 1  /  p )  <  1 ) )
3520, 28, 29, 34syl3anbrc 1138 . . . . 5  |-  ( p  e.  Prime  ->  ( 1  /  p )  e.  ( 0 (,) 1
) )
36 qrng.q . . . . . 6  |-  Q  =  (flds  QQ )
37 qabsabv.a . . . . . 6  |-  A  =  (AbsVal `  Q )
38 eqid 2388 . . . . . 6  |-  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p ) ^ ( p  pCnt  x ) ) ) )  =  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p ) ^
( p  pCnt  x
) ) ) )
3936, 37, 38padicabv 21192 . . . . 5  |-  ( ( p  e.  Prime  /\  (
1  /  p )  e.  ( 0 (,) 1 ) )  -> 
( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p
) ^ ( p 
pCnt  x ) ) ) )  e.  A )
4035, 39mpdan 650 . . . 4  |-  ( p  e.  Prime  ->  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p ) ^ ( p  pCnt  x ) ) ) )  e.  A )
4119, 40eqeltrd 2462 . . 3  |-  ( p  e.  Prime  ->  ( J `
 p )  e.  A )
4241rgen 2715 . 2  |-  A. p  e.  Prime  ( J `  p )  e.  A
43 ffnfv 5834 . 2  |-  ( J : Prime --> A  <->  ( J  Fn  Prime  /\  A. p  e.  Prime  ( J `  p )  e.  A
) )
444, 42, 43mpbir2an 887 1  |-  J : Prime --> A
Colors of variables: wff set class
Syntax hints:   -. wn 3    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1717    =/= wne 2551   A.wral 2650   ifcif 3683   class class class wbr 4154    e. cmpt 4208    Fn wfn 5390   -->wf 5391   ` cfv 5395  (class class class)co 6021   RRcr 8923   0cc0 8924   1c1 8925   RR*cxr 9053    < clt 9054   -ucneg 9225    / cdiv 9610   NNcn 9933   2c2 9982   ZZcz 10215   ZZ>=cuz 10421   QQcq 10507   (,)cioo 10849   ^cexp 11310   Primecprime 13007    pCnt cpc 13138   ↾s cress 13398  AbsValcabv 15832  ℂfldccnfld 16627
This theorem is referenced by:  ostth  21201
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2369  ax-rep 4262  ax-sep 4272  ax-nul 4280  ax-pow 4319  ax-pr 4345  ax-un 4642  ax-cnex 8980  ax-resscn 8981  ax-1cn 8982  ax-icn 8983  ax-addcl 8984  ax-addrcl 8985  ax-mulcl 8986  ax-mulrcl 8987  ax-mulcom 8988  ax-addass 8989  ax-mulass 8990  ax-distr 8991  ax-i2m1 8992  ax-1ne0 8993  ax-1rid 8994  ax-rnegex 8995  ax-rrecex 8996  ax-cnre 8997  ax-pre-lttri 8998  ax-pre-lttrn 8999  ax-pre-ltadd 9000  ax-pre-mulgt0 9001  ax-pre-sup 9002  ax-addf 9003  ax-mulf 9004
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2243  df-mo 2244  df-clab 2375  df-cleq 2381  df-clel 2384  df-nfc 2513  df-ne 2553  df-nel 2554  df-ral 2655  df-rex 2656  df-reu 2657  df-rmo 2658  df-rab 2659  df-v 2902  df-sbc 3106  df-csb 3196  df-dif 3267  df-un 3269  df-in 3271  df-ss 3278  df-pss 3280  df-nul 3573  df-if 3684  df-pw 3745  df-sn 3764  df-pr 3765  df-tp 3766  df-op 3767  df-uni 3959  df-int 3994  df-iun 4038  df-br 4155  df-opab 4209  df-mpt 4210  df-tr 4245  df-eprel 4436  df-id 4440  df-po 4445  df-so 4446  df-fr 4483  df-we 4485  df-ord 4526  df-on 4527  df-lim 4528  df-suc 4529  df-om 4787  df-xp 4825  df-rel 4826  df-cnv 4827  df-co 4828  df-dm 4829  df-rn 4830  df-res 4831  df-ima 4832  df-iota 5359  df-fun 5397  df-fn 5398  df-f 5399  df-f1 5400  df-fo 5401  df-f1o 5402  df-fv 5403  df-ov 6024  df-oprab 6025  df-mpt2 6026  df-1st 6289  df-2nd 6290  df-tpos 6416  df-riota 6486  df-recs 6570  df-rdg 6605  df-1o 6661  df-2o 6662  df-oadd 6665  df-er 6842  df-map 6957  df-en 7047  df-dom 7048  df-sdom 7049  df-fin 7050  df-sup 7382  df-pnf 9056  df-mnf 9057  df-xr 9058  df-ltxr 9059  df-le 9060  df-sub 9226  df-neg 9227  df-div 9611  df-nn 9934  df-2 9991  df-3 9992  df-4 9993  df-5 9994  df-6 9995  df-7 9996  df-8 9997  df-9 9998  df-10 9999  df-n0 10155  df-z 10216  df-dec 10316  df-uz 10422  df-q 10508  df-rp 10546  df-ioo 10853  df-ico 10855  df-fz 10977  df-fl 11130  df-mod 11179  df-seq 11252  df-exp 11311  df-cj 11832  df-re 11833  df-im 11834  df-sqr 11968  df-abs 11969  df-dvds 12781  df-gcd 12935  df-prm 13008  df-pc 13139  df-struct 13399  df-ndx 13400  df-slot 13401  df-base 13402  df-sets 13403  df-ress 13404  df-plusg 13470  df-mulr 13471  df-starv 13472  df-tset 13476  df-ple 13477  df-ds 13479  df-unif 13480  df-0g 13655  df-mnd 14618  df-grp 14740  df-minusg 14741  df-subg 14869  df-cmn 15342  df-mgp 15577  df-rng 15591  df-cring 15592  df-ur 15593  df-oppr 15656  df-dvdsr 15674  df-unit 15675  df-invr 15705  df-dvr 15716  df-drng 15765  df-subrg 15794  df-abv 15833  df-cnfld 16628
  Copyright terms: Public domain W3C validator