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 33571
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 21347 . . . 4 PID = (IDomn ∩ LPIR)
31, 2eleqtrdi 2851 . . 3 (𝜑𝑅 ∈ (IDomn ∩ LPIR))
43elin1d 4204 . 2 (𝜑𝑅 ∈ IDomn)
54idomringd 20728 . . . . . . . . 9 (𝜑𝑅 ∈ Ring)
65ad3antrrr 730 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑅 ∈ Ring)
7 simplr 769 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (Base‘𝑅))
8 eqid 2737 . . . . . . . . 9 (Base‘𝑅) = (Base‘𝑅)
9 eqid 2737 . . . . . . . . 9 (RSpan‘𝑅) = (RSpan‘𝑅)
108, 9rspsnid 33399 . . . . . . . 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 2844 . . . . . 6 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥𝑖)
14 simpr 484 . . . . . . . . . 10 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}}))
1514eldifad 3963 . . . . . . . . 9 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ (PrmIdeal‘𝑅))
1615ad2antrr 726 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑖 ∈ (PrmIdeal‘𝑅))
1712, 16eqeltrrd 2842 . . . . . . 7 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → ((RSpan‘𝑅)‘{𝑥}) ∈ (PrmIdeal‘𝑅))
18 eqid 2737 . . . . . . . 8 (0g𝑅) = (0g𝑅)
19 eqid 2737 . . . . . . . 8 (RPrime‘𝑅) = (RPrime‘𝑅)
204ad3antrrr 730 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑅 ∈ IDomn)
21 simplr 769 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑖 = ((RSpan‘𝑅)‘{𝑥}))
22 simpr 484 . . . . . . . . . . . . 13 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑥 = (0g𝑅))
2322sneqd 4638 . . . . . . . . . . . 12 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → {𝑥} = {(0g𝑅)})
2423fveq2d 6910 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → ((RSpan‘𝑅)‘{𝑥}) = ((RSpan‘𝑅)‘{(0g𝑅)}))
259, 18rsp0 21248 . . . . . . . . . . . . 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 2781 . . . . . . . . . 10 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑖 = {(0g𝑅)})
29 eldifsni 4790 . . . . . . . . . . . 12 (𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}}) → 𝑖 ≠ {(0g𝑅)})
3029ad4antlr 733 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑖 ≠ {(0g𝑅)})
3130neneqd 2945 . . . . . . . . . 10 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → ¬ 𝑖 = {(0g𝑅)})
3228, 31pm2.65da 817 . . . . . . . . 9 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → ¬ 𝑥 = (0g𝑅))
3332neqned 2947 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ≠ (0g𝑅))
3418, 8, 19, 9, 20, 7, 33rsprprmprmidlb 33551 . . . . . . 7 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → (𝑥 ∈ (RPrime‘𝑅) ↔ ((RSpan‘𝑅)‘{𝑥}) ∈ (PrmIdeal‘𝑅)))
3517, 34mpbird 257 . . . . . 6 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (RPrime‘𝑅))
3613, 35elind 4200 . . . . 5 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (𝑖 ∩ (RPrime‘𝑅)))
3736ne0d 4342 . . . 4 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → (𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
38 eqid 2737 . . . . 5 (LIdeal‘𝑅) = (LIdeal‘𝑅)
393elin2d 4205 . . . . . 6 (𝜑𝑅 ∈ LPIR)
4039adantr 480 . . . . 5 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑅 ∈ LPIR)
415adantr 480 . . . . . 6 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑅 ∈ Ring)
42 prmidlidl 33472 . . . . . 6 ((𝑅 ∈ Ring ∧ 𝑖 ∈ (PrmIdeal‘𝑅)) → 𝑖 ∈ (LIdeal‘𝑅))
4341, 15, 42syl2anc 584 . . . . 5 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ (LIdeal‘𝑅))
448, 38, 9, 40, 43lpirlidllpi 33402 . . . 4 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → ∃𝑥 ∈ (Base‘𝑅)𝑖 = ((RSpan‘𝑅)‘{𝑥}))
4537, 44r19.29a 3162 . . 3 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → (𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
4645ralrimiva 3146 . 2 (𝜑 → ∀𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})(𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
47 eqid 2737 . . 3 (PrmIdeal‘𝑅) = (PrmIdeal‘𝑅)
4847, 19, 18isufd 33568 . 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 2108  wne 2940  wral 3061  cdif 3948  cin 3950  c0 4333  {csn 4626  cfv 6561  Basecbs 17247  0gc0g 17484  Ringcrg 20230  RPrimecrpm 20432  IDomncidom 20693  LIdealclidl 21216  RSpancrsp 21217  LPIRclpir 21331  PIDcpid 21346  PrmIdealcprmidl 33463  UFDcufd 33566
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 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2708  ax-rep 5279  ax-sep 5296  ax-nul 5306  ax-pow 5365  ax-pr 5432  ax-un 7755  ax-cnex 11211  ax-resscn 11212  ax-1cn 11213  ax-icn 11214  ax-addcl 11215  ax-addrcl 11216  ax-mulcl 11217  ax-mulrcl 11218  ax-mulcom 11219  ax-addass 11220  ax-mulass 11221  ax-distr 11222  ax-i2m1 11223  ax-1ne0 11224  ax-1rid 11225  ax-rnegex 11226  ax-rrecex 11227  ax-cnre 11228  ax-pre-lttri 11229  ax-pre-lttrn 11230  ax-pre-ltadd 11231  ax-pre-mulgt0 11232
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2892  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-rmo 3380  df-reu 3381  df-rab 3437  df-v 3482  df-sbc 3789  df-csb 3900  df-dif 3954  df-un 3956  df-in 3958  df-ss 3968  df-pss 3971  df-nul 4334  df-if 4526  df-pw 4602  df-sn 4627  df-pr 4629  df-op 4633  df-uni 4908  df-int 4947  df-iun 4993  df-br 5144  df-opab 5206  df-mpt 5226  df-tr 5260  df-id 5578  df-eprel 5584  df-po 5592  df-so 5593  df-fr 5637  df-we 5639  df-xp 5691  df-rel 5692  df-cnv 5693  df-co 5694  df-dm 5695  df-rn 5696  df-res 5697  df-ima 5698  df-pred 6321  df-ord 6387  df-on 6388  df-lim 6389  df-suc 6390  df-iota 6514  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-riota 7388  df-ov 7434  df-oprab 7435  df-mpo 7436  df-om 7888  df-1st 8014  df-2nd 8015  df-tpos 8251  df-frecs 8306  df-wrecs 8337  df-recs 8411  df-rdg 8450  df-er 8745  df-en 8986  df-dom 8987  df-sdom 8988  df-pnf 11297  df-mnf 11298  df-xr 11299  df-ltxr 11300  df-le 11301  df-sub 11494  df-neg 11495  df-nn 12267  df-2 12329  df-3 12330  df-4 12331  df-5 12332  df-6 12333  df-7 12334  df-8 12335  df-sets 17201  df-slot 17219  df-ndx 17231  df-base 17248  df-ress 17275  df-plusg 17310  df-mulr 17311  df-sca 17313  df-vsca 17314  df-ip 17315  df-0g 17486  df-mgm 18653  df-sgrp 18732  df-mnd 18748  df-grp 18954  df-minusg 18955  df-sbg 18956  df-subg 19141  df-cmn 19800  df-abl 19801  df-mgp 20138  df-rng 20150  df-ur 20179  df-ring 20232  df-cring 20233  df-oppr 20334  df-dvdsr 20357  df-unit 20358  df-invr 20388  df-rprm 20433  df-subrg 20570  df-idom 20696  df-lmod 20860  df-lss 20930  df-lsp 20970  df-sra 21172  df-rgmod 21173  df-lidl 21218  df-rsp 21219  df-lpidl 21332  df-lpir 21333  df-pid 21347  df-prmidl 33464  df-ufd 33567
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator