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

Theorem isrprm 34105
Description: Property for 𝑃 to be a prime element in the ring 𝑅. (Contributed by Thierry Arnoux, 1-Jul-2024.)
Hypotheses
Ref Expression
isrprm.1 𝐵 = (Base‘𝑅)
isrprm.2 𝑈 = (Unit‘𝑅)
isrprm.3 0 = (0g‘𝑅)
isrprm.4 ∥ = (∥r‘𝑅)
isrprm.5 · = (.r‘𝑅)
Assertion
Ref Expression
isrprm (𝑅 ∈ 𝑉 → (𝑃 ∈ (RPrime‘𝑅) ↔ (𝑃 ∈ (𝐵 ∖ (𝑈 ∪ { 0 })) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑃 ∥ (𝑥 · 𝑦) → (𝑃 ∥ 𝑥 ∨ 𝑃 ∥ 𝑦)))))
Distinct variable groups:   𝑥,𝑃,𝑦   𝑥,𝑅,𝑦
Allowed substitution hints:   𝐵(𝑥, 𝑦)   ∥ (𝑥, 𝑦)   · (𝑥, 𝑦)   𝑈(𝑥, 𝑦)   𝑉(𝑥, 𝑦)   0 (𝑥, 𝑦)

Proof of Theorem isrprm
Dummy variable 𝑝 is distinct from all other variables.
StepHypRef Expression
1 isrprm.1 . . . 4 𝐵 = (Base‘𝑅)
2 isrprm.2 . . . 4 𝑈 = (Unit‘𝑅)
3 isrprm.3 . . . 4 0 = (0g‘𝑅)
4 isrprm.5 . . . 4 · = (.r‘𝑅)
5 isrprm.4 . . . 4 ∥ = (∥r‘𝑅)
61, 2, 3, 4, 5rprmval 34104 . . 3 (𝑅 ∈ 𝑉 → (RPrime‘𝑅) = {𝑝 ∈ (𝐵 ∖ (𝑈 ∪ { 0 })) ∣ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑝 ∥ (𝑥 · 𝑦) → (𝑝 ∥ 𝑥 ∨ 𝑝 ∥ 𝑦))})
76eleq2d 2850 . 2 (𝑅 ∈ 𝑉 → (𝑃 ∈ (RPrime‘𝑅) ↔ 𝑃 ∈ {𝑝 ∈ (𝐵 ∖ (𝑈 ∪ { 0 })) ∣ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑝 ∥ (𝑥 · 𝑦) → (𝑝 ∥ 𝑥 ∨ 𝑝 ∥ 𝑦))}))
8 breq1 5109 . . . . 5 (𝑝 = 𝑃 → (𝑝 ∥ (𝑥 · 𝑦) ↔ 𝑃 ∥ (𝑥 · 𝑦)))
9 breq1 5109 . . . . . 6 (𝑝 = 𝑃 → (𝑝 ∥ 𝑥 ↔ 𝑃 ∥ 𝑥))
10 breq1 5109 . . . . . 6 (𝑝 = 𝑃 → (𝑝 ∥ 𝑦 ↔ 𝑃 ∥ 𝑦))
119, 10orbi12d 932 . . . . 5 (𝑝 = 𝑃 → ((𝑝 ∥ 𝑥 ∨ 𝑝 ∥ 𝑦) ↔ (𝑃 ∥ 𝑥 ∨ 𝑃 ∥ 𝑦)))
128, 11imbi12d 347 . . . 4 (𝑝 = 𝑃 → ((𝑝 ∥ (𝑥 · 𝑦) → (𝑝 ∥ 𝑥 ∨ 𝑝 ∥ 𝑦)) ↔ (𝑃 ∥ (𝑥 · 𝑦) → (𝑃 ∥ 𝑥 ∨ 𝑃 ∥ 𝑦))))
13122ralbidv 3230 . . 3 (𝑝 = 𝑃 → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑝 ∥ (𝑥 · 𝑦) → (𝑝 ∥ 𝑥 ∨ 𝑝 ∥ 𝑦)) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑃 ∥ (𝑥 · 𝑦) → (𝑃 ∥ 𝑥 ∨ 𝑃 ∥ 𝑦))))
1413elrab 3648 . 2 (𝑃 ∈ {𝑝 ∈ (𝐵 ∖ (𝑈 ∪ { 0 })) ∣ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑝 ∥ (𝑥 · 𝑦) → (𝑝 ∥ 𝑥 ∨ 𝑝 ∥ 𝑦))} ↔ (𝑃 ∈ (𝐵 ∖ (𝑈 ∪ { 0 })) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑃 ∥ (𝑥 · 𝑦) → (𝑃 ∥ 𝑥 ∨ 𝑃 ∥ 𝑦))))
157, 14bitrdi 290 1 (𝑅 ∈ 𝑉 → (𝑃 ∈ (RPrime‘𝑅) ↔ (𝑃 ∈ (𝐵 ∖ (𝑈 ∪ { 0 })) ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑃 ∥ (𝑥 · 𝑦) → (𝑃 ∥ 𝑥 ∨ 𝑃 ∥ 𝑦)))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2146  ∀wral 3080  {crab 3416   ∖ cdif 4048   ∪ cun 4152  {csn 4588   class class class wbr 5106  ‘cfv 6547  (class class class)co 7430  Basecbs 17402  .rcmulr 17444  0gc0g 17625  ∥rcdsr 20599  Unitcui 20600  RPrimecrpm 20677
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-iota 6501  df-fun 6549  df-fv 6555  df-ov 7433  df-rprm 20678
This theorem is used by:  rprmcl  34106  rprmdvds  34107  rprmnz  34108  rprmnunit  34109  rsprprmprmidlb  34111  rprmirredb  34120
  Copyright terms: Public domain W3C validator