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

Theorem rprmnz 33876
Description: A ring prime is nonzero. (Contributed by Thierry Arnoux, 18-May-2025.)
Hypotheses
Ref Expression
rprmnz.p 𝑃 = (RPrime‘𝑅)
rprmnz.0 0 = (0g𝑅)
rprmnz.r (𝜑𝑅𝑉)
rprmnz.q (𝜑𝑄𝑃)
Assertion
Ref Expression
rprmnz (𝜑𝑄0 )

Proof of Theorem rprmnz
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqidd 2766 . . 3 (𝜑 → ((Unit‘𝑅) ∪ { 0 }) = ((Unit‘𝑅) ∪ { 0 }))
2 rprmnz.r . . . . 5 (𝜑𝑅𝑉)
3 rprmnz.q . . . . . 6 (𝜑𝑄𝑃)
4 rprmnz.p . . . . . 6 𝑃 = (RPrime‘𝑅)
53, 4eleqtrdi 2875 . . . . 5 (𝜑𝑄 ∈ (RPrime‘𝑅))
6 eqid 2765 . . . . . . 7 (Base‘𝑅) = (Base‘𝑅)
7 eqid 2765 . . . . . . 7 (Unit‘𝑅) = (Unit‘𝑅)
8 rprmnz.0 . . . . . . 7 0 = (0g𝑅)
9 eqid 2765 . . . . . . 7 (∥r𝑅) = (∥r𝑅)
10 eqid 2765 . . . . . . 7 (.r𝑅) = (.r𝑅)
116, 7, 8, 9, 10isrprm 33873 . . . . . 6 (𝑅𝑉 → (𝑄 ∈ (RPrime‘𝑅) ↔ (𝑄 ∈ ((Base‘𝑅) ∖ ((Unit‘𝑅) ∪ { 0 })) ∧ ∀𝑥 ∈ (Base‘𝑅)∀𝑦 ∈ (Base‘𝑅)(𝑄(∥r𝑅)(𝑥(.r𝑅)𝑦) → (𝑄(∥r𝑅)𝑥𝑄(∥r𝑅)𝑦)))))
1211simprbda 504 . . . . 5 ((𝑅𝑉𝑄 ∈ (RPrime‘𝑅)) → 𝑄 ∈ ((Base‘𝑅) ∖ ((Unit‘𝑅) ∪ { 0 })))
132, 5, 12syl2anc 596 . . . 4 (𝜑𝑄 ∈ ((Base‘𝑅) ∖ ((Unit‘𝑅) ∪ { 0 })))
1413eldifbd 3919 . . 3 (𝜑 → ¬ 𝑄 ∈ ((Unit‘𝑅) ∪ { 0 }))
15 nelun 32932 . . . 4 (((Unit‘𝑅) ∪ { 0 }) = ((Unit‘𝑅) ∪ { 0 }) → (¬ 𝑄 ∈ ((Unit‘𝑅) ∪ { 0 }) ↔ (¬ 𝑄 ∈ (Unit‘𝑅) ∧ ¬ 𝑄 ∈ { 0 })))
1615simplbda 505 . . 3 ((((Unit‘𝑅) ∪ { 0 }) = ((Unit‘𝑅) ∪ { 0 }) ∧ ¬ 𝑄 ∈ ((Unit‘𝑅) ∪ { 0 })) → ¬ 𝑄 ∈ { 0 })
171, 14, 16syl2anc 596 . 2 (𝜑 → ¬ 𝑄 ∈ { 0 })
18 elsng 4605 . . . 4 (𝑄𝑃 → (𝑄 ∈ { 0 } ↔ 𝑄 = 0 ))
193, 18syl 18 . . 3 (𝜑 → (𝑄 ∈ { 0 } ↔ 𝑄 = 0 ))
2019necon3bbid 2997 . 2 (𝜑 → (¬ 𝑄 ∈ { 0 } ↔ 𝑄0 ))
2117, 20mpbid 235 1 (𝜑𝑄0 )
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wo 861   = wceq 1570  wcel 2146  wne 2960  wral 3081  cdif 3903  cun 3904  {csn 4591   class class class wbr 5111  cfv 6540  (class class class)co 7419  Basecbs 17293  .rcmulr 17335  0gc0g 17516  rcdsr 20484  Unitcui 20485  RPrimecrpm 20562
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-sep 5259  ax-nul 5271  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3082  df-rex 3092  df-rab 3419  df-v 3459  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4287  df-if 4490  df-pw 4566  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-br 5112  df-opab 5176  df-mpt 5195  df-id 5558  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-iota 6496  df-fun 6542  df-fv 6548  df-ov 7422  df-rprm 20563
This theorem is used by:  rprmasso  33881  rprmasso2  33882  rprmirred  33887  1arithidomlem1  33891  1arithufdlem3  33902  dfufd2lem  33905
  Copyright terms: Public domain W3C validator