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

Theorem padicabvf 20742
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
StepHypRef Expression
1 qex 10295 . . . 4  |-  QQ  e.  _V
21mptex 5680 . . 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 5310 . 2  |-  J  Fn  Prime
53padicfval 20727 . . . . 5  |-  ( p  e.  Prime  ->  ( J `
 p )  =  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( p ^ -u (
p  pCnt  x )
) ) ) )
6 prmnn 12724 . . . . . . . . . . 11  |-  ( p  e.  Prime  ->  p  e.  NN )
76ad2antrr 709 . . . . . . . . . 10  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  p  e.  NN )
87nncnd 9730 . . . . . . . . 9  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  p  e.  CC )
97nnne0d 9758 . . . . . . . . 9  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  p  =/=  0 )
10 df-ne 2423 . . . . . . . . . 10  |-  ( x  =/=  0  <->  -.  x  =  0 )
11 pcqcl 12871 . . . . . . . . . . 11  |-  ( ( p  e.  Prime  /\  (
x  e.  QQ  /\  x  =/=  0 ) )  ->  ( p  pCnt  x )  e.  ZZ )
1211anassrs 632 . . . . . . . . . 10  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  x  =/=  0
)  ->  ( p  pCnt  x )  e.  ZZ )
1310, 12sylan2br 464 . . . . . . . . 9  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  (
p  pCnt  x )  e.  ZZ )
148, 9, 13expnegd 11218 . . . . . . . 8  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  (
p ^ -u (
p  pCnt  x )
)  =  ( 1  /  ( p ^
( p  pCnt  x
) ) ) )
158, 9, 13exprecd 11219 . . . . . . . 8  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  (
( 1  /  p
) ^ ( p 
pCnt  x ) )  =  ( 1  /  (
p ^ ( p 
pCnt  x ) ) ) )
1614, 15eqtr4d 2293 . . . . . . 7  |-  ( ( ( p  e.  Prime  /\  x  e.  QQ )  /\  -.  x  =  0 )  ->  (
p ^ -u (
p  pCnt  x )
)  =  ( ( 1  /  p ) ^ ( p  pCnt  x ) ) )
1716ifeq2da 3565 . . . . . 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 4080 . . . . 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 2290 . . . 4  |-  ( p  e.  Prime  ->  ( J `
 p )  =  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p
) ^ ( p 
pCnt  x ) ) ) ) )
206nnrecred 9759 . . . . . 6  |-  ( p  e.  Prime  ->  ( 1  /  p )  e.  RR )
216nnred 9729 . . . . . . . 8  |-  ( p  e.  Prime  ->  p  e.  RR )
22 prmuz2 12738 . . . . . . . . 9  |-  ( p  e.  Prime  ->  p  e.  ( ZZ>= `  2 )
)
23 eluz2b2 10257 . . . . . . . . . 10  |-  ( p  e.  ( ZZ>= `  2
)  <->  ( p  e.  NN  /\  1  < 
p ) )
2423simprbi 452 . . . . . . . . 9  |-  ( p  e.  ( ZZ>= `  2
)  ->  1  <  p )
2522, 24syl 17 . . . . . . . 8  |-  ( p  e.  Prime  ->  1  < 
p )
26 recgt1i 9621 . . . . . . . 8  |-  ( ( p  e.  RR  /\  1  <  p )  -> 
( 0  <  (
1  /  p )  /\  ( 1  /  p )  <  1
) )
2721, 25, 26syl2anc 645 . . . . . . 7  |-  ( p  e.  Prime  ->  ( 0  <  ( 1  /  p )  /\  (
1  /  p )  <  1 ) )
2827simpld 447 . . . . . 6  |-  ( p  e.  Prime  ->  0  < 
( 1  /  p
) )
2927simprd 451 . . . . . 6  |-  ( p  e.  Prime  ->  ( 1  /  p )  <  1 )
30 0xr 8846 . . . . . . 7  |-  0  e.  RR*
31 ressxr 8844 . . . . . . . 8  |-  RR  C_  RR*
32 1re 8805 . . . . . . . 8  |-  1  e.  RR
3331, 32sselii 3152 . . . . . . 7  |-  1  e.  RR*
34 elioo2 10663 . . . . . . 7  |-  ( ( 0  e.  RR*  /\  1  e.  RR* )  ->  (
( 1  /  p
)  e.  ( 0 (,) 1 )  <->  ( (
1  /  p )  e.  RR  /\  0  <  ( 1  /  p
)  /\  ( 1  /  p )  <  1 ) ) )
3530, 33, 34mp2an 656 . . . . . 6  |-  ( ( 1  /  p )  e.  ( 0 (,) 1 )  <->  ( (
1  /  p )  e.  RR  /\  0  <  ( 1  /  p
)  /\  ( 1  /  p )  <  1 ) )
3620, 28, 29, 35syl3anbrc 1141 . . . . 5  |-  ( p  e.  Prime  ->  ( 1  /  p )  e.  ( 0 (,) 1
) )
37 qrng.q . . . . . 6  |-  Q  =  (flds  QQ )
38 qabsabv.a . . . . . 6  |-  A  =  (AbsVal `  Q )
39 eqid 2258 . . . . . 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
) ) ) )
4037, 38, 39padicabv 20741 . . . . 5  |-  ( ( p  e.  Prime  /\  (
1  /  p )  e.  ( 0 (,) 1 ) )  -> 
( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p
) ^ ( p 
pCnt  x ) ) ) )  e.  A )
4136, 40mpdan 652 . . . 4  |-  ( p  e.  Prime  ->  ( x  e.  QQ  |->  if ( x  =  0 ,  0 ,  ( ( 1  /  p ) ^ ( p  pCnt  x ) ) ) )  e.  A )
4219, 41eqeltrd 2332 . . 3  |-  ( p  e.  Prime  ->  ( J `
 p )  e.  A )
4342rgen 2583 . 2  |-  A. p  e.  Prime  ( J `  p )  e.  A
44 ffnfv 5619 . 2  |-  ( J : Prime --> A  <->  ( J  Fn  Prime  /\  A. p  e.  Prime  ( J `  p )  e.  A
) )
454, 43, 44mpbir2an 891 1  |-  J : Prime --> A
Colors of variables: wff set class
Syntax hints:   -. wn 5    <-> wb 178    /\ wa 360    /\ w3a 939    = wceq 1619    e. wcel 1621    =/= wne 2421   A.wral 2518   ifcif 3539   class class class wbr 3997    e. cmpt 4051    Fn wfn 4668   -->wf 4669   ` cfv 4673  (class class class)co 5792   RRcr 8704   0cc0 8705   1c1 8706   RR*cxr 8834    < clt 8835   -ucneg 9006    / cdiv 9391   NNcn 9714   2c2 9763   ZZcz 9991   ZZ>=cuz 10197   QQcq 10283   (,)cioo 10622   ^cexp 11070   Primecprime 12720    pCnt cpc 12851   ↾s cress 13111  AbsValcabv 15543  ℂfldccnfld 16339
This theorem is referenced by:  ostth  20750
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2239  ax-rep 4105  ax-sep 4115  ax-nul 4123  ax-pow 4160  ax-pr 4186  ax-un 4484  ax-cnex 8761  ax-resscn 8762  ax-1cn 8763  ax-icn 8764  ax-addcl 8765  ax-addrcl 8766  ax-mulcl 8767  ax-mulrcl 8768  ax-mulcom 8769  ax-addass 8770  ax-mulass 8771  ax-distr 8772  ax-i2m1 8773  ax-1ne0 8774  ax-1rid 8775  ax-rnegex 8776  ax-rrecex 8777  ax-cnre 8778  ax-pre-lttri 8779  ax-pre-lttrn 8780  ax-pre-ltadd 8781  ax-pre-mulgt0 8782  ax-pre-sup 8783  ax-addf 8784  ax-mulf 8785
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2122  df-mo 2123  df-clab 2245  df-cleq 2251  df-clel 2254  df-nfc 2383  df-ne 2423  df-nel 2424  df-ral 2523  df-rex 2524  df-reu 2525  df-rmo 2526  df-rab 2527  df-v 2765  df-sbc 2967  df-csb 3057  df-dif 3130  df-un 3132  df-in 3134  df-ss 3141  df-pss 3143  df-nul 3431  df-if 3540  df-pw 3601  df-sn 3620  df-pr 3621  df-tp 3622  df-op 3623  df-uni 3802  df-int 3837  df-iun 3881  df-br 3998  df-opab 4052  df-mpt 4053  df-tr 4088  df-eprel 4277  df-id 4281  df-po 4286  df-so 4287  df-fr 4324  df-we 4326  df-ord 4367  df-on 4368  df-lim 4369  df-suc 4370  df-om 4629  df-xp 4675  df-rel 4676  df-cnv 4677  df-co 4678  df-dm 4679  df-rn 4680  df-res 4681  df-ima 4682  df-fun 4683  df-fn 4684  df-f 4685  df-f1 4686  df-fo 4687  df-f1o 4688  df-fv 4689  df-ov 5795  df-oprab 5796  df-mpt2 5797  df-1st 6056  df-2nd 6057  df-tpos 6168  df-iota 6225  df-riota 6272  df-recs 6356  df-rdg 6391  df-1o 6447  df-2o 6448  df-oadd 6451  df-er 6628  df-map 6742  df-en 6832  df-dom 6833  df-sdom 6834  df-fin 6835  df-sup 7162  df-pnf 8837  df-mnf 8838  df-xr 8839  df-ltxr 8840  df-le 8841  df-sub 9007  df-neg 9008  df-div 9392  df-n 9715  df-2 9772  df-3 9773  df-4 9774  df-5 9775  df-6 9776  df-7 9777  df-8 9778  df-9 9779  df-10 9780  df-n0 9933  df-z 9992  df-dec 10092  df-uz 10198  df-q 10284  df-rp 10322  df-ioo 10626  df-ico 10628  df-fz 10749  df-fl 10891  df-mod 10940  df-seq 11013  df-exp 11071  df-cj 11549  df-re 11550  df-im 11551  df-sqr 11685  df-abs 11686  df-divides 12494  df-gcd 12648  df-prime 12721  df-pc 12852  df-struct 13112  df-ndx 13113  df-slot 13114  df-base 13115  df-sets 13116  df-ress 13117  df-plusg 13183  df-mulr 13184  df-starv 13185  df-tset 13189  df-ple 13190  df-ds 13192  df-0g 13366  df-mnd 14329  df-grp 14451  df-minusg 14452  df-subg 14580  df-cmn 15053  df-mgp 15288  df-ring 15302  df-cring 15303  df-ur 15304  df-oppr 15367  df-dvdsr 15385  df-unit 15386  df-invr 15416  df-dvr 15427  df-drng 15476  df-subrg 15505  df-abv 15544  df-cnfld 16340
  Copyright terms: Public domain W3C validator