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

Theorem pidufd 33521
Description: Every principal ideal domain is a unique factorization domain. (Contributed by Thierry Arnoux, 3-Jun-2025.)
Hypothesis
Ref Expression
pidufd.1 (𝜑𝑅 ∈ PID)
Assertion
Ref Expression
pidufd (𝜑𝑅 ∈ UFD)

Proof of Theorem pidufd
Dummy variables 𝑖 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 pidufd.1 . . . 4 (𝜑𝑅 ∈ PID)
2 df-pid 21254 . . . 4 PID = (IDomn ∩ LPIR)
31, 2eleqtrdi 2839 . . 3 (𝜑𝑅 ∈ (IDomn ∩ LPIR))
43elin1d 4170 . 2 (𝜑𝑅 ∈ IDomn)
54idomringd 20644 . . . . . . . . 9 (𝜑𝑅 ∈ Ring)
65ad3antrrr 730 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑅 ∈ Ring)
7 simplr 768 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (Base‘𝑅))
8 eqid 2730 . . . . . . . . 9 (Base‘𝑅) = (Base‘𝑅)
9 eqid 2730 . . . . . . . . 9 (RSpan‘𝑅) = (RSpan‘𝑅)
108, 9rspsnid 33349 . . . . . . . 8 ((𝑅 ∈ Ring ∧ 𝑥 ∈ (Base‘𝑅)) → 𝑥 ∈ ((RSpan‘𝑅)‘{𝑥}))
116, 7, 10syl2anc 584 . . . . . . 7 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ ((RSpan‘𝑅)‘{𝑥}))
12 simpr 484 . . . . . . 7 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑖 = ((RSpan‘𝑅)‘{𝑥}))
1311, 12eleqtrrd 2832 . . . . . 6 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥𝑖)
14 simpr 484 . . . . . . . . . 10 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}}))
1514eldifad 3929 . . . . . . . . 9 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ (PrmIdeal‘𝑅))
1615ad2antrr 726 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑖 ∈ (PrmIdeal‘𝑅))
1712, 16eqeltrrd 2830 . . . . . . 7 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → ((RSpan‘𝑅)‘{𝑥}) ∈ (PrmIdeal‘𝑅))
18 eqid 2730 . . . . . . . 8 (0g𝑅) = (0g𝑅)
19 eqid 2730 . . . . . . . 8 (RPrime‘𝑅) = (RPrime‘𝑅)
204ad3antrrr 730 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑅 ∈ IDomn)
21 simplr 768 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑖 = ((RSpan‘𝑅)‘{𝑥}))
22 simpr 484 . . . . . . . . . . . . 13 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑥 = (0g𝑅))
2322sneqd 4604 . . . . . . . . . . . 12 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → {𝑥} = {(0g𝑅)})
2423fveq2d 6865 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → ((RSpan‘𝑅)‘{𝑥}) = ((RSpan‘𝑅)‘{(0g𝑅)}))
259, 18rsp0 21155 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → ((RSpan‘𝑅)‘{(0g𝑅)}) = {(0g𝑅)})
265, 25syl 17 . . . . . . . . . . . 12 (𝜑 → ((RSpan‘𝑅)‘{(0g𝑅)}) = {(0g𝑅)})
2726ad4antr 732 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → ((RSpan‘𝑅)‘{(0g𝑅)}) = {(0g𝑅)})
2821, 24, 273eqtrd 2769 . . . . . . . . . 10 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑖 = {(0g𝑅)})
29 eldifsni 4757 . . . . . . . . . . . 12 (𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}}) → 𝑖 ≠ {(0g𝑅)})
3029ad4antlr 733 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑖 ≠ {(0g𝑅)})
3130neneqd 2931 . . . . . . . . . 10 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → ¬ 𝑖 = {(0g𝑅)})
3228, 31pm2.65da 816 . . . . . . . . 9 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → ¬ 𝑥 = (0g𝑅))
3332neqned 2933 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ≠ (0g𝑅))
3418, 8, 19, 9, 20, 7, 33rsprprmprmidlb 33501 . . . . . . 7 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → (𝑥 ∈ (RPrime‘𝑅) ↔ ((RSpan‘𝑅)‘{𝑥}) ∈ (PrmIdeal‘𝑅)))
3517, 34mpbird 257 . . . . . 6 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (RPrime‘𝑅))
3613, 35elind 4166 . . . . 5 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (𝑖 ∩ (RPrime‘𝑅)))
3736ne0d 4308 . . . 4 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → (𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
38 eqid 2730 . . . . 5 (LIdeal‘𝑅) = (LIdeal‘𝑅)
393elin2d 4171 . . . . . 6 (𝜑𝑅 ∈ LPIR)
4039adantr 480 . . . . 5 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑅 ∈ LPIR)
415adantr 480 . . . . . 6 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑅 ∈ Ring)
42 prmidlidl 33422 . . . . . 6 ((𝑅 ∈ Ring ∧ 𝑖 ∈ (PrmIdeal‘𝑅)) → 𝑖 ∈ (LIdeal‘𝑅))
4341, 15, 42syl2anc 584 . . . . 5 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ (LIdeal‘𝑅))
448, 38, 9, 40, 43lpirlidllpi 33352 . . . 4 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → ∃𝑥 ∈ (Base‘𝑅)𝑖 = ((RSpan‘𝑅)‘{𝑥}))
4537, 44r19.29a 3142 . . 3 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → (𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
4645ralrimiva 3126 . 2 (𝜑 → ∀𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})(𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
47 eqid 2730 . . 3 (PrmIdeal‘𝑅) = (PrmIdeal‘𝑅)
4847, 19, 18isufd 33518 . 2 (𝑅 ∈ UFD ↔ (𝑅 ∈ IDomn ∧ ∀𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})(𝑖 ∩ (RPrime‘𝑅)) ≠ ∅))
494, 46, 48sylanbrc 583 1 (𝜑𝑅 ∈ UFD)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wcel 2109  wne 2926  wral 3045  cdif 3914  cin 3916  c0 4299  {csn 4592  cfv 6514  Basecbs 17186  0gc0g 17409  Ringcrg 20149  RPrimecrpm 20348  IDomncidom 20609  LIdealclidl 21123  RSpancrsp 21124  LPIRclpir 21238  PIDcpid 21253  PrmIdealcprmidl 33413  UFDcufd 33516
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-rep 5237  ax-sep 5254  ax-nul 5264  ax-pow 5323  ax-pr 5390  ax-un 7714  ax-cnex 11131  ax-resscn 11132  ax-1cn 11133  ax-icn 11134  ax-addcl 11135  ax-addrcl 11136  ax-mulcl 11137  ax-mulrcl 11138  ax-mulcom 11139  ax-addass 11140  ax-mulass 11141  ax-distr 11142  ax-i2m1 11143  ax-1ne0 11144  ax-1rid 11145  ax-rnegex 11146  ax-rrecex 11147  ax-cnre 11148  ax-pre-lttri 11149  ax-pre-lttrn 11150  ax-pre-ltadd 11151  ax-pre-mulgt0 11152
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ne 2927  df-nel 3031  df-ral 3046  df-rex 3055  df-rmo 3356  df-reu 3357  df-rab 3409  df-v 3452  df-sbc 3757  df-csb 3866  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-pss 3937  df-nul 4300  df-if 4492  df-pw 4568  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4875  df-int 4914  df-iun 4960  df-br 5111  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5536  df-eprel 5541  df-po 5549  df-so 5550  df-fr 5594  df-we 5596  df-xp 5647  df-rel 5648  df-cnv 5649  df-co 5650  df-dm 5651  df-rn 5652  df-res 5653  df-ima 5654  df-pred 6277  df-ord 6338  df-on 6339  df-lim 6340  df-suc 6341  df-iota 6467  df-fun 6516  df-fn 6517  df-f 6518  df-f1 6519  df-fo 6520  df-f1o 6521  df-fv 6522  df-riota 7347  df-ov 7393  df-oprab 7394  df-mpo 7395  df-om 7846  df-1st 7971  df-2nd 7972  df-tpos 8208  df-frecs 8263  df-wrecs 8294  df-recs 8343  df-rdg 8381  df-er 8674  df-en 8922  df-dom 8923  df-sdom 8924  df-pnf 11217  df-mnf 11218  df-xr 11219  df-ltxr 11220  df-le 11221  df-sub 11414  df-neg 11415  df-nn 12194  df-2 12256  df-3 12257  df-4 12258  df-5 12259  df-6 12260  df-7 12261  df-8 12262  df-sets 17141  df-slot 17159  df-ndx 17171  df-base 17187  df-ress 17208  df-plusg 17240  df-mulr 17241  df-sca 17243  df-vsca 17244  df-ip 17245  df-0g 17411  df-mgm 18574  df-sgrp 18653  df-mnd 18669  df-grp 18875  df-minusg 18876  df-sbg 18877  df-subg 19062  df-cmn 19719  df-abl 19720  df-mgp 20057  df-rng 20069  df-ur 20098  df-ring 20151  df-cring 20152  df-oppr 20253  df-dvdsr 20273  df-unit 20274  df-invr 20304  df-rprm 20349  df-subrg 20486  df-idom 20612  df-lmod 20775  df-lss 20845  df-lsp 20885  df-sra 21087  df-rgmod 21088  df-lidl 21125  df-rsp 21126  df-lpidl 21239  df-lpir 21240  df-pid 21254  df-prmidl 33414  df-ufd 33517
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator