Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  nprmmul1 Structured version   Visualization version   GIF version

Theorem nprmmul1 48081
Description: Special factorization of a non-prime integer greater than 3. (Contributed by AV, 5-Apr-2026.)
Assertion
Ref Expression
nprmmul1 (𝑁 ∈ (ℤ‘4) → (𝑁 ∉ ℙ ↔ ∃𝑎 ∈ (2..^𝑁)∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
Distinct variable group:   𝑁,𝑎,𝑏

Proof of Theorem nprmmul1
StepHypRef Expression
1 isprm3 16693 . . . . 5 (𝑁 ∈ ℙ ↔ (𝑁 ∈ (ℤ‘2) ∧ ∀𝑎 ∈ (2...(𝑁 − 1)) ¬ 𝑎𝑁))
21a1i 11 . . . 4 (𝑁 ∈ (ℤ‘4) → (𝑁 ∈ ℙ ↔ (𝑁 ∈ (ℤ‘2) ∧ ∀𝑎 ∈ (2...(𝑁 − 1)) ¬ 𝑎𝑁)))
3 uzuzle24 12876 . . . . 5 (𝑁 ∈ (ℤ‘4) → 𝑁 ∈ (ℤ‘2))
43biantrurd 539 . . . 4 (𝑁 ∈ (ℤ‘4) → (∀𝑎 ∈ (2...(𝑁 − 1)) ¬ 𝑎𝑁 ↔ (𝑁 ∈ (ℤ‘2) ∧ ∀𝑎 ∈ (2...(𝑁 − 1)) ¬ 𝑎𝑁)))
5 eluzelz 12839 . . . . . . . 8 (𝑁 ∈ (ℤ‘4) → 𝑁 ∈ ℤ)
6 fzoval 13655 . . . . . . . 8 (𝑁 ∈ ℤ → (2..^𝑁) = (2...(𝑁 − 1)))
75, 6syl 17 . . . . . . 7 (𝑁 ∈ (ℤ‘4) → (2..^𝑁) = (2...(𝑁 − 1)))
87eqcomd 2762 . . . . . 6 (𝑁 ∈ (ℤ‘4) → (2...(𝑁 − 1)) = (2..^𝑁))
98raleqdv 3314 . . . . 5 (𝑁 ∈ (ℤ‘4) → (∀𝑎 ∈ (2...(𝑁 − 1)) ¬ 𝑎𝑁 ↔ ∀𝑎 ∈ (2..^𝑁) ¬ 𝑎𝑁))
10 eluz4nn 12881 . . . . . . . . . 10 (𝑁 ∈ (ℤ‘4) → 𝑁 ∈ ℕ)
1110anim1ci 624 . . . . . . . . 9 ((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) → (𝑎 ∈ (2..^𝑁) ∧ 𝑁 ∈ ℕ))
12 nndivides2 47926 . . . . . . . . 9 ((𝑎 ∈ (2..^𝑁) ∧ 𝑁 ∈ ℕ) → (𝑎𝑁 ↔ ∃𝑏 ∈ (2..^𝑁)(𝑏 · 𝑎) = 𝑁))
1311, 12syl 17 . . . . . . . 8 ((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) → (𝑎𝑁 ↔ ∃𝑏 ∈ (2..^𝑁)(𝑏 · 𝑎) = 𝑁))
14 eqcom 2763 . . . . . . . . . 10 ((𝑏 · 𝑎) = 𝑁𝑁 = (𝑏 · 𝑎))
15 elfzo2nn 47871 . . . . . . . . . . . 12 (𝑏 ∈ (2..^𝑁) → 𝑏 ∈ ℕ)
16 elfzo2nn 47871 . . . . . . . . . . . . 13 (𝑎 ∈ (2..^𝑁) → 𝑎 ∈ ℕ)
1716adantl 484 . . . . . . . . . . . 12 ((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) → 𝑎 ∈ ℕ)
18 nnmulcom 12261 . . . . . . . . . . . 12 ((𝑏 ∈ ℕ ∧ 𝑎 ∈ ℕ) → (𝑏 · 𝑎) = (𝑎 · 𝑏))
1915, 17, 18syl2anr 605 . . . . . . . . . . 11 (((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) ∧ 𝑏 ∈ (2..^𝑁)) → (𝑏 · 𝑎) = (𝑎 · 𝑏))
2019eqeq2d 2767 . . . . . . . . . 10 (((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) ∧ 𝑏 ∈ (2..^𝑁)) → (𝑁 = (𝑏 · 𝑎) ↔ 𝑁 = (𝑎 · 𝑏)))
2114, 20bitrid 285 . . . . . . . . 9 (((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) ∧ 𝑏 ∈ (2..^𝑁)) → ((𝑏 · 𝑎) = 𝑁𝑁 = (𝑎 · 𝑏)))
2221rexbidva 3178 . . . . . . . 8 ((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) → (∃𝑏 ∈ (2..^𝑁)(𝑏 · 𝑎) = 𝑁 ↔ ∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
2313, 22bitrd 281 . . . . . . 7 ((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) → (𝑎𝑁 ↔ ∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
2423notbid 320 . . . . . 6 ((𝑁 ∈ (ℤ‘4) ∧ 𝑎 ∈ (2..^𝑁)) → (¬ 𝑎𝑁 ↔ ¬ ∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
2524ralbidva 3177 . . . . 5 (𝑁 ∈ (ℤ‘4) → (∀𝑎 ∈ (2..^𝑁) ¬ 𝑎𝑁 ↔ ∀𝑎 ∈ (2..^𝑁) ¬ ∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
269, 25bitrd 281 . . . 4 (𝑁 ∈ (ℤ‘4) → (∀𝑎 ∈ (2...(𝑁 − 1)) ¬ 𝑎𝑁 ↔ ∀𝑎 ∈ (2..^𝑁) ¬ ∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
272, 4, 263bitr2d 309 . . 3 (𝑁 ∈ (ℤ‘4) → (𝑁 ∈ ℙ ↔ ∀𝑎 ∈ (2..^𝑁) ¬ ∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
28 nnel 3065 . . 3 𝑁 ∉ ℙ ↔ 𝑁 ∈ ℙ)
29 ralnex 3082 . . . 4 (∀𝑎 ∈ (2..^𝑁) ¬ ∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏) ↔ ¬ ∃𝑎 ∈ (2..^𝑁)∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏))
3029bicomi 226 . . 3 (¬ ∃𝑎 ∈ (2..^𝑁)∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏) ↔ ∀𝑎 ∈ (2..^𝑁) ¬ ∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏))
3127, 28, 303bitr4g 316 . 2 (𝑁 ∈ (ℤ‘4) → (¬ 𝑁 ∉ ℙ ↔ ¬ ∃𝑎 ∈ (2..^𝑁)∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
3231con4bid 319 1 (𝑁 ∈ (ℤ‘4) → (𝑁 ∉ ℙ ↔ ∃𝑎 ∈ (2..^𝑁)∃𝑏 ∈ (2..^𝑁)𝑁 = (𝑎 · 𝑏)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398   = wceq 1554  wcel 2136  wnel 3055  wral 3070  wrex 3080   class class class wbr 5094  cfv 6510  (class class class)co 7385  1c1 11064   · cmul 11068  cmin 11404  cn 12200  2c2 12262  4c4 12264  cz 12558  cuz 12829  ...cfz 13502  ..^cfzo 13649  cdvds 16262  cprime 16681
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1809  ax-4 1823  ax-5 1924  ax-6 1981  ax-7 2022  ax-8 2138  ax-9 2146  ax-10 2169  ax-11 2185  ax-12 2206  ax-ext 2728  ax-sep 5240  ax-nul 5250  ax-pow 5316  ax-pr 5384  ax-un 7707  ax-cnex 11119  ax-resscn 11120  ax-1cn 11121  ax-icn 11122  ax-addcl 11123  ax-addrcl 11124  ax-mulcl 11125  ax-mulrcl 11126  ax-mulcom 11127  ax-addass 11128  ax-mulass 11129  ax-distr 11130  ax-i2m1 11131  ax-1ne0 11132  ax-1rid 11133  ax-rnegex 11134  ax-rrecex 11135  ax-cnre 11136  ax-pre-lttri 11137  ax-pre-lttrn 11138  ax-pre-ltadd 11139  ax-pre-mulgt0 11140  ax-pre-sup 11141
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3or 1096  df-3an 1097  df-tru 1557  df-fal 1567  df-ex 1794  df-nf 1798  df-sb 2085  df-mo 2560  df-eu 2590  df-clab 2735  df-cleq 2748  df-clel 2831  df-nfc 2905  df-ne 2952  df-nel 3056  df-ral 3071  df-rex 3081  df-rmo 3361  df-reu 3362  df-rab 3409  df-v 3450  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4281  df-if 4475  df-pw 4551  df-sn 4577  df-pr 4579  df-op 4583  df-uni 4860  df-iun 4945  df-br 5095  df-opab 5157  df-mpt 5176  df-tr 5202  df-id 5535  df-eprel 5540  df-po 5548  df-so 5549  df-fr 5593  df-we 5595  df-xp 5646  df-rel 5647  df-cnv 5648  df-co 5649  df-dm 5650  df-rn 5651  df-res 5652  df-ima 5653  df-pred 6277  df-ord 6338  df-on 6339  df-lim 6340  df-suc 6341  df-iota 6466  df-fun 6512  df-fn 6513  df-f 6514  df-f1 6515  df-fo 6516  df-f1o 6517  df-fv 6518  df-riota 7342  df-ov 7388  df-oprab 7389  df-mpo 7390  df-om 7836  df-1st 7959  df-2nd 7960  df-frecs 8250  df-wrecs 8281  df-recs 8330  df-rdg 8369  df-1o 8425  df-2o 8426  df-er 8666  df-en 8917  df-dom 8918  df-sdom 8919  df-fin 8920  df-sup 9378  df-pnf 11208  df-mnf 11209  df-xr 11210  df-ltxr 11211  df-le 11212  df-sub 11406  df-neg 11407  df-div 11835  df-nn 12201  df-2 12270  df-3 12271  df-4 12272  df-n0 12472  df-z 12559  df-uz 12830  df-rp 12984  df-fz 13503  df-fzo 13650  df-seq 14005  df-exp 14065  df-cj 15102  df-re 15103  df-im 15104  df-sqrt 15238  df-abs 15239  df-dvds 16263  df-prm 16682
This theorem is referenced by:  nprmmul2  48082
  Copyright terms: Public domain W3C validator