MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  1arith2 Structured version   Visualization version   GIF version

Theorem 1arith2 17083
Description: Fundamental theorem of arithmetic, where a prime factorization is represented as a finite monotonic 1-based sequence of primes. Every positive integer has a unique prime factorization. Theorem 1.10 in [ApostolNT] p. 17. This is Metamath 100 proof #80. (Contributed by Paul Chapman, 17-Nov-2012.) (Revised by Mario Carneiro, 30-May-2014.)
Hypotheses
Ref Expression
1arith.1 𝑀 = (𝑛 ∈ ℕ ↦ (𝑝 ∈ ℙ ↦ (𝑝 pCnt 𝑛)))
1arith.2 𝑅 = {𝑒 ∈ (ℕ0 ↑m ℙ) ∣ (◡𝑒 “ ℕ) ∈ Fin}
Assertion
Ref Expression
1arith2 ∀𝑧 ∈ ℕ ∃!𝑔 ∈ 𝑅 (𝑀‘𝑧) = 𝑔
Distinct variable groups:   𝑒,𝑔,𝑛,𝑝,𝑧   𝑒,𝑀,𝑔   𝑅,𝑔,𝑛
Allowed substitution hints:   𝑅(𝑧, 𝑒, 𝑝)   𝑀(𝑧, 𝑛, 𝑝)

Proof of Theorem 1arith2
StepHypRef Expression
1 1arith.1 . . . . . 6 𝑀 = (𝑛 ∈ ℕ ↦ (𝑝 ∈ ℙ ↦ (𝑝 pCnt 𝑛)))
2 1arith.2 . . . . . 6 𝑅 = {𝑒 ∈ (ℕ0 ↑m ℙ) ∣ (◡𝑒 “ ℕ) ∈ Fin}
31, 21arith 17082 . . . . 5 𝑀:ℕ–1-1-onto→𝑅
4 f1ocnv 6829 . . . . 5 (𝑀:ℕ–1-1-onto→𝑅 → ◡𝑀:𝑅–1-1-onto→ℕ)
53, 4ax-mp 5 . . . 4 ◡𝑀:𝑅–1-1-onto→ℕ
6 f1ofveu 7406 . . . 4 ((◡𝑀:𝑅–1-1-onto→ℕ ∧ 𝑧 ∈ ℕ) → ∃!𝑔 ∈ 𝑅 (◡𝑀‘𝑔) = 𝑧)
75, 6mpan 703 . . 3 (𝑧 ∈ ℕ → ∃!𝑔 ∈ 𝑅 (◡𝑀‘𝑔) = 𝑧)
8 f1ocnvfvb 7279 . . . . 5 ((𝑀:ℕ–1-1-onto→𝑅 ∧ 𝑧 ∈ ℕ ∧ 𝑔 ∈ 𝑅) → ((𝑀‘𝑧) = 𝑔 ↔ (◡𝑀‘𝑔) = 𝑧))
93, 8mp3an1 1477 . . . 4 ((𝑧 ∈ ℕ ∧ 𝑔 ∈ 𝑅) → ((𝑀‘𝑧) = 𝑔 ↔ (◡𝑀‘𝑔) = 𝑧))
109reubidva 3380 . . 3 (𝑧 ∈ ℕ → (∃!𝑔 ∈ 𝑅 (𝑀‘𝑧) = 𝑔 ↔ ∃!𝑔 ∈ 𝑅 (◡𝑀‘𝑔) = 𝑧))
117, 10mpbird 260 . 2 (𝑧 ∈ ℕ → ∃!𝑔 ∈ 𝑅 (𝑀‘𝑧) = 𝑔)
1211rgen 3079 1 ∀𝑧 ∈ ℕ ∃!𝑔 ∈ 𝑅 (𝑀‘𝑧) = 𝑔
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   = wceq 1570   ∈ wcel 2145  ∀wral 3077  ∃!wreu 3364  {crab 3413   ↦ cmpt 5186  ◡ccnv 5650   “ cima 5654  –1-1-onto→wf1o 6530  ‘cfv 6531  (class class class)co 7412   ↑m cmap 8831  Fincfn 8957  ℕcn 12313  ℕ0cn0 12584  ℙcprime 16823   pCnt cpc 16991
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-cnex 11234  ax-resscn 11235  ax-1cn 11236  ax-icn 11237  ax-addcl 11238  ax-addrcl 11239  ax-mulcl 11240  ax-mulrcl 11241  ax-mulcom 11242  ax-addass 11243  ax-mulass 11244  ax-distr 11245  ax-i2m1 11246  ax-1ne0 11247  ax-1rid 11248  ax-rnegex 11249  ax-rrecex 11250  ax-cnre 11251  ax-pre-lttri 11252  ax-pre-lttrn 11253  ax-pre-ltadd 11254  ax-pre-mulgt0 11255  ax-pre-sup 11256
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-1st 7990  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8460  df-2o 8461  df-er 8701  df-map 8833  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-sup 9418  df-inf 9419  df-pnf 11323  df-mnf 11324  df-xr 11325  df-ltxr 11326  df-le 11327  df-sub 11521  df-neg 11522  df-div 11952  df-nn 12314  df-2 12383  df-3 12384  df-n0 12585  df-z 12672  df-uz 12944  df-q 13054  df-rp 13099  df-fz 13618  df-fl 13909  df-mod 13987  df-seq 14122  df-exp 14182  df-cj 15243  df-re 15244  df-im 15245  df-sqrt 15379  df-abs 15380  df-dvds 16400  df-gcd 16642  df-prm 16824  df-pc 16992
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator