Metamath Proof Explorer


Definition df-srg

Description: Define class of all semirings. A semiring is a set equipped with two everywhere-defined internal operations, whose first one is an additive commutative monoid structure and the second one is a multiplicative monoid structure, and where multiplication is (left- and right-) distributive over addition. Compared to the definition of a ring, this definition also adds that the additive identity is an absorbing element of the multiplicative law, as this cannot be deduced from distributivity alone. Definition of Golan p. 1. Note that our semirings are unital. Such semirings are sometimes called "rigs", being "rings without negatives". (Contributed by Thierry Arnoux, 21-Mar-2018)

Ref Expression
Assertion df-srg SRing=fCMnd|mulGrpfMnd[˙Basef/r]˙[˙+f/p]˙[˙f/t]˙[˙0f/n]˙xryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n

Detailed syntax breakdown

Step Hyp Ref Expression
0 csrg classSRing
1 vf setvarf
2 ccmn classCMnd
3 cmgp classmulGrp
4 1 cv setvarf
5 4 3 cfv classmulGrpf
6 cmnd classMnd
7 5 6 wcel wffmulGrpfMnd
8 cbs classBase
9 4 8 cfv classBasef
10 vr setvarr
11 cplusg class+𝑔
12 4 11 cfv class+f
13 vp setvarp
14 cmulr class𝑟
15 4 14 cfv classf
16 vt setvart
17 c0g class0𝑔
18 4 17 cfv class0f
19 vn setvarn
20 vx setvarx
21 10 cv setvarr
22 vy setvary
23 vz setvarz
24 20 cv setvarx
25 16 cv setvart
26 22 cv setvary
27 13 cv setvarp
28 23 cv setvarz
29 26 28 27 co classypz
30 24 29 25 co classxtypz
31 24 26 25 co classxty
32 24 28 25 co classxtz
33 31 32 27 co classxtypxtz
34 30 33 wceq wffxtypz=xtypxtz
35 24 26 27 co classxpy
36 35 28 25 co classxpytz
37 26 28 25 co classytz
38 32 37 27 co classxtzpytz
39 36 38 wceq wffxpytz=xtzpytz
40 34 39 wa wffxtypz=xtypxtzxpytz=xtzpytz
41 40 23 21 wral wffzrxtypz=xtypxtzxpytz=xtzpytz
42 41 22 21 wral wffyrzrxtypz=xtypxtzxpytz=xtzpytz
43 19 cv setvarn
44 43 24 25 co classntx
45 44 43 wceq wffntx=n
46 24 43 25 co classxtn
47 46 43 wceq wffxtn=n
48 45 47 wa wffntx=nxtn=n
49 42 48 wa wffyrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n
50 49 20 21 wral wffxryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n
51 50 19 18 wsbc wff[˙0f/n]˙xryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n
52 51 16 15 wsbc wff[˙f/t]˙[˙0f/n]˙xryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n
53 52 13 12 wsbc wff[˙+f/p]˙[˙f/t]˙[˙0f/n]˙xryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n
54 53 10 9 wsbc wff[˙Basef/r]˙[˙+f/p]˙[˙f/t]˙[˙0f/n]˙xryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n
55 7 54 wa wffmulGrpfMnd[˙Basef/r]˙[˙+f/p]˙[˙f/t]˙[˙0f/n]˙xryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n
56 55 1 2 crab classfCMnd|mulGrpfMnd[˙Basef/r]˙[˙+f/p]˙[˙f/t]˙[˙0f/n]˙xryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n
57 0 56 wceq wffSRing=fCMnd|mulGrpfMnd[˙Basef/r]˙[˙+f/p]˙[˙f/t]˙[˙0f/n]˙xryrzrxtypz=xtypxtzxpytz=xtzpytzntx=nxtn=n