Metamath Proof Explorer


Definition df-chr

Description: The characteristic of a ring is the smallest positive integer which is equal to 0 when interpreted in the ring, or 0 if there is no such positive integer. (Contributed by Stefan O'Rear, 5-Sep-2015)

Ref Expression
Assertion df-chr chr = g V od g 1 g

Detailed syntax breakdown

Step Hyp Ref Expression
0 cchr class chr
1 vg setvar g
2 cvv class V
3 cod class od
4 1 cv setvar g
5 4 3 cfv class od g
6 cur class 1 r
7 4 6 cfv class 1 g
8 7 5 cfv class od g 1 g
9 1 2 8 cmpt class g V od g 1 g
10 0 9 wceq wff chr = g V od g 1 g