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 19955
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 16418. Prime elements are closely related to irreducible elements (see df-irred 19885). (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 19954 . 2 class RPrime
2 vw . . 3 setvar 𝑤
3 cvv 3432 . . 3 class V
4 vb . . . 4 setvar 𝑏
52cv 1538 . . . . 5 class 𝑤
6 cbs 16912 . . . . 5 class Base
75, 6cfv 6433 . . . 4 class (Base‘𝑤)
8 vp . . . . . . . . . . 11 setvar 𝑝
98cv 1538 . . . . . . . . . 10 class 𝑝
10 vx . . . . . . . . . . . 12 setvar 𝑥
1110cv 1538 . . . . . . . . . . 11 class 𝑥
12 vy . . . . . . . . . . . 12 setvar 𝑦
1312cv 1538 . . . . . . . . . . 11 class 𝑦
14 cmulr 16963 . . . . . . . . . . . 12 class .r
155, 14cfv 6433 . . . . . . . . . . 11 class (.r𝑤)
1611, 13, 15co 7275 . . . . . . . . . 10 class (𝑥(.r𝑤)𝑦)
17 vd . . . . . . . . . . 11 setvar 𝑑
1817cv 1538 . . . . . . . . . 10 class 𝑑
199, 16, 18wbr 5074 . . . . . . . . 9 wff 𝑝𝑑(𝑥(.r𝑤)𝑦)
209, 11, 18wbr 5074 . . . . . . . . . 10 wff 𝑝𝑑𝑥
219, 13, 18wbr 5074 . . . . . . . . . 10 wff 𝑝𝑑𝑦
2220, 21wo 844 . . . . . . . . 9 wff (𝑝𝑑𝑥𝑝𝑑𝑦)
2319, 22wi 4 . . . . . . . 8 wff (𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))
24 cdsr 19880 . . . . . . . . 9 class r
255, 24cfv 6433 . . . . . . . 8 class (∥r𝑤)
2623, 17, 25wsbc 3716 . . . . . . 7 wff [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))
274cv 1538 . . . . . . 7 class 𝑏
2826, 12, 27wral 3064 . . . . . 6 wff 𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))
2928, 10, 27wral 3064 . . . . 5 wff 𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))
30 cui 19881 . . . . . . . 8 class Unit
315, 30cfv 6433 . . . . . . 7 class (Unit‘𝑤)
32 c0g 17150 . . . . . . . . 9 class 0g
335, 32cfv 6433 . . . . . . . 8 class (0g𝑤)
3433csn 4561 . . . . . . 7 class {(0g𝑤)}
3531, 34cun 3885 . . . . . 6 class ((Unit‘𝑤) ∪ {(0g𝑤)})
3627, 35cdif 3884 . . . . 5 class (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)}))
3729, 8, 36crab 3068 . . . 4 class {𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))}
384, 7, 37csb 3832 . . 3 class (Base‘𝑤) / 𝑏{𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))}
392, 3, 38cmpt 5157 . 2 class (𝑤 ∈ V ↦ (Base‘𝑤) / 𝑏{𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))})
401, 39wceq 1539 1 wff RPrime = (𝑤 ∈ V ↦ (Base‘𝑤) / 𝑏{𝑝 ∈ (𝑏 ∖ ((Unit‘𝑤) ∪ {(0g𝑤)})) ∣ ∀𝑥𝑏𝑦𝑏 [(∥r𝑤) / 𝑑](𝑝𝑑(𝑥(.r𝑤)𝑦) → (𝑝𝑑𝑥𝑝𝑑𝑦))})
Colors of variables: wff setvar class
This definition is referenced by:  rprmval  31664
  Copyright terms: Public domain W3C validator