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

Theorem aks4d1p8d2 40102
Description: Any prime power dividing a positive integer is less than that integer if that integer has another prime factor. (Contributed by metakunt, 13-Nov-2024.)
Hypotheses
Ref Expression
aks4d1p8d2.1 (𝜑𝑅 ∈ ℕ)
aks4d1p8d2.2 (𝜑𝑁 ∈ ℕ)
aks4d1p8d2.3 (𝜑𝑃 ∈ ℙ)
aks4d1p8d2.4 (𝜑𝑄 ∈ ℙ)
aks4d1p8d2.5 (𝜑𝑃𝑅)
aks4d1p8d2.6 (𝜑𝑄𝑅)
aks4d1p8d2.7 (𝜑 → ¬ 𝑃𝑁)
aks4d1p8d2.8 (𝜑𝑄𝑁)
Assertion
Ref Expression
aks4d1p8d2 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) < 𝑅)

Proof of Theorem aks4d1p8d2
Dummy variable 𝑝 is distinct from all other variables.
StepHypRef Expression
1 aks4d1p8d2.3 . . . . 5 (𝜑𝑃 ∈ ℙ)
2 prmnn 16390 . . . . 5 (𝑃 ∈ ℙ → 𝑃 ∈ ℕ)
31, 2syl 17 . . . 4 (𝜑𝑃 ∈ ℕ)
43nnred 11999 . . 3 (𝜑𝑃 ∈ ℝ)
5 aks4d1p8d2.1 . . . 4 (𝜑𝑅 ∈ ℕ)
61, 5pccld 16562 . . 3 (𝜑 → (𝑃 pCnt 𝑅) ∈ ℕ0)
74, 6reexpcld 13892 . 2 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) ∈ ℝ)
8 aks4d1p8d2.4 . . . . 5 (𝜑𝑄 ∈ ℙ)
9 prmnn 16390 . . . . 5 (𝑄 ∈ ℙ → 𝑄 ∈ ℕ)
108, 9syl 17 . . . 4 (𝜑𝑄 ∈ ℕ)
1110nnred 11999 . . 3 (𝜑𝑄 ∈ ℝ)
127, 11remulcld 11016 . 2 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ∈ ℝ)
135nnred 11999 . 2 (𝜑𝑅 ∈ ℝ)
147recnd 11014 . . . 4 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) ∈ ℂ)
1514mulid1d 11003 . . 3 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑅)) · 1) = (𝑃↑(𝑃 pCnt 𝑅)))
16 1red 10987 . . . 4 (𝜑 → 1 ∈ ℝ)
173nnrpd 12781 . . . . 5 (𝜑𝑃 ∈ ℝ+)
186nn0zd 12435 . . . . 5 (𝜑 → (𝑃 pCnt 𝑅) ∈ ℤ)
1917, 18rpexpcld 13973 . . . 4 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) ∈ ℝ+)
20 prmgt1 16413 . . . . 5 (𝑄 ∈ ℙ → 1 < 𝑄)
218, 20syl 17 . . . 4 (𝜑 → 1 < 𝑄)
2216, 11, 19, 21ltmul2dd 12839 . . 3 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑅)) · 1) < ((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄))
2315, 22eqbrtrrd 5103 . 2 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) < ((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄))
243nnzd 12436 . . . . 5 (𝜑𝑃 ∈ ℤ)
2524, 6zexpcld 13819 . . . 4 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) ∈ ℤ)
2610nnzd 12436 . . . 4 (𝜑𝑄 ∈ ℤ)
275nnzd 12436 . . . 4 (𝜑𝑅 ∈ ℤ)
2825, 26gcdcomd 16232 . . . . 5 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑅)) gcd 𝑄) = (𝑄 gcd (𝑃↑(𝑃 pCnt 𝑅))))
29 0lt1 11508 . . . . . . . . . . . . . 14 0 < 1
3029a1i 11 . . . . . . . . . . . . 13 (𝜑 → 0 < 1)
31 0red 10989 . . . . . . . . . . . . . 14 (𝜑 → 0 ∈ ℝ)
3231, 16ltnled 11133 . . . . . . . . . . . . 13 (𝜑 → (0 < 1 ↔ ¬ 1 ≤ 0))
3330, 32mpbid 231 . . . . . . . . . . . 12 (𝜑 → ¬ 1 ≤ 0)
3411recnd 11014 . . . . . . . . . . . . . . . . . 18 (𝜑𝑄 ∈ ℂ)
3534exp1d 13870 . . . . . . . . . . . . . . . . 17 (𝜑 → (𝑄↑1) = 𝑄)
3635eqcomd 2746 . . . . . . . . . . . . . . . 16 (𝜑𝑄 = (𝑄↑1))
3736oveq2d 7288 . . . . . . . . . . . . . . 15 (𝜑 → (𝑄 pCnt 𝑄) = (𝑄 pCnt (𝑄↑1)))
38 1zzd 12362 . . . . . . . . . . . . . . . 16 (𝜑 → 1 ∈ ℤ)
39 pcid 16585 . . . . . . . . . . . . . . . 16 ((𝑄 ∈ ℙ ∧ 1 ∈ ℤ) → (𝑄 pCnt (𝑄↑1)) = 1)
408, 38, 39syl2anc 584 . . . . . . . . . . . . . . 15 (𝜑 → (𝑄 pCnt (𝑄↑1)) = 1)
4137, 40eqtrd 2780 . . . . . . . . . . . . . 14 (𝜑 → (𝑄 pCnt 𝑄) = 1)
42 aks4d1p8d2.8 . . . . . . . . . . . . . . . . . . . 20 (𝜑𝑄𝑁)
4342adantr 481 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑃 = 𝑄) → 𝑄𝑁)
44 breq1 5082 . . . . . . . . . . . . . . . . . . . . . 22 (𝑃 = 𝑄 → (𝑃𝑁𝑄𝑁))
4544adantl 482 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑𝑃 = 𝑄) → (𝑃𝑁𝑄𝑁))
4645bicomd 222 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑃 = 𝑄) → (𝑄𝑁𝑃𝑁))
4746biimpd 228 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑃 = 𝑄) → (𝑄𝑁𝑃𝑁))
4843, 47mpd 15 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑃 = 𝑄) → 𝑃𝑁)
49 aks4d1p8d2.7 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ¬ 𝑃𝑁)
5049adantr 481 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑃 = 𝑄) → ¬ 𝑃𝑁)
5148, 50pm2.65da 814 . . . . . . . . . . . . . . . . 17 (𝜑 → ¬ 𝑃 = 𝑄)
5251neqcomd 2750 . . . . . . . . . . . . . . . 16 (𝜑 → ¬ 𝑄 = 𝑃)
53 aks4d1p8d2.5 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑃𝑅)
54 pcelnn 16582 . . . . . . . . . . . . . . . . . . . 20 ((𝑃 ∈ ℙ ∧ 𝑅 ∈ ℕ) → ((𝑃 pCnt 𝑅) ∈ ℕ ↔ 𝑃𝑅))
551, 5, 54syl2anc 584 . . . . . . . . . . . . . . . . . . 19 (𝜑 → ((𝑃 pCnt 𝑅) ∈ ℕ ↔ 𝑃𝑅))
5653, 55mpbird 256 . . . . . . . . . . . . . . . . . 18 (𝜑 → (𝑃 pCnt 𝑅) ∈ ℕ)
57 prmdvdsexpb 16432 . . . . . . . . . . . . . . . . . 18 ((𝑄 ∈ ℙ ∧ 𝑃 ∈ ℙ ∧ (𝑃 pCnt 𝑅) ∈ ℕ) → (𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)) ↔ 𝑄 = 𝑃))
588, 1, 56, 57syl3anc 1370 . . . . . . . . . . . . . . . . 17 (𝜑 → (𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)) ↔ 𝑄 = 𝑃))
5958notbid 318 . . . . . . . . . . . . . . . 16 (𝜑 → (¬ 𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)) ↔ ¬ 𝑄 = 𝑃))
6052, 59mpbird 256 . . . . . . . . . . . . . . 15 (𝜑 → ¬ 𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)))
613, 6nnexpcld 13971 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) ∈ ℕ)
62 pceq0 16583 . . . . . . . . . . . . . . . 16 ((𝑄 ∈ ℙ ∧ (𝑃↑(𝑃 pCnt 𝑅)) ∈ ℕ) → ((𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅))) = 0 ↔ ¬ 𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅))))
638, 61, 62syl2anc 584 . . . . . . . . . . . . . . 15 (𝜑 → ((𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅))) = 0 ↔ ¬ 𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅))))
6460, 63mpbird 256 . . . . . . . . . . . . . 14 (𝜑 → (𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅))) = 0)
6541, 64breq12d 5092 . . . . . . . . . . . . 13 (𝜑 → ((𝑄 pCnt 𝑄) ≤ (𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅))) ↔ 1 ≤ 0))
6665notbid 318 . . . . . . . . . . . 12 (𝜑 → (¬ (𝑄 pCnt 𝑄) ≤ (𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅))) ↔ ¬ 1 ≤ 0))
6733, 66mpbird 256 . . . . . . . . . . 11 (𝜑 → ¬ (𝑄 pCnt 𝑄) ≤ (𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅))))
6867adantr 481 . . . . . . . . . 10 ((𝜑𝑝 = 𝑄) → ¬ (𝑄 pCnt 𝑄) ≤ (𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅))))
69 simpr 485 . . . . . . . . . . . . 13 ((𝜑𝑝 = 𝑄) → 𝑝 = 𝑄)
7069oveq1d 7287 . . . . . . . . . . . 12 ((𝜑𝑝 = 𝑄) → (𝑝 pCnt 𝑄) = (𝑄 pCnt 𝑄))
7169oveq1d 7287 . . . . . . . . . . . 12 ((𝜑𝑝 = 𝑄) → (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))) = (𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅))))
7270, 71breq12d 5092 . . . . . . . . . . 11 ((𝜑𝑝 = 𝑄) → ((𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))) ↔ (𝑄 pCnt 𝑄) ≤ (𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅)))))
7372notbid 318 . . . . . . . . . 10 ((𝜑𝑝 = 𝑄) → (¬ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))) ↔ ¬ (𝑄 pCnt 𝑄) ≤ (𝑄 pCnt (𝑃↑(𝑃 pCnt 𝑅)))))
7468, 73mpbird 256 . . . . . . . . 9 ((𝜑𝑝 = 𝑄) → ¬ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))))
7574, 8rspcime 3565 . . . . . . . 8 (𝜑 → ∃𝑝 ∈ ℙ ¬ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))))
76 rexnal 3168 . . . . . . . . 9 (∃𝑝 ∈ ℙ ¬ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))) ↔ ¬ ∀𝑝 ∈ ℙ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))))
7776a1i 11 . . . . . . . 8 (𝜑 → (∃𝑝 ∈ ℙ ¬ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))) ↔ ¬ ∀𝑝 ∈ ℙ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅)))))
7875, 77mpbid 231 . . . . . . 7 (𝜑 → ¬ ∀𝑝 ∈ ℙ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅))))
79 pc2dvds 16591 . . . . . . . . 9 ((𝑄 ∈ ℤ ∧ (𝑃↑(𝑃 pCnt 𝑅)) ∈ ℤ) → (𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)) ↔ ∀𝑝 ∈ ℙ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅)))))
8026, 25, 79syl2anc 584 . . . . . . . 8 (𝜑 → (𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)) ↔ ∀𝑝 ∈ ℙ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅)))))
8180notbid 318 . . . . . . 7 (𝜑 → (¬ 𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)) ↔ ¬ ∀𝑝 ∈ ℙ (𝑝 pCnt 𝑄) ≤ (𝑝 pCnt (𝑃↑(𝑃 pCnt 𝑅)))))
8278, 81mpbird 256 . . . . . 6 (𝜑 → ¬ 𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)))
83 coprm 16427 . . . . . . 7 ((𝑄 ∈ ℙ ∧ (𝑃↑(𝑃 pCnt 𝑅)) ∈ ℤ) → (¬ 𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)) ↔ (𝑄 gcd (𝑃↑(𝑃 pCnt 𝑅))) = 1))
848, 25, 83syl2anc 584 . . . . . 6 (𝜑 → (¬ 𝑄 ∥ (𝑃↑(𝑃 pCnt 𝑅)) ↔ (𝑄 gcd (𝑃↑(𝑃 pCnt 𝑅))) = 1))
8582, 84mpbid 231 . . . . 5 (𝜑 → (𝑄 gcd (𝑃↑(𝑃 pCnt 𝑅))) = 1)
8628, 85eqtrd 2780 . . . 4 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑅)) gcd 𝑄) = 1)
87 pcdvds 16576 . . . . 5 ((𝑃 ∈ ℙ ∧ 𝑅 ∈ ℕ) → (𝑃↑(𝑃 pCnt 𝑅)) ∥ 𝑅)
881, 5, 87syl2anc 584 . . . 4 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) ∥ 𝑅)
89 aks4d1p8d2.6 . . . 4 (𝜑𝑄𝑅)
9025, 26, 27, 86, 88, 89coprmdvds2d 40019 . . 3 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ∥ 𝑅)
9125, 26zmulcld 12443 . . . 4 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ∈ ℤ)
92 dvdsle 16030 . . . 4 ((((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ∈ ℤ ∧ 𝑅 ∈ ℕ) → (((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ∥ 𝑅 → ((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ≤ 𝑅))
9391, 5, 92syl2anc 584 . . 3 (𝜑 → (((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ∥ 𝑅 → ((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ≤ 𝑅))
9490, 93mpd 15 . 2 (𝜑 → ((𝑃↑(𝑃 pCnt 𝑅)) · 𝑄) ≤ 𝑅)
957, 12, 13, 23, 94ltletrd 11146 1 (𝜑 → (𝑃↑(𝑃 pCnt 𝑅)) < 𝑅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1542  wcel 2110  wral 3066  wrex 3067   class class class wbr 5079  (class class class)co 7272  0cc0 10882  1c1 10883   · cmul 10887   < clt 11020  cle 11021  cn 11984  cz 12330  cexp 13793  cdvds 15974   gcd cgcd 16212  cprime 16387   pCnt cpc 16548
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7583  ax-cnex 10938  ax-resscn 10939  ax-1cn 10940  ax-icn 10941  ax-addcl 10942  ax-addrcl 10943  ax-mulcl 10944  ax-mulrcl 10945  ax-mulcom 10946  ax-addass 10947  ax-mulass 10948  ax-distr 10949  ax-i2m1 10950  ax-1ne0 10951  ax-1rid 10952  ax-rnegex 10953  ax-rrecex 10954  ax-cnre 10955  ax-pre-lttri 10956  ax-pre-lttrn 10957  ax-pre-ltadd 10958  ax-pre-mulgt0 10959  ax-pre-sup 10960
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-nel 3052  df-ral 3071  df-rex 3072  df-reu 3073  df-rmo 3074  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-tr 5197  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6201  df-ord 6268  df-on 6269  df-lim 6270  df-suc 6271  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-f1 6437  df-fo 6438  df-f1o 6439  df-fv 6440  df-riota 7229  df-ov 7275  df-oprab 7276  df-mpo 7277  df-om 7708  df-1st 7825  df-2nd 7826  df-frecs 8089  df-wrecs 8120  df-recs 8194  df-rdg 8233  df-1o 8289  df-2o 8290  df-er 8490  df-en 8726  df-dom 8727  df-sdom 8728  df-fin 8729  df-sup 9189  df-inf 9190  df-pnf 11022  df-mnf 11023  df-xr 11024  df-ltxr 11025  df-le 11026  df-sub 11218  df-neg 11219  df-div 11644  df-nn 11985  df-2 12047  df-3 12048  df-n0 12245  df-z 12331  df-uz 12594  df-q 12700  df-rp 12742  df-fz 13251  df-fl 13523  df-mod 13601  df-seq 13733  df-exp 13794  df-cj 14821  df-re 14822  df-im 14823  df-sqrt 14957  df-abs 14958  df-dvds 15975  df-gcd 16213  df-prm 16388  df-pc 16549
This theorem is referenced by:  aks4d1p8  40104
  Copyright terms: Public domain W3C validator