Users' Mathboxes Mathbox for metakunt < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  aks4d1p8d3 Structured version   Visualization version   GIF version

Theorem aks4d1p8d3 42803
Description: The remainder of a division with its maximal prime power is coprime with that prime power. (Contributed by metakunt, 13-Nov-2024.)
Hypotheses
Ref Expression
aks4d1p8d3.1 (𝜑𝑁 ∈ ℕ)
aks4d1p8d3.2 (𝜑𝑃 ∈ ℙ)
aks4d1p8d3.3 (𝜑𝑃𝑁)
Assertion
Ref Expression
aks4d1p8d3 (𝜑 → ((𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) gcd (𝑃↑(𝑃 pCnt 𝑁))) = 1)

Proof of Theorem aks4d1p8d3
StepHypRef Expression
1 aks4d1p8d3.2 . . . . 5 (𝜑𝑃 ∈ ℙ)
2 aks4d1p8d3.1 . . . . 5 (𝜑𝑁 ∈ ℕ)
3 pcdvds 16927 . . . . 5 ((𝑃 ∈ ℙ ∧ 𝑁 ∈ ℕ) → (𝑃↑(𝑃 pCnt 𝑁)) ∥ 𝑁)
41, 2, 3syl2anc 595 . . . 4 (𝜑 → (𝑃↑(𝑃 pCnt 𝑁)) ∥ 𝑁)
5 prmnn 16735 . . . . . . . 8 (𝑃 ∈ ℙ → 𝑃 ∈ ℕ)
61, 5syl 18 . . . . . . 7 (𝜑𝑃 ∈ ℕ)
76nnzd 12620 . . . . . 6 (𝜑𝑃 ∈ ℤ)
81, 2pccld 16913 . . . . . 6 (𝜑 → (𝑃 pCnt 𝑁) ∈ ℕ0)
97, 8zexpcld 14126 . . . . 5 (𝜑 → (𝑃↑(𝑃 pCnt 𝑁)) ∈ ℤ)
107zcnd 12704 . . . . . 6 (𝜑𝑃 ∈ ℂ)
11 0red 11214 . . . . . . . 8 (𝜑 → 0 ∈ ℝ)
12 1red 11212 . . . . . . . . 9 (𝜑 → 1 ∈ ℝ)
137zred 12703 . . . . . . . . 9 (𝜑𝑃 ∈ ℝ)
14 0lt1 11739 . . . . . . . . . 10 0 < 1
1514a1i 11 . . . . . . . . 9 (𝜑 → 0 < 1)
16 prmgt1 16759 . . . . . . . . . 10 (𝑃 ∈ ℙ → 1 < 𝑃)
171, 16syl 18 . . . . . . . . 9 (𝜑 → 1 < 𝑃)
1811, 12, 13, 15, 17lttrd 11374 . . . . . . . 8 (𝜑 → 0 < 𝑃)
1911, 18ltned 11349 . . . . . . 7 (𝜑 → 0 ≠ 𝑃)
2019necomd 3020 . . . . . 6 (𝜑𝑃 ≠ 0)
218nn0zd 12619 . . . . . 6 (𝜑 → (𝑃 pCnt 𝑁) ∈ ℤ)
2210, 20, 21expne0d 14191 . . . . 5 (𝜑 → (𝑃↑(𝑃 pCnt 𝑁)) ≠ 0)
232nnzd 12620 . . . . 5 (𝜑𝑁 ∈ ℤ)
24 dvdsval2 16316 . . . . 5 (((𝑃↑(𝑃 pCnt 𝑁)) ∈ ℤ ∧ (𝑃↑(𝑃 pCnt 𝑁)) ≠ 0 ∧ 𝑁 ∈ ℤ) → ((𝑃↑(𝑃 pCnt 𝑁)) ∥ 𝑁 ↔ (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) ∈ ℤ))
259, 22, 23, 24syl3anc 1396 . . . 4 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑁)) ∥ 𝑁 ↔ (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) ∈ ℤ))
264, 25mpbid 235 . . 3 (𝜑 → (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) ∈ ℤ)
2726, 9gcdcomd 16575 . 2 (𝜑 → ((𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) gcd (𝑃↑(𝑃 pCnt 𝑁))) = ((𝑃↑(𝑃 pCnt 𝑁)) gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))))
28 pcndvds2 16931 . . . . 5 ((𝑃 ∈ ℙ ∧ 𝑁 ∈ ℕ) → ¬ 𝑃 ∥ (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))))
291, 2, 28syl2anc 595 . . . 4 (𝜑 → ¬ 𝑃 ∥ (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))))
30 coprm 16773 . . . . 5 ((𝑃 ∈ ℙ ∧ (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) ∈ ℤ) → (¬ 𝑃 ∥ (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) ↔ (𝑃 gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))) = 1))
311, 26, 30syl2anc 595 . . . 4 (𝜑 → (¬ 𝑃 ∥ (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) ↔ (𝑃 gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))) = 1))
3229, 31mpbid 235 . . 3 (𝜑 → (𝑃 gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))) = 1)
33 aks4d1p8d3.3 . . . . 5 (𝜑𝑃𝑁)
34 pcelnn 16933 . . . . . 6 ((𝑃 ∈ ℙ ∧ 𝑁 ∈ ℕ) → ((𝑃 pCnt 𝑁) ∈ ℕ ↔ 𝑃𝑁))
351, 2, 34syl2anc 595 . . . . 5 (𝜑 → ((𝑃 pCnt 𝑁) ∈ ℕ ↔ 𝑃𝑁))
3633, 35mpbird 260 . . . 4 (𝜑 → (𝑃 pCnt 𝑁) ∈ ℕ)
37 rpexp 16784 . . . 4 ((𝑃 ∈ ℤ ∧ (𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) ∈ ℤ ∧ (𝑃 pCnt 𝑁) ∈ ℕ) → (((𝑃↑(𝑃 pCnt 𝑁)) gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))) = 1 ↔ (𝑃 gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))) = 1))
387, 26, 36, 37syl3anc 1396 . . 3 (𝜑 → (((𝑃↑(𝑃 pCnt 𝑁)) gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))) = 1 ↔ (𝑃 gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))) = 1))
3932, 38mpbird 260 . 2 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑁)) gcd (𝑁 / (𝑃↑(𝑃 pCnt 𝑁)))) = 1)
4027, 39eqtrd 2805 1 (𝜑 → ((𝑁 / (𝑃↑(𝑃 pCnt 𝑁))) gcd (𝑃↑(𝑃 pCnt 𝑁))) = 1)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209   = wceq 1568  wcel 2150  wne 2965   class class class wbr 5114  (class class class)co 7414  0cc0 11103  1c1 11104   < clt 11246   / cdiv 11874  cn 12236  cz 12594  cexp 14100  cdvds 16313   gcd cgcd 16555  cprime 16732   pCnt cpc 16899
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1823  ax-4 1837  ax-5 1938  ax-6 1995  ax-7 2036  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2199  ax-12 2220  ax-ext 2742  ax-sep 5262  ax-nul 5274  ax-pow 5340  ax-pr 5408  ax-un 7736  ax-cnex 11159  ax-resscn 11160  ax-1cn 11161  ax-icn 11162  ax-addcl 11163  ax-addrcl 11164  ax-mulcl 11165  ax-mulrcl 11166  ax-mulcom 11167  ax-addass 11168  ax-mulass 11169  ax-distr 11170  ax-i2m1 11171  ax-1ne0 11172  ax-1rid 11173  ax-rnegex 11174  ax-rrecex 11175  ax-cnre 11176  ax-pre-lttri 11177  ax-pre-lttrn 11178  ax-pre-ltadd 11179  ax-pre-mulgt0 11180  ax-pre-sup 11181
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1102  df-3an 1103  df-tru 1571  df-fal 1581  df-ex 1808  df-nf 1812  df-sb 2099  df-mo 2574  df-eu 2604  df-clab 2749  df-cleq 2762  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3464  df-sbc 3753  df-csb 3862  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3933  df-nul 4295  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-iun 4963  df-br 5115  df-opab 5179  df-mpt 5198  df-tr 5224  df-id 5560  df-eprel 5565  df-po 5573  df-so 5574  df-fr 5618  df-we 5620  df-xp 5671  df-rel 5672  df-cnv 5673  df-co 5674  df-dm 5675  df-rn 5676  df-res 5677  df-ima 5678  df-pred 6306  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-riota 7371  df-ov 7417  df-oprab 7418  df-mpo 7419  df-om 7866  df-1st 7989  df-2nd 7990  df-frecs 8281  df-wrecs 8312  df-recs 8361  df-rdg 8400  df-1o 8456  df-2o 8457  df-er 8697  df-en 8947  df-dom 8948  df-sdom 8949  df-fin 8950  df-sup 9405  df-inf 9406  df-pnf 11248  df-mnf 11249  df-xr 11250  df-ltxr 11251  df-le 11252  df-sub 11446  df-neg 11447  df-div 11875  df-nn 12237  df-2 12306  df-3 12307  df-n0 12508  df-z 12595  df-uz 12866  df-q 12976  df-rp 13020  df-fz 13539  df-fl 13828  df-mod 13906  df-seq 14041  df-exp 14101  df-cj 15153  df-re 15154  df-im 15155  df-sqrt 15289  df-abs 15290  df-dvds 16314  df-gcd 16556  df-prm 16733  df-pc 16900
This theorem is referenced by:  aks4d1p8  42804
  Copyright terms: Public domain W3C validator