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 33515
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 21276 . . . 4 PID = (IDomn ∩ LPIR)
31, 2eleqtrdi 2843 . . 3 (𝜑𝑅 ∈ (IDomn ∩ LPIR))
43elin1d 4153 . 2 (𝜑𝑅 ∈ IDomn)
54idomringd 20645 . . . . . . . . 9 (𝜑𝑅 ∈ Ring)
65ad3antrrr 730 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑅 ∈ Ring)
7 simplr 768 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (Base‘𝑅))
8 eqid 2733 . . . . . . . . 9 (Base‘𝑅) = (Base‘𝑅)
9 eqid 2733 . . . . . . . . 9 (RSpan‘𝑅) = (RSpan‘𝑅)
108, 9rspsnid 33343 . . . . . . . 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 2836 . . . . . 6 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥𝑖)
14 simpr 484 . . . . . . . . . 10 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}}))
1514eldifad 3910 . . . . . . . . 9 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ (PrmIdeal‘𝑅))
1615ad2antrr 726 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑖 ∈ (PrmIdeal‘𝑅))
1712, 16eqeltrrd 2834 . . . . . . 7 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → ((RSpan‘𝑅)‘{𝑥}) ∈ (PrmIdeal‘𝑅))
18 eqid 2733 . . . . . . . 8 (0g𝑅) = (0g𝑅)
19 eqid 2733 . . . . . . . 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 4587 . . . . . . . . . . . 12 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → {𝑥} = {(0g𝑅)})
2423fveq2d 6832 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → ((RSpan‘𝑅)‘{𝑥}) = ((RSpan‘𝑅)‘{(0g𝑅)}))
259, 18rsp0 21177 . . . . . . . . . . . . 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 2772 . . . . . . . . . 10 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑖 = {(0g𝑅)})
29 eldifsni 4741 . . . . . . . . . . . 12 (𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}}) → 𝑖 ≠ {(0g𝑅)})
3029ad4antlr 733 . . . . . . . . . . 11 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → 𝑖 ≠ {(0g𝑅)})
3130neneqd 2934 . . . . . . . . . 10 (((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) ∧ 𝑥 = (0g𝑅)) → ¬ 𝑖 = {(0g𝑅)})
3228, 31pm2.65da 816 . . . . . . . . 9 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → ¬ 𝑥 = (0g𝑅))
3332neqned 2936 . . . . . . . 8 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ≠ (0g𝑅))
3418, 8, 19, 9, 20, 7, 33rsprprmprmidlb 33495 . . . . . . 7 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → (𝑥 ∈ (RPrime‘𝑅) ↔ ((RSpan‘𝑅)‘{𝑥}) ∈ (PrmIdeal‘𝑅)))
3517, 34mpbird 257 . . . . . 6 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (RPrime‘𝑅))
3613, 35elind 4149 . . . . 5 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → 𝑥 ∈ (𝑖 ∩ (RPrime‘𝑅)))
3736ne0d 4291 . . . 4 ((((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) ∧ 𝑥 ∈ (Base‘𝑅)) ∧ 𝑖 = ((RSpan‘𝑅)‘{𝑥})) → (𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
38 eqid 2733 . . . . 5 (LIdeal‘𝑅) = (LIdeal‘𝑅)
393elin2d 4154 . . . . . 6 (𝜑𝑅 ∈ LPIR)
4039adantr 480 . . . . 5 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑅 ∈ LPIR)
415adantr 480 . . . . . 6 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑅 ∈ Ring)
42 prmidlidl 33416 . . . . . 6 ((𝑅 ∈ Ring ∧ 𝑖 ∈ (PrmIdeal‘𝑅)) → 𝑖 ∈ (LIdeal‘𝑅))
4341, 15, 42syl2anc 584 . . . . 5 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → 𝑖 ∈ (LIdeal‘𝑅))
448, 38, 9, 40, 43lpirlidllpi 33346 . . . 4 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → ∃𝑥 ∈ (Base‘𝑅)𝑖 = ((RSpan‘𝑅)‘{𝑥}))
4537, 44r19.29a 3141 . . 3 ((𝜑𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})) → (𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
4645ralrimiva 3125 . 2 (𝜑 → ∀𝑖 ∈ ((PrmIdeal‘𝑅) ∖ {{(0g𝑅)}})(𝑖 ∩ (RPrime‘𝑅)) ≠ ∅)
47 eqid 2733 . . 3 (PrmIdeal‘𝑅) = (PrmIdeal‘𝑅)
4847, 19, 18isufd 33512 . 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 1541  wcel 2113  wne 2929  wral 3048  cdif 3895  cin 3897  c0 4282  {csn 4575  cfv 6486  Basecbs 17122  0gc0g 17345  Ringcrg 20153  RPrimecrpm 20352  IDomncidom 20610  LIdealclidl 21145  RSpancrsp 21146  LPIRclpir 21260  PIDcpid 21275  PrmIdealcprmidl 33407  UFDcufd 33510
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2705  ax-rep 5219  ax-sep 5236  ax-nul 5246  ax-pow 5305  ax-pr 5372  ax-un 7674  ax-cnex 11069  ax-resscn 11070  ax-1cn 11071  ax-icn 11072  ax-addcl 11073  ax-addrcl 11074  ax-mulcl 11075  ax-mulrcl 11076  ax-mulcom 11077  ax-addass 11078  ax-mulass 11079  ax-distr 11080  ax-i2m1 11081  ax-1ne0 11082  ax-1rid 11083  ax-rnegex 11084  ax-rrecex 11085  ax-cnre 11086  ax-pre-lttri 11087  ax-pre-lttrn 11088  ax-pre-ltadd 11089  ax-pre-mulgt0 11090
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2725  df-clel 2808  df-nfc 2882  df-ne 2930  df-nel 3034  df-ral 3049  df-rex 3058  df-rmo 3347  df-reu 3348  df-rab 3397  df-v 3439  df-sbc 3738  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-pss 3918  df-nul 4283  df-if 4475  df-pw 4551  df-sn 4576  df-pr 4578  df-op 4582  df-uni 4859  df-int 4898  df-iun 4943  df-br 5094  df-opab 5156  df-mpt 5175  df-tr 5201  df-id 5514  df-eprel 5519  df-po 5527  df-so 5528  df-fr 5572  df-we 5574  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-pred 6253  df-ord 6314  df-on 6315  df-lim 6316  df-suc 6317  df-iota 6442  df-fun 6488  df-fn 6489  df-f 6490  df-f1 6491  df-fo 6492  df-f1o 6493  df-fv 6494  df-riota 7309  df-ov 7355  df-oprab 7356  df-mpo 7357  df-om 7803  df-1st 7927  df-2nd 7928  df-tpos 8162  df-frecs 8217  df-wrecs 8248  df-recs 8297  df-rdg 8335  df-er 8628  df-en 8876  df-dom 8877  df-sdom 8878  df-pnf 11155  df-mnf 11156  df-xr 11157  df-ltxr 11158  df-le 11159  df-sub 11353  df-neg 11354  df-nn 12133  df-2 12195  df-3 12196  df-4 12197  df-5 12198  df-6 12199  df-7 12200  df-8 12201  df-sets 17077  df-slot 17095  df-ndx 17107  df-base 17123  df-ress 17144  df-plusg 17176  df-mulr 17177  df-sca 17179  df-vsca 17180  df-ip 17181  df-0g 17347  df-mgm 18550  df-sgrp 18629  df-mnd 18645  df-grp 18851  df-minusg 18852  df-sbg 18853  df-subg 19038  df-cmn 19696  df-abl 19697  df-mgp 20061  df-rng 20073  df-ur 20102  df-ring 20155  df-cring 20156  df-oppr 20257  df-dvdsr 20277  df-unit 20278  df-invr 20308  df-rprm 20353  df-subrg 20487  df-idom 20613  df-lmod 20797  df-lss 20867  df-lsp 20907  df-sra 21109  df-rgmod 21110  df-lidl 21147  df-rsp 21148  df-lpidl 21261  df-lpir 21262  df-pid 21276  df-prmidl 33408  df-ufd 33511
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator