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 33933
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 2761 . . 3 (𝜑 → ((Unit‘𝑅) ∪ { 0 }) = ((Unit‘𝑅) ∪ { 0 }))
2 rprmnz.r . . . . 5 (𝜑𝑅𝑉)
3 rprmnz.q . . . . . 6 (𝜑𝑄𝑃)
4 rprmnz.p . . . . . 6 𝑃 = (RPrime‘𝑅)
53, 4eleqtrdi 2870 . . . . 5 (𝜑𝑄 ∈ (RPrime‘𝑅))
6 eqid 2760 . . . . . . 7 (Base‘𝑅) = (Base‘𝑅)
7 eqid 2760 . . . . . . 7 (Unit‘𝑅) = (Unit‘𝑅)
8 rprmnz.0 . . . . . . 7 0 = (0g𝑅)
9 eqid 2760 . . . . . . 7 (∥r𝑅) = (∥r𝑅)
10 eqid 2760 . . . . . . 7 (.r𝑅) = (.r𝑅)
116, 7, 8, 9, 10isrprm 33930 . . . . . 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 3912 . . 3 (𝜑 → ¬ 𝑄 ∈ ((Unit‘𝑅) ∪ { 0 }))
15 nelun 32991 . . . 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 4598 . . . 4 (𝑄𝑃 → (𝑄 ∈ { 0 } ↔ 𝑄 = 0 ))
193, 18syl 18 . . 3 (𝜑 → (𝑄 ∈ { 0 } ↔ 𝑄 = 0 ))
2019necon3bbid 2992 . 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 2145  wne 2955  wral 3076  cdif 3896  cun 3897  {csn 4584   class class class wbr 5103  cfv 6533  (class class class)co 7414  Basecbs 17304  .rcmulr 17346  0gc0g 17527  rcdsr 20498  Unitcui 20499  RPrimecrpm 20576
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 2732  ax-sep 5251  ax-nul 5263  ax-pr 5398
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 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-iota 6489  df-fun 6535  df-fv 6541  df-ov 7417  df-rprm 20577
This theorem is used by:  rprmasso  33938  rprmasso2  33939  rprmirred  33944  1arithidomlem1  33948  1arithufdlem3  33959  dfufd2lem  33962
  Copyright terms: Public domain W3C validator