MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  df-rprm Structured version   Visualization version   GIF version

Definition df-rprm 19731
Description: Define the function associating with a ring its set of prime elements. A prime element is a nonzero non-unit that satisfies an equivalent of Euclid's lemma euclemma 16270. Prime elements are closely related to irreducible elements (see df-irred 19661). (Contributed by Mario Carneiro, 17-Feb-2015.)
Assertion
Ref Expression
df-rprm RPrime = (𝑤 ∈ V ↦ (Base‘𝑤) / 𝑏{𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))})
Distinct variable group:   𝑏,𝑑,𝑝,𝑤,𝑥,𝑦

Detailed syntax breakdown of Definition df-rprm
StepHypRef Expression
1 crpm 19730 . 2 class RPrime
2 vw . . 3 setvar 𝑤
3 cvv 3408 . . 3 class V
4 vb . . . 4 setvar 𝑏
52cv 1542 . . . . 5 class 𝑤
6 cbs 16760 . . . . 5 class Base
75, 6cfv 6380 . . . 4 class (Base‘𝑤)
8 vp . . . . . . . . . . 11 setvar 𝑝
98cv 1542 . . . . . . . . . 10 class 𝑝
10 vx . . . . . . . . . . . 12 setvar 𝑥
1110cv 1542 . . . . . . . . . . 11 class 𝑥
12 vy . . . . . . . . . . . 12 setvar 𝑦
1312cv 1542 . . . . . . . . . . 11 class 𝑦
14 cmulr 16803 . . . . . . . . . . . 12 class .r
155, 14cfv 6380 . . . . . . . . . . 11 class (.r𝑤)
1611, 13, 15co 7213 . . . . . . . . . 10 class (𝑥(.r𝑤)𝑦)
17 vd . . . . . . . . . . 11 setvar 𝑑
1817cv 1542 . . . . . . . . . 10 class 𝑑
199, 16, 18wbr 5053 . . . . . . . . 9 wff 𝑝𝑑(𝑥(.r𝑤)𝑦)
209, 11, 18wbr 5053 . . . . . . . . . 10 wff 𝑝𝑑𝑥
219, 13, 18wbr 5053 . . . . . . . . . 10 wff 𝑝𝑑𝑦
2220, 21wo 847 . . . . . . . . 9 wff (𝑝𝑑𝑥𝑝𝑑𝑦)
2319, 22wi 4 . . . . . . . 8 wff (𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))
24 cdsr 19656 . . . . . . . . 9 class r
255, 24cfv 6380 . . . . . . . 8 class (∥r𝑤)
2623, 17, 25wsbc 3694 . . . . . . 7 wff [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))
274cv 1542 . . . . . . 7 class 𝑏
2826, 12, 27wral 3061 . . . . . 6 wff 𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))
2928, 10, 27wral 3061 . . . . 5 wff 𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))
30 cui 19657 . . . . . . . 8 class Unit
315, 30cfv 6380 . . . . . . 7 class (Unit‘𝑤)
32 c0g 16944 . . . . . . . . 9 class 0g
335, 32cfv 6380 . . . . . . . 8 class (0g𝑤)
3433csn 4541 . . . . . . 7 class {(0g𝑤)}
3531, 34cun 3864 . . . . . 6 class ((Unit‘𝑤) ∪ {(0g𝑤)})
3627, 35cdif 3863 . . . . 5 class (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)}))
3729, 8, 36crab 3065 . . . 4 class {𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))}
384, 7, 37csb 3811 . . 3 class (Base‘𝑤) / 𝑏{𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))}
392, 3, 38cmpt 5135 . 2 class (𝑤 ∈ V ↦ (Base‘𝑤) / 𝑏{𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))})
401, 39wceq 1543 1 wff RPrime = (𝑤 ∈ V ↦ (Base‘𝑤) / 𝑏{𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))})
Colors of variables: wff setvar class
This definition is referenced by:  rprmval  31378
  Copyright terms: Public domain W3C validator